iris: Add read-write domain for data cache.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 30 May 2020 00:22:55 +0000 (17:22 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Sep 2021 03:14:37 +0000 (03:14 +0000)
commitcb9f02f86342d1cf1b6a62c23b706d1fc5c9a85f
tree29b6ea0bf98733c02f590fc4b6a87551257a9d4a
parentc677e76483952fc7ccb96141afe271374f85f040
iris: Add read-write domain for data cache.

This will allow us to remove the history flushes performed for SSBOs
and instead take advantage of the same mechanism used for tracking
other memory accesses.

v2: Use C99 designated initializers (Ken).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12691>
src/gallium/drivers/iris/iris_bufmgr.h
src/gallium/drivers/iris/iris_pipe_control.c
src/gallium/drivers/iris/iris_state.c