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 23:02:16 +0000 (16:02 -0700)
commit50beb4e6fd2e06d6007c69899111f6a22319a4d8
tree418482cbd0a1ad8d9bd27925b4725466f025d56c
parentdea4826b8481d7328e52dbaa2eb43fd861d73e79
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