mesa: added support for GLSL 1.20 array.length() method
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Nov 2008 00:18:56 +0000 (17:18 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jan 2009 16:00:35 +0000 (09:00 -0700)
commit06f2139b8285d9f8a3a33b633d14dde48e0112fe
tree005503af8bf8a3116a3ba5bb13ccaa9f1656de21
parentd450ede4c41915f9e07d9881236d3ad0c435a19f
mesa: added support for GLSL 1.20 array.length() method

This is the only method supported in GLSL 1.20 so we take a few short-cuts.

(cherry picked from commit 8d95e66cf78921cd067c4bcf6a1053a7ec3a2ed4)
src/mesa/shader/slang/library/slang_shader.syn
src/mesa/shader/slang/library/slang_shader_syn.h
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_compile_operation.h
src/mesa/shader/slang/slang_print.c
src/mesa/shader/slang/slang_typeinfo.c