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 <brianp@vmware.com>
Tue, 6 Jan 2009 16:14:56 +0000 (09:14 -0700)
commitc2009111cc839ff3ba5df7c3a9170d31f706fa79
tree8d90af8942ea11d491d02f2fd7f5558cd191d1d1
parent2ced2647fb6787170545205eb01afe167c6604ea
mesa: fix some GLSL array regressions

array.length() wasn't working.
Swizzle mask for accessing elements of float arrays was incorrect.

(cherry picked from commit 368df1615ef65afed96a44e1f43ade8cc703696f)
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