mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
iris: leave another TODO
This commit is contained in:
parent
983e2ae7d2
commit
89833eddab
1 changed files with 3 additions and 0 deletions
|
|
@ -215,6 +215,9 @@ add_exec_bo(struct iris_batch *batch, struct iris_bo *bo)
|
|||
* those first.
|
||||
*/
|
||||
for (int b = 0; b < ARRAY_SIZE(batch->other_batches); b++) {
|
||||
// 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?
|
||||
if (iris_batch_references(batch->other_batches[b], bo))
|
||||
iris_batch_flush(batch->other_batches[b]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue