1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[d3d9] Allow StretchRect BC -> BC format without stretch

This commit is contained in:
Joshua Ashton 2020-01-25 00:31:33 +00:00
parent c07f7e2ea0
commit 9b486515fa

View File

@ -936,9 +936,11 @@ 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 || needsResolve) {
// Compressed destination formats are forbidden for blits.
if (dstFormatInfo->flags.test(DxvkFormatFlag::BlockCompressed))
return D3DERR_INVALIDCALL;
}
if (fastPath) {
if (needsResolve) {