i965/compute: Fix uniform init issue when SIMD8 is skipped
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 18 May 2016 19:04:03 +0000 (12:04 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 27 May 2016 23:44:00 +0000 (16:44 -0700)
commit47e2a57fe955c04763c979ff4ca61c6867fa05bb
tree6dd03ad01bc043cfde23d082117fb9ce9da515ab
parent65d4ba6f20a70eb741318ef0c712c834adc233e1
i965/compute: Fix uniform init issue when SIMD8 is skipped

In d8347f12ead89c5a58f69ce9283a54ac8487159c, we added support for
skipping SIMD8 generation when the program local size is too large for
SIMD8 to be usable. This change was missed in that commit.

This bug would impact gen7 platforms when the compute shader local
size is greater than 512, and gen8 platforms when the local size is
greater than 448.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp