mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 04:54:15 +01:00
[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.
This commit is contained in:
parent
7ed9f36769
commit
f32aff29fa
@ -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 = { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user