summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_defines.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-04 22:19:33 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:11 -0800
commit5307ff6a5fdb4f76e80da42795f1970f06e4e3b6 (patch)
tree400a0744dff699f73046803eccdbba9318794f89 /src/gallium/drivers/iris/iris_defines.h
parent2e103fff63404916de1b2c4039cbeccb196117df (diff)
iris: Implement DrawTransformFeedback()
We get the count by dividing the offset by the stride.
Diffstat (limited to 'src/gallium/drivers/iris/iris_defines.h')
-rw-r--r--src/gallium/drivers/iris/iris_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_defines.h b/src/gallium/drivers/iris/iris_defines.h
index a006e7a9ae1..d36b6452612 100644
--- a/src/gallium/drivers/iris/iris_defines.h
+++ b/src/gallium/drivers/iris/iris_defines.h
@@ -50,6 +50,8 @@
#define MI_PREDICATE_RESULT_1 0x241C
#define MI_PREDICATE_RESULT_2 0x2214
+#define CS_GPR(n) (0x2600 + (n) * 8)
+
/* The number of bits in our TIMESTAMP queries. */
#define TIMESTAMP_BITS 36