glsl: fix an array indexing bug
authorBrian Paul <brianp@vmware.com>
Tue, 17 Feb 2009 23:10:32 +0000 (16:10 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 17 Feb 2009 23:17:13 +0000 (16:17 -0700)
commit6eabfc27f19a10dfc2663e99f9560966ba1ff697
tree0f4f53800922ef9103510a3beb9106711fb5f137
parentedd8cb8c872369b5a1d1abfd221ac12e27169acb
glsl: fix an array indexing bug

This fixes a bug found with swizzled array indexes such as in "array[index.z]"
where "index" is an ivec4.
src/mesa/shader/slang/slang_emit.c