From b6cd6aaecc5dfc35837e7fb1117402789b967de5 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 29 Nov 2021 15:39:41 +0100 Subject: [PATCH] [d3d11] Fix depth aspect not being applied to some D16_UNORM views --- src/dxgi/dxgi_format.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dxgi/dxgi_format.cpp b/src/dxgi/dxgi_format.cpp index f628e5d9..a8551da6 100644 --- a/src/dxgi/dxgi_format.cpp +++ b/src/dxgi/dxgi_format.cpp @@ -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,