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 <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11539>
This commit is contained in:
Nanley Chery
2021-10-05 12:02:23 -07:00
committed by Marge Bot
parent 4218596671
commit 81e9c25c1b

View File

@@ -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;
}