summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-20 11:42:28 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-03-13 17:38:40 -0700
commitac2216542d4887641b47bb3bd05470b94576cd07 (patch)
tree5a7fd07f1c7d53bf385d92966592c53ff0f59273
parent37e5c057f18ec1796e995c7f7616cb68e289694e (diff)
glsl: fix vec4_texp_rect IR code (need projective version) (cherry picked from commit ad2cfa41992d0676881440596c43ab6021c1b025)
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index cfdb868d6c..ac706325b8 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -527,7 +527,7 @@ static slang_asm_info AsmInfo[] = {
{ "vec4_texp3d", IR_TEXP, 1, 2 }, /* 3d w/ projection */
{ "vec4_texcube", IR_TEX, 1, 2 }, /* cubemap */
{ "vec4_tex_rect", IR_TEX, 1, 2 }, /* rectangle */
- { "vec4_texp_rect", IR_TEX, 1, 2 },/* rectangle w/ projection */
+ { "vec4_texp_rect", IR_TEXP, 1, 2 },/* rectangle w/ projection */
/* unary op */
{ "ivec4_to_vec4", IR_I_TO_F, 1, 1 }, /* int[4] to float[4] */