radeonsi/sid: add additional bits for the DRAW_(INDEX)_INDIRECT_MULTI packets
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 8 Aug 2016 13:54:56 +0000 (15:54 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 9 Aug 2016 13:56:03 +0000 (15:56 +0200)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/sid.h

index 0d2ac372dfb2b43cf831062fe39cb6ef50c9a934..9c74a6a8855bf2dd07af7459b80106a6c0ce9d8f 100644 (file)
@@ -93,6 +93,9 @@
 #define     CONTEXT_CONTROL_SHADOW_ENABLE(x)   (((unsigned)(x) & 0x1) << 31)
 #define PKT3_INDEX_TYPE                        0x2A
 #define PKT3_DRAW_INDIRECT_MULTI               0x2C
+#define   R_2C3_DRAW_INDEX_LOC                  0x2C3
+#define     S_2C3_COUNT_INDIRECT_ENABLE(x)      (((unsigned)(x) & 0x1) << 30)
+#define     S_2C3_DRAW_INDEX_ENABLE(x)          (((unsigned)(x) & 0x1) << 31)
 #define PKT3_DRAW_INDEX_AUTO                   0x2D
 #define PKT3_DRAW_INDEX_IMMD                   0x2E /* not on CIK */
 #define PKT3_NUM_INSTANCES                     0x2F