anv: fix format compatibility check typo
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

the view format is above this

Fixes: 03cdb3078a ("anv: Support multi-planar formats in anv_formats_are_compatible")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36224>
This commit is contained in:
Mike Blumenkrantz 2025-07-23 10:37:29 -04:00 committed by Marge Bot
parent 658f3db465
commit 8a4ef5977e
2 changed files with 1 additions and 4 deletions

View file

@ -694,6 +694,3 @@ glx@glx_arb_sync_control@swapbuffersmsc-return swap_interval 1,Fail
# New failures with GL CTS 4.6.6.0 & ES CTS 3.2.12.0
KHR-GLES31.core.texture_stencil8.multisample,Crash
# Validation error VUID-StandaloneSpirv-None-10684
KHR-GL46.buffer_storage.map_persistent_texture,Crash

View file

@ -1313,7 +1313,7 @@ anv_formats_are_compatible(
isl_format_get_layout(img_view_isl_fmt0);
const enum isl_format img_isl_fmt0 =
anv_get_format_plane(physical_device,
img_view_fmt->vk_format, 0, tiling).isl_format;
img_fmt->vk_format, 0, tiling).isl_format;
const struct isl_format_layout *img_fmt0_layout =
isl_format_get_layout(img_isl_fmt0);