From 082911409e9c1f41a51c05a3dd4aa3fd89b63316 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 21 Jan 2018 17:43:49 -0800 Subject: [PATCH] iris: actually APPEND commands, not stomp over the top and never incr --- src/gallium/drivers/iris/iris_batch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 3edf593da66..d99526d8304 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -421,6 +421,7 @@ iris_batch_emit(struct iris_batch *batch, const void *data, unsigned size) { iris_require_command_space(batch, size); memcpy(batch->cmdbuf.map_next, data, size); + batch->cmdbuf.map_next += size; } /** -- 2.30.2