iris: Keep aux_usage in iris_blorp_surf_for_resource
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 14 Dec 2020 19:10:02 +0000 (11:10 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Feb 2021 20:48:01 +0000 (20:48 +0000)
commit71704794750578cd90b4ba4ed7aaf66eb1744424
treeef06fe190ac7cd5acbee3558ca41b2ff3ea782a6
parent0e03fe19e576ddc8196ceb0992818f501b3a6eb7
iris: Keep aux_usage in iris_blorp_surf_for_resource

Avoid the surprising behavior of overriding the aux usage for depth
resources.

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