iris: Avoid resolving Z/S reads in transfer_map
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 24 Jun 2020 16:41:16 +0000 (09:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Sep 2020 15:29:57 +0000 (15:29 +0000)
commit5b82d8ce8bc681905a8902902fb89151ca32d6c9
tree2c6736ace2c7a84bd5475afcf038e175cfb41d2d
parent2982d7c63b6c605ca4309925bda35dc13a198a83
iris: Avoid resolving Z/S reads in transfer_map

Resolves are destructive for depth and stencil surfaces, so avoid
resolving them for reads.

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