summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_opcodes.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-09-15 12:38:10 +0100
committerDave Airlie <[email protected]>2011-09-16 09:25:48 +0100
commit21c5607e64ca4ef68730d8e846d8e7744ecdd024 (patch)
treee73d01045a1cad7f34546c7de227aa7e6425c3a6 /src/gallium/drivers/r600/r600_opcodes.h
parentde3218664a03ee116ca58db571f90a6914299a81 (diff)
r600g: add flat non-interpolation support.
TGSI CONSTANT interpolation is just flat, and we just read the values direct from the LDS into the GPR without doing any interpolation on them. This is needed to pass integer types into the fragment shader. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_opcodes.h')
-rw-r--r--src/gallium/drivers/r600/r600_opcodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_opcodes.h b/src/gallium/drivers/r600/r600_opcodes.h
index 7ae091ea5cd..024b3a7808d 100644
--- a/src/gallium/drivers/r600/r600_opcodes.h
+++ b/src/gallium/drivers/r600/r600_opcodes.h
@@ -364,7 +364,7 @@
#define EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_ZW 0x000000D7
#define EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_X 0x000000D8
#define EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_Z 0x000000D9
-
+#define EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_LOAD_P0 0x000000E0
/* TODO ADD OTHER OP3 */
#define EG_V_SQ_ALU_WORD1_OP3_SQ_OP3_INST_MULADD 0x00000014