From 691ac65000f1dc74253e529ea1aeaee7e2aa9ae0 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 19 Jun 2025 11:56:20 +0300 Subject: [PATCH] isl: handle DISABLE_AUX in get_mcs_surf Signed-off-by: Lionel Landwerlin Cc: mesa-stable Reviewed-by: Nanley Chery Part-of: --- src/intel/isl/isl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 8bd75a4dea0..234e2fe7c9c 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -3679,6 +3679,9 @@ isl_surf_get_mcs_surf(const struct isl_device *dev, const struct isl_surf *surf, struct isl_surf *mcs_surf) { + if (surf->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT) + return false; + /* It must be multisampled with an array layout */ if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY) return false;