aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-01-02 00:45:56 -0500
committerIlia Mirkin <[email protected]>2016-01-07 18:38:46 -0500
commit7ca67c752bca08a38a7334cace15ce2b8429a318 (patch)
treef32b581b5679d879a6a565d27ceb4be26b1e3b2c /src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
parentd3e43baffe06d8375b63cf8009410391f4900e05 (diff)
nvc0: add support for real ARB_multi_draw_indirect
The draw groups are now split up into groups of 32 if there's a non-packed stride, or in groups of 400-500 if the draw data is packed. Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h b/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
index 4ea8ca3cfa2..79abe78b77a 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
@@ -68,6 +68,7 @@ PUSH_REFN(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t flags)
#define SUBC_SW(m) 7, (m)
#define NVC0_3D_SERIALIZE NV50_GRAPH_SERIALIZE
+#define NVC0_IB_ENTRY_1_NO_PREFETCH (1 << (31 - 8))
static inline uint32_t
NVC0_FIFO_PKHDR_SQ(int subc, int mthd, unsigned size)