nir/spirv_to_nir: Use a minimum of 1 for GS invocations
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Dec 2015 02:12:57 +0000 (18:12 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Dec 2015 02:23:14 +0000 (18:23 -0800)
commita3c5c339a8dcda213f8e3f6a56b44080b4c4eda7
treee4b66ef599ccdc1d251e5a9abc51389cf1dcf64c
parentf46544dea13b7c16ce2805d947d205477ac1d465
nir/spirv_to_nir: Use a minimum of 1 for GS invocations

glslang is giving us 0, which causes the SIMD8 GS compile to hit an
assert.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/nir/spirv_to_nir.c