anv: return unsupported for FSR images on Gfx12.0

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28131>
This commit is contained in:
Lionel Landwerlin
2024-03-12 18:36:14 +02:00
parent e324fbbe68
commit 2a77a46837
+4
View File
@@ -1464,6 +1464,10 @@ anv_get_image_format_properties(
}
}
if ((info->usage & VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR) &&
!devinfo->has_coarse_pixel_primitive_and_cb)
goto unsupported;
/* From the bspec section entitled "Surface Layout and Tiling",
* Gfx9 has a 256 GB limitation and Gfx11+ has a 16 TB limitation.
*/