nvfx: fix TXL opcode value
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 22 Mar 2010 04:43:56 +0000 (05:43 +0100)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 18:48:52 +0000 (20:48 +0200)
Was broken during unification

src/gallium/drivers/nvfx/nvfx_shader.h

index 0b2f044f7fe12b42cd516247bd5a3ddd7d9d0c7c..50830b39164d796d33df9f9b9a966ed14f9c7a89 100644 (file)
 #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