[PATCH] dxgi: Allow sampling of Vulkan swapchain images for D3D12.

Henri Verbeet hverbeet at gmail.com
Mon Jan 17 05:57:31 CST 2022


On Mon, 17 Jan 2022 at 08:41, Conor McCarthy <cmccarthy at codeweavers.com> wrote:
> Psychonauts 2 creates an SRV on a swapchain image and lack of
> VK_IMAGE_USAGE_SAMPLED_BIT results in failure to create a Vulkan
> descriptor.
>
Should adding VK_IMAGE_USAGE_SAMPLED_BIT be conditional on
swapchain->desc.BufferUsage having DXGI_USAGE_SHADER_INPUT set?



More information about the wine-devel mailing list