glsl: fix vec4_texp_rect IR code (need projective version)
authorBrian Paul <brianp@vmware.com>
Fri, 20 Feb 2009 18:42:28 +0000 (11:42 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 20 Feb 2009 18:42:28 +0000 (11:42 -0700)
src/mesa/shader/slang/slang_codegen.c

index cfdb868..ac70632 100644 (file)
@@ -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] */