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 <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33565>
This commit is contained in:
Sagar Ghuge 2025-02-15 20:09:15 -08:00 committed by Marge Bot
parent 91075d823d
commit 536ef0b546

View file

@ -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)