Skip to content

zink: remove variable length arrays in ntv

He Haocheng requested to merge hch12907/mesa:zink-vs2019 into main

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.

Merge request reports