From 119e00ed45a3592d51f4ceed37b7ce10f31b6410 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 20 Apr 2022 17:45:36 +0200 Subject: [PATCH] vkd3d: Do not add uint format to image format list. Fixes #1069. Signed-off-by: Philip Rebohle --- libs/vkd3d/resource.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 6003ed80..0df08a23 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -224,12 +224,6 @@ static bool vkd3d_get_format_compatibility_list(const struct d3d12_device *devic if (desc->Flags & D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS) { - const struct vkd3d_format *uint_format = vkd3d_get_format(device, list.uint_format, false); - - /* Format used for ClearUnorderedAccessViewUint */ - if (uint_format) - vkd3d_format_compatibility_list_add_format(&list, uint_format->vk_format); - /* Legacy D3D11 compatibility rule that allows typed UAV loads on FL11.0 hardware */ if (format->byte_count == 4 && format->type == VKD3D_FORMAT_TYPE_TYPELESS) {