mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
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>
(cherry picked from commit 2a77a46837)
This commit is contained in:
parent
57d1d40413
commit
2832e9fe77
2 changed files with 5 additions and 1 deletions
|
|
@ -464,7 +464,7 @@
|
|||
"description": "anv: return unsupported for FSR images on Gfx12.0",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue