4aa3b2d3ad
Newer hardware is smart enough to know that if something writes to a NULL tile and immediately reads back the value (from the cache), the value should read back as zero, not whatever was written to the cache but not the memory. Due to that, we don't need to flush the tile cache, which is quite expensive. Link: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11029 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29953>