iris: Flush the render cache in flush_and_dirty_for_history
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 23 Dec 2018 05:24:02 +0000 (21:24 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
commitbacc722d1376e95003da9904be9afc979b2be332
treeffaf8129ee8d54ce93e30a1d9ee93a3bcd2133a0
parent7a9e87c224cfe0854258ef293b017f3685626868
iris: Flush the render cache in flush_and_dirty_for_history

BLORP uses the render engine to write to buffers, and we need to flush
that data out to the actual surface (finishing the write).  Then, the
rest of this function invalidates any caches that might have stale data
which needs to be refetched.
src/gallium/drivers/iris/iris_resource.c