iris: Invalidate state/texture/constant caches after STATE_BASE_ADDRESS
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 3 Sep 2019 22:34:54 +0000 (15:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Sep 2019 17:57:55 +0000 (10:57 -0700)
commit68be5ff8d0ee30bffef1af631ffe9070ab63f832
tree98e11b8fba786931f2df686181725fab4bd36d04
parent30ab3e39fd4d9cceb8a1a7d06dc3d99b0f477a72
iris: Invalidate state/texture/constant caches after STATE_BASE_ADDRESS

Jason pointed out that the caches likely refer to offsets from dynamic
and surface state base addresses, so when we change those, we need to
invalidate the caches.

Comment borrowed from src/intel/vulkan/genX_cmd_buffer.c.
src/gallium/drivers/iris/iris_state.c