projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5207a5f
)
iris: more TODO
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 10 Nov 2018 19:41:22 +0000
(11:41 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +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 1d3a787d3652ecbc665bceb30d06ceb553f52dd9..bf5300c80fecb984a201ee639b6ccfc22f3787de 100644
(file)
--- a/
src/gallium/drivers/iris/iris_batch.c
+++ b/
src/gallium/drivers/iris/iris_batch.c
@@
-218,6
+218,9
@@
add_exec_bo(struct iris_batch *batch, struct iris_bo *bo)
// XXX: this is bad, we use the same state / instruction buffers for
// both batches, and if both of them are reading some dynamic state,
// we flush all the time. check for writes vs. reads?
+ //
+ // XXX: need to combine add_exec_bo and iris_use_pinned_bo so that
+ // we know whether we're writing the buffer or not.
if (iris_batch_references(batch->other_batches[b], bo))
iris_batch_flush(batch->other_batches[b]);
}