radv: allow VK_FORMAT_S8_UINT with host image copy

Depth/stencil formats still need to be properly implemented.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37748>
This commit is contained in:
Samuel Pitoiset
2025-10-07 21:42:43 +02:00
committed by Marge Bot
parent ef900e93fc
commit 183ed8046c
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -11,7 +11,6 @@ dEQP-VK.api.copy_and_blit.dedicated_allocation.resolve_image.whole_copy_before_r
# RADV_PERFTEST=hic failures
dEQP-VK.image.host_image_copy.identical_memory_layout.optimal.b8g8r8a8_sint,Fail
dEQP-VK.image.host_image_copy.identical_memory_layout.optimal.r16_sfloat,Fail
dEQP-VK.image.host_image_copy.identical_memory_layout.optimal.r16_unorm,Fail
dEQP-VK.image.host_image_copy.identical_memory_layout.optimal.r16g16_uint,Fail
dEQP-VK.image.host_image_copy.identical_memory_layout.optimal.r8g8b8a8_unorm,Fail
+3 -2
View File
@@ -483,8 +483,9 @@ radv_physical_device_get_format_properties(struct radv_physical_device *pdev, Vk
buffer = 0;
}
/* No depth/stencil support yet due to VKCTS issues. */
if (radv_host_image_copy_enabled(pdev) && !vk_format_is_depth_or_stencil(format)) {
/* No depth and stencil support yet. */
if (radv_host_image_copy_enabled(pdev) &&
(format != VK_FORMAT_D32_SFLOAT_S8_UINT && format != VK_FORMAT_D16_UNORM_S8_UINT)) {
if (linear & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT)
linear |= VK_FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BIT_EXT;