iris: Demote all callers of iris_flush_and_dirty_for_history() to iris_dirty_for_hist...
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 30 Apr 2020 22:11:19 +0000 (15:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Apr 2022 17:32:31 +0000 (10:32 -0700)
commitbbb103be0e04ed98ac9810d98e7208db47a763b5
treec5be219f89beb18c89d7da2c76fff48d37d9fef5
parentbbe15d99e2389ff708fca4803ab24ee26200f678
iris: Demote all callers of iris_flush_and_dirty_for_history() to iris_dirty_for_history().

The unconditional flushing performed by
iris_flush_and_dirty_for_history() is now redundant with the memory
barriers introduced previously in this series, which should be in a
better position to determine from which domain the buffer will
actually be used in the future, and whether an additional flush or
invalidation is required or redundant with other PIPE_CONTROL commands
emitted elsewhere.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15738>
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_resource.h