mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
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:
parent
213e895da0
commit
4ecfc45cd0
2 changed files with 4 additions and 4 deletions
|
|
@ -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.multiple_groups_multiple_invocations,Crash
|
||||||
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.single_invocation,Crash
|
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.single_invocation,Crash
|
||||||
dEQP-VK.compute.pipeline.indirect_dispatch.upload_buffer.small_offset,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
|
||||||
|
|
|
||||||
|
|
@ -1090,10 +1090,6 @@ get_image_format_properties(struct panvk_physical_device *physical_device,
|
||||||
if (format_feature_flags == 0)
|
if (format_feature_flags == 0)
|
||||||
goto unsupported;
|
goto unsupported;
|
||||||
|
|
||||||
if (info->type != VK_IMAGE_TYPE_2D &&
|
|
||||||
util_format_is_depth_or_stencil(format))
|
|
||||||
goto unsupported;
|
|
||||||
|
|
||||||
switch (info->type) {
|
switch (info->type) {
|
||||||
default:
|
default:
|
||||||
unreachable("bad vkimage type");
|
unreachable("bad vkimage type");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue