microsoft/compiler: Handle unbounded arrays
authorJesse Natalie <jenatali@microsoft.com>
Sat, 17 Apr 2021 03:55:45 +0000 (20:55 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 27 Apr 2021 23:13:19 +0000 (23:13 +0000)
commit29ad039d131cf5914d8c7611ae01c65c8c3b7311
treefa8fe693cb29ce2c22e12209ffcbafd6713b16db
parent611934c556ad0a63324a269ef63fff8e6296ebe3
microsoft/compiler: Handle unbounded arrays

Note that it's no longer sufficient to check for >=1 sampler/image
in a potential array, because unbounded arrays have 0 of them.

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10298>
src/microsoft/compiler/nir_to_dxil.c