summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorGlenn Kennard <[email protected]>2017-03-05 18:26:48 +0100
committerDave Airlie <[email protected]>2017-05-12 12:20:04 +1000
commitfa105214d33c7166ffafd709af3f4d6012e2bc5a (patch)
tree6dce8d2b076340ba4b2256e65207b6d4add11665 /src/gallium/drivers
parent123ae18f295a24991c82899d4f8920ac57a31aef (diff)
r600g: Add defines for per-shader engine settings
Acked-by: Dave Airlie <[email protected]> Signed-off-by: Glenn Kennard <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600d.h6
1 files changed, 6 insertions, 0 deletions
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)