summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_sq.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-06-05 13:25:29 +1000
committerDave Airlie <[email protected]>2017-06-06 06:09:41 +1000
commit7a26a0bf092f7f4f0ee11cd8f59000828f1a527a (patch)
treed2f5a46c202cc2d5d5c04fb86c13675ac504f1a9 /src/gallium/drivers/r600/r600_sq.h
parent95c1e57a18d5b98503b6abee997100c12d6b5b22 (diff)
r600: document some of the missing shader constants.
These are used for fragment shader thread calculations. Reviewed-by: Glenn Kennard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_sq.h')
-rw-r--r--src/gallium/drivers/r600/r600_sq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_sq.h b/src/gallium/drivers/r600/r600_sq.h
index 3526668c4b6..aa38381328c 100644
--- a/src/gallium/drivers/r600/r600_sq.h
+++ b/src/gallium/drivers/r600/r600_sq.h
@@ -197,6 +197,10 @@
#define EG_V_SQ_ALU_SRC_LDS_DIRECT_A 0x000000DF
#define EG_V_SQ_ALU_SRC_LDS_DIRECT_B 0x000000E0
+#define EG_V_SQ_ALU_SRC_HW_WAVE_ID 0x000000E7
+#define EG_V_SQ_ALU_SRC_SIMD_ID 0x000000E8
+#define EG_V_SQ_ALU_SRC_SE_ID 0x000000E9
+
#define V_SQ_ALU_SRC_0 0x000000F8
#define V_SQ_ALU_SRC_1 0x000000F9
#define V_SQ_ALU_SRC_1_INT 0x000000FA