diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index c467c9011..0534408f2 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -182,6 +182,13 @@ namespace dxvk { const VkImageSubresourceRange& subresources) { this->renderPassEnd(); + const DxvkFormatInfo* formatInfo = imageFormatInfo(image->info().format); + + if (formatInfo->flags.test(DxvkFormatFlag::BlockCompressed)) { + Logger::err("DxvkContext: Compressed clears not supported"); + return; + } + if (image->info().layout != VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) { m_barriers.accessImage(image, subresources, VK_IMAGE_LAYOUT_UNDEFINED, 0, 0,