iris: Emit flushes for push constant source buffers
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Mar 2022 11:47:06 +0000 (03:47 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Apr 2022 09:07:35 +0000 (09:07 +0000)
commit1c8b4940ebf795a2c41b901ef722a6182bc94eda
tree444c7b1fa7eca5aa75a443f555450b964be4e888
parentbbd5714a7e18225a65de866ed8083c8d9c77e710
iris: Emit flushes for push constant source buffers

Push constant loading is not coherent with L3 according to the document
that describes the hardware change for the vertex buffer L3 Bypass
Disable field.

If we've updated a push constant buffer with say, a blorp_buffer_copy,
we may need to flush both the render cache and the tile cache.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15275>
src/gallium/drivers/iris/iris_state.c