mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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;
|
bool stretch = srcCopyExtent != dstCopyExtent;
|
||||||
fastPath &= !stretch;
|
fastPath &= !stretch;
|
||||||
|
|
||||||
|
// We don't support compressed destination formats at the moment
|
||||||
|
if (dstFormatInfo->flags.test(DxvkFormatFlag::BlockCompressed))
|
||||||
|
return D3DERR_INVALIDCALL;
|
||||||
|
|
||||||
if (fastPath) {
|
if (fastPath) {
|
||||||
if (needsResolve) {
|
if (needsResolve) {
|
||||||
VkImageResolve region;
|
VkImageResolve region;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user