1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[d3d11] Fix depth aspect not being applied to some D16_UNORM views

This commit is contained in:
Philip Rebohle 2021-11-29 15:39:41 +01:00
parent 1fff48f509
commit b6cd6aaecc
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -265,7 +265,8 @@ namespace dxvk {
{ VK_FORMAT_R16_SFLOAT,
VK_FORMAT_D16_UNORM,
VK_FORMAT_R16_UINT,
VK_IMAGE_ASPECT_COLOR_BIT },
VK_IMAGE_ASPECT_COLOR_BIT,
VK_IMAGE_ASPECT_DEPTH_BIT },
// DXGI_FORMAT_D16_UNORM
{ VK_FORMAT_UNDEFINED,
VK_FORMAT_D16_UNORM,