iris: Perform compute predraw flushes from compute batch.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 6 Feb 2020 02:27:46 +0000 (18:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 23:12:22 +0000 (23:12 +0000)
commit6b980725110dca19fc8a3ea365a74d21f032baa1
tree486966f7bce4f9e8d896c4172399aaa100bb0787
parent8e8198f34968e6911c2bfdf6b58c505a23cfbc9e
iris: Perform compute predraw flushes from compute batch.

Whenever iris_predraw_resolve_inputs() ends up doing a flush or
invalidate, we really want it to be on the same batch which is going
to consume the result.  Any resolves should still be performed from
the render batch thanks to the previous patch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3875>
src/gallium/drivers/iris/iris_draw.c