panvk: Allow ZS formats on 1D/3D images

There's no real blocker here, so let's just allow it.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29451>
This commit is contained in:
Boris Brezillon 2024-05-30 17:16:03 +02:00 committed by Marge Bot
parent 213e895da0
commit 4ecfc45cd0
2 changed files with 4 additions and 4 deletions

View file

@ -2608,3 +2608,7 @@ dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.multiple_groups,Crash
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.multiple_groups_multiple_invocations,Crash
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.single_invocation,Crash
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.small_offset,Crash
# Filtering of 3D depth-stencil textures fails unless we set SAMPLER:round_to_nearest_even=false
dEQP-VK.texture.filtering.3d.formats.d24_unorm_s8_uint_stencil.d24_unorm_s8_uint_stencil_nearest,Fail
dEQP-VK.texture.filtering.3d.formats.d32_sfloat_s8_uint_stencil.d32_sfloat_s8_uint_stencil_nearest,Fail

View file

@ -1090,10 +1090,6 @@ get_image_format_properties(struct panvk_physical_device *physical_device,
if (format_feature_flags == 0)
goto unsupported;
if (info->type != VK_IMAGE_TYPE_2D &&
util_format_is_depth_or_stencil(format))
goto unsupported;
switch (info->type) {
default:
unreachable("bad vkimage type");