mesa: fix some GLSL array regressions
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 16 Dec 2008 21:29:52 +0000 (14:29 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 16 Dec 2008 21:29:52 +0000 (14:29 -0700)
commit368df1615ef65afed96a44e1f43ade8cc703696f
treec45fe7f9e6d6d59ef1669e573955f19c2c97a220
parent702b5b076b7591560e7e701e0c9ff2eeb30fa966
mesa: fix some GLSL array regressions

array.length() wasn't working.
Swizzle mask for accessing elements of float arrays was incorrect.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_emit.h