OSDN Git Service

glsl: Support uint index in lower_vector_insert
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Oct 2015 03:28:28 +0000 (20:28 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 14 Oct 2015 20:16:35 +0000 (13:16 -0700)
commita274eff9ffffaa7726e7e36f59c1051cd0dfa701
treea41335f37c4e563073a505dbb5c064cc8af377a9
parentab04adcf63cb4553c66b703645c2991340b5637d
glsl: Support uint index in lower_vector_insert

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_vector_insert.cpp