From fa105214d33c7166ffafd709af3f4d6012e2bc5a Mon Sep 17 00:00:00 2001 From: Glenn Kennard Date: Sun, 5 Mar 2017 18:26:48 +0100 Subject: [PATCH] r600g: Add defines for per-shader engine settings Acked-by: Dave Airlie Signed-off-by: Glenn Kennard --- src/gallium/drivers/r600/r600d.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 9155076..0d04708 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -3777,6 +3777,12 @@ #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) -- 2.7.4