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:
parent
c07f7e2ea0
commit
9b486515fa
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user