mesa: fix a GLSL array indexing codegen bug
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 5 Nov 2008 21:03:15 +0000 (14:03 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 5 Nov 2008 21:03:15 +0000 (14:03 -0700)
commit0331c1c1697f32595fd325fcedf0b0703405560b
tree1cb4e538548af1be3c5a22545d86ce9901d9f55d
parentf0debbb0bb951bfc6dc0ae467564b3b1230324cf
mesa: fix a GLSL array indexing codegen bug

Expressions like array[i] + array[j] didn't work properly before.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c