From: Glenn Kennard Date: Sun, 5 Mar 2017 17:26:48 +0000 (+0100) Subject: r600g: Add defines for per-shader engine settings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa105214d33c7166ffafd709af3f4d6012e2bc5a;p=mesa.git r600g: Add defines for per-shader engine settings Acked-by: Dave Airlie Signed-off-by: Glenn Kennard --- diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 9155076a790..0d04708043e 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)