projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e912899
)
iris: fix assert
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 22 Jan 2018 04:10:43 +0000
(20:10 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_batch.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_batch.c
b/src/gallium/drivers/iris/iris_batch.c
index d99526d8304ac8d101caf4331631ab2704862ce6..41a95a9e37e2c94a35ec15668fcef5a4cbbb8927 100644
(file)
--- a/
src/gallium/drivers/iris/iris_batch.c
+++ b/
src/gallium/drivers/iris/iris_batch.c
@@
-690,7
+690,7
@@
iris_alloc_state(struct iris_batch *batch,
int size, int alignment,
uint32_t *out_offset)
{
- assert(size < batch->
cmd
buf.bo->size);
+ assert(size < batch->
state
buf.bo->size);
const unsigned existing_bytes = buffer_bytes_used(&batch->statebuf);
unsigned aligned_size =