zink: remove variable length arrays in ntv
Some of the VLAs are fairly trivial to be converted into a constant-length array, but I am not sure whether the following VLAs have a maximum length:
-
types
in get_glsl_type() -
constituents
in emit_load_bo(), emit_load_shared(), emit_load_push_const()
For those arrays, they are now allocated on the heap.