aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-03-22 05:43:56 +0100
committerLuca Barbieri <[email protected]>2010-04-12 20:48:52 +0200
commit31268d21074970077d2fd4a8a6ad4c39dd863db7 (patch)
tree553211e6b7c734f2029044a193f4983dfb5c6a56
parent7fc7b759950e8c7482a3dbbf25d6604960c25092 (diff)
nvfx: fix TXL opcode value
Was broken during unification
-rw-r--r--src/gallium/drivers/nvfx/nvfx_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_shader.h b/src/gallium/drivers/nvfx/nvfx_shader.h
index 0b2f044f7fe..50830b39164 100644
--- a/src/gallium/drivers/nvfx/nvfx_shader.h
+++ b/src/gallium/drivers/nvfx/nvfx_shader.h
@@ -209,7 +209,7 @@
#define NVFX_FP_OP_OPCODE_RFL_NV30 0x36
/* NV40 only fragment program opcodes */
-#define NVFX_FP_OP_OPCODE_TXL_NV40 0x31
+#define NVFX_FP_OP_OPCODE_TXL_NV40 0x2F
/* The use of these instructions appears to be indicated by bit 31 of DWORD 2.*/
#define NV40_FP_OP_BRA_OPCODE_BRK 0x0
#define NV40_FP_OP_BRA_OPCODE_CAL 0x1