mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radv: stop disabling DCC for mutable with 0 formats on GFX11
On GFX11, all formats are DCC compatible, so we can completely ignore MUTABLE with a missing formats list. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25664>
This commit is contained in:
parent
fbe4e16db2
commit
907afddf97
1 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,8 @@ radv_are_formats_dcc_compatible(const struct radv_physical_device *pdev, const v
|
|||
if (sign_reinterpret != NULL)
|
||||
*sign_reinterpret = false;
|
||||
|
||||
if (flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) {
|
||||
/* All formats are compatible on GFX11. */
|
||||
if ((flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) && pdev->rad_info.gfx_level < GFX11) {
|
||||
const struct VkImageFormatListCreateInfo *format_list =
|
||||
(const struct VkImageFormatListCreateInfo *)vk_find_struct_const(pNext, IMAGE_FORMAT_LIST_CREATE_INFO);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue