From: Henri Verbeet hverbeet@codeweavers.com
--- libs/vkd3d/device.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index 2d7051f3a..2be5e1036 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -2930,7 +2930,11 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device5 if (image_features & VK_FORMAT_FEATURE_BLIT_SRC_BIT) data->Support1 |= D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RESOLVE; if (image_features & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) + { data->Support1 |= D3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW; + if (device->vk_info.uav_read_without_format) + data->Support2 |= D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD; + }
if (image_features & VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT) data->Support2 |= D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD