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:
parent
13792df4c5
commit
5d2215e898
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user