glsl: Support uint index in do_vec_index_to_cond_assign
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Oct 2015 03:22:14 +0000 (20:22 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 14 Oct 2015 20:16:34 +0000 (13:16 -0700)
commitab04adcf63cb4553c66b703645c2991340b5637d
treeb212e9119eeb1c3cf86fee0f4c787a87b5023a35
parent0d1eef536bc744f5c4dcdf854ad6adfdfe4f4dcb
glsl: Support uint index in do_vec_index_to_cond_assign

The ES31-CTS.compute_shader.pipeline-compute-chain test case generates
an unsigned index by using gl_LocalInvocationID.x and
gl_LocalInvocationID.y as array indices.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/lower_vec_index_to_cond_assign.cpp