spirv: Use vtn_constan_uint() for array lengths and gather components
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 6 Jun 2019 14:49:55 +0000 (09:49 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 21:05:54 +0000 (21:05 +0000)
commit280e5442e5d98a4967a35a5c1cadf5a1f786af6a
tree724717377960fe4687168672c8de2e2c701739e0
parentaa11c2e75e191f8201fe5462ef8c14e81dde964e
spirv: Use vtn_constan_uint() for array lengths and gather components

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/spirv/spirv_to_nir.c