iris: Cross-link iris_batches so they can potentially flush each other
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 7 Nov 2018 05:12:30 +0000 (21:12 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commitc3cc525c7a837241b2833a1f5a4da2eb1dd74808
treeebb8b0717d7c77bd01bb849116d975fbad9896f2
parented016b2a0b77a3fa36735c693108cadba07d8917
iris: Cross-link iris_batches so they can potentially flush each other

This makes e.g. the render batch aware of the compute batch, so it can
ask questions like "is this BO referenced by some other batch?" and do
something about that.
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_state.c