From f32aff29fa6d6983788e6e7fedc1979605dd8c99 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 7 Nov 2018 18:41:07 +0100 Subject: [PATCH] [d3d11] Clear compressed images if they do not get initialized This probably makes Quantum Break run even worse, but I don't really care at this point. Fixes #744. --- src/d3d11/d3d11_initializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_initializer.cpp b/src/d3d11/d3d11_initializer.cpp index a1a7ea04..b10fbbeb 100644 --- a/src/d3d11/d3d11_initializer.cpp +++ b/src/d3d11/d3d11_initializer.cpp @@ -155,7 +155,7 @@ namespace dxvk { subresources.layerCount = image->info().numLayers; if (formatInfo->flags.test(DxvkFormatFlag::BlockCompressed)) { - m_context->initImage(image, subresources); + m_context->clearCompressedColorImage(image, subresources); } else { if (subresources.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) { VkClearColorValue value = { };