iris: actually APPEND commands, not stomp over the top and never incr
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 22 Jan 2018 01:43:49 +0000 (17:43 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_batch.c

index 3edf593da66b16e6f0758c6d4fbb63d78987b779..d99526d8304ac8d101caf4331631ab2704862ce6 100644 (file)
@@ -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;
 }
 
 /**