[Mesa-dev] [PATCH 3/3] r600: document some of the missing shader constants.
Dave Airlie
airlied at gmail.com
Mon Jun 5 03:26:29 UTC 2017
From: Dave Airlie <airlied at redhat.com>
These are used for fragment shader thread calculations.
---
src/gallium/drivers/r600/r600_sq.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/r600/r600_sq.h b/src/gallium/drivers/r600/r600_sq.h
index 3526668..aa38381 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
--
2.9.3
More information about the mesa-dev
mailing list