r600g: Add defines for per-shader engine settings
authorGlenn Kennard <glenn.kennard@gmail.com>
Sun, 5 Mar 2017 17:26:48 +0000 (18:26 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 12 May 2017 02:20:04 +0000 (12:20 +1000)
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Glenn Kennard <glenn.kennard@gmail.com>
src/gallium/drivers/r600/r600d.h

index 9155076..0d04708 100644 (file)
 #define SQ_TEX_INST_SAMPLE_C_G_LB      0x1E
 #define SQ_TEX_INST_SAMPLE_C_G_LZ      0x1F
 
+#define EG_0802C_GRBM_GFX_INDEX                                0x802C
+#define   S_0802C_INSTANCE_INDEX(x)                                      (((x) & 0xffff) << 0)
+#define   S_0802C_SE_INDEX(x)                                            (((x) & 0x3fff) << 16)
+#define   S_0802C_INSTANCE_BROADCAST_WRITES(x)           (((x) & 0x1) << 30)
+#define   S_0802C_SE_BROADCAST_WRITES(x)                         (((x) & 0x1) << 31)
+
 #define CM_R_028AA8_IA_MULTI_VGT_PARAM                0x028AA8
 #define   S_028AA8_PRIMGROUP_SIZE(x)                   (((unsigned)(x) & 0xFFFF) << 0)
 #define   G_028AA8_PRIMGROUP_SIZE(x)                   (((x) >> 0) & 0xFFFF)