1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[d3d9] Don't try to blit to compressed images

Fixes Vulkan validation errors and potential driver crashes in
Dragon Age Origins.
This commit is contained in:
Philip Rebohle 2020-01-24 18:36:38 +01:00 committed by Joshie
parent 13792df4c5
commit 5d2215e898

View File

@ -936,6 +936,10 @@ namespace dxvk {
bool stretch = srcCopyExtent != dstCopyExtent;
fastPath &= !stretch;
// We don't support compressed destination formats at the moment
if (dstFormatInfo->flags.test(DxvkFormatFlag::BlockCompressed))
return D3DERR_INVALIDCALL;
if (fastPath) {
if (needsResolve) {
VkImageResolve region;