summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a3xx/fd3_query.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-10-22 00:42:04 -0400
committerIlia Mirkin <[email protected]>2015-02-19 00:25:03 -0500
commit2c6e3d822ba6f03fe208da3c6228d796895b3008 (patch)
tree99dd684ea38f62dc0e8c28ab41fa8d8b30acd1cd /src/gallium/drivers/freedreno/a3xx/fd3_query.c
parente4ddfeea65725a44446f4febe8718d7e378f50fe (diff)
freedreno: pass number of instances to draw
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/fd3_query.c')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_query.c b/src/gallium/drivers/freedreno/a3xx/fd3_query.c
index cf70ae3bd3c..7abab543427 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_query.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_query.c
@@ -65,7 +65,7 @@ occlusion_get_sample(struct fd_context *ctx, struct fd_ringbuffer *ring)
OUT_PKT3(ring, CP_DRAW_INDX, 3);
OUT_RING(ring, 0x00000000);
OUT_RING(ring, DRAW(DI_PT_POINTLIST_A2XX, DI_SRC_SEL_AUTO_INDEX,
- INDEX_SIZE_IGN, USE_VISIBILITY));
+ INDEX_SIZE_IGN, USE_VISIBILITY, 0));
OUT_RING(ring, 0); /* NumIndices */
fd_event_write(ctx, ring, ZPASS_DONE);