mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-01 17:52:13 +01:00
f2587ab1b6
This is required because in D3D11, typeless formats can be used to create both depth and stencil images, and color formats can be used to view depth images. In Vulkan, images and views that are used as depth-stencil attachments will have to be created with a depth-stencil format, so we have to take the image's bind flags into account when picking a format.