From 81e9c25c1bf64c78882eb686a044ec63e8d1d11b Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Tue, 5 Oct 2021 12:02:23 -0700 Subject: [PATCH] anv: Allow HIZ_CCS_WT with subpass self-dependencies This unblocks later commits that aim to align the driver with the tile cache flushing requirements in the Bspec. Reviewed-by: Felix DeGrood Part-of: --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 99050a1ce34..a2fb47fe315 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -2053,7 +2053,7 @@ anv_layout_to_aux_state(const struct intel_device_info * const devinfo, * * TODO: Should we be disabling this in more cases? */ - if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT) { + if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT && devinfo->ver <= 9) { aux_supported = false; clear_supported = false; }