glsl: use new IR opcodes for TEX instructions with shadow comparison
authorBrian Paul <brianp@vmware.com>
Fri, 20 Feb 2009 20:44:43 +0000 (13:44 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 20 Feb 2009 20:44:43 +0000 (13:44 -0700)
commit0ea95ae7420b4217b5c10c7593eb2e08e971bf72
treeef9c5bf4a9743ebb5dd82d3408b6050635e52f29
parent44e018c09e7aeba9fd9f4c380da224bd6622c470
glsl: use new IR opcodes for TEX instructions with shadow comparison

Such TEX instructions will have the TexShadow flag set.
The gl_program::ShadowSamplers field is now set in the linker.  We missed
that before.
src/mesa/shader/slang/library/slang_common_builtin.gc
src/mesa/shader/slang/library/slang_common_builtin_gc.h
src/mesa/shader/slang/library/slang_fragment_builtin.gc
src/mesa/shader/slang/library/slang_fragment_builtin_gc.h
src/mesa/shader/slang/library/slang_vertex_builtin.gc
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_ir.c
src/mesa/shader/slang/slang_ir.h
src/mesa/shader/slang/slang_link.c