From 536ef0b5460812422f715aa8780d8a1461520be9 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Sat, 15 Feb 2025 20:09:15 -0800 Subject: [PATCH] anv: Exclude non-standard block shapes on Xe2+ Xe2 and Xe3 are using the same TILE64 format. So reject the non-standard MSAA shapes on Xe3 as well. Signed-off-by: Sagar Ghuge Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_sparse.c b/src/intel/vulkan/anv_sparse.c index ac1d58a8f1c..251f5979b9a 100644 --- a/src/intel/vulkan/anv_sparse.c +++ b/src/intel/vulkan/anv_sparse.c @@ -1611,7 +1611,7 @@ anv_sparse_image_check_support(struct anv_physical_device *pdevice, /* ISL_TILING_64_XE2_BIT's block shapes are not always Vulkan's standard * block shapes, so exclude what's non-standard. */ - if (pdevice->info.ver == 20) { + if (pdevice->info.ver >= 20) { switch (samples) { case VK_SAMPLE_COUNT_2_BIT: if (isl_layout->bpb == 128)