radv: allow STORAGE for depth formats
Pass all new VKCTS test coverage for D16/D32. Tested on PITCAIRN, POLARIS10, VEGA10 and NAVI21. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29239>
This commit is contained in:
committed by
Marge Bot
parent
f9af8e7a2b
commit
c1373239f2
@@ -113,7 +113,7 @@ radv_is_storage_image_format_supported(const struct radv_physical_device *pdev,
|
||||
if (format == VK_FORMAT_UNDEFINED)
|
||||
return false;
|
||||
|
||||
if (vk_format_is_depth_or_stencil(format))
|
||||
if (vk_format_has_stencil(format))
|
||||
return false;
|
||||
|
||||
data_format = radv_translate_tex_dataformat(pdev, desc, vk_format_get_first_non_void_channel(format));
|
||||
|
||||
Reference in New Issue
Block a user