spirv: Fix array length of buffers larger than INT32_MAX.
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 9 Feb 2021 19:18:48 +0000 (11:18 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Jul 2022 17:54:28 +0000 (17:54 +0000)
commit430d1a20eb1e49772539068e04baa071471a7bc5
treec2dc3e002eb9f5aa8eb29d0cab61f48afe1333a9
parent254076f3fccc20ae48769508325988795512266b
spirv: Fix array length of buffers larger than INT32_MAX.

Like 90a8fb03556e.

fossil-db results:

All Skylake and newer Intel platforms had similar results. (Ice Lake shown)
Instructions in all programs: 141442369 -> 141442363 (-0.0%)
Instructions helped: 1

Cycles in all programs: 9099270231 -> 9099270187 (-0.0%)
Cycles helped: 1

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17637>
src/compiler/spirv/vtn_variables.c