From 7a26a0bf092f7f4f0ee11cd8f59000828f1a527a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 5 Jun 2017 13:25:29 +1000 Subject: [PATCH] r600: document some of the missing shader constants. These are used for fragment shader thread calculations. Reviewed-by: Glenn Kennard --- 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 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 -- 2.30.2