r600: document some of the missing shader constants.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 03:25:29 +0000 (13:25 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 20:09:41 +0000 (06:09 +1000)
These are used for fragment shader thread calculations.

Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
src/gallium/drivers/r600/r600_sq.h

index 3526668c4b65429aff3612183bb47f42eaba8cb7..aa38381328c1d3173107de6bc2ed4756cd60ac40 100644 (file)
 #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