mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +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;
|
bool stretch = srcCopyExtent != dstCopyExtent;
|
||||||
fastPath &= !stretch;
|
fastPath &= !stretch;
|
||||||
|
|
||||||
// We don't support compressed destination formats at the moment
|
if (!fastPath || needsResolve) {
|
||||||
|
// Compressed destination formats are forbidden for blits.
|
||||||
if (dstFormatInfo->flags.test(DxvkFormatFlag::BlockCompressed))
|
if (dstFormatInfo->flags.test(DxvkFormatFlag::BlockCompressed))
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
|
}
|
||||||
|
|
||||||
if (fastPath) {
|
if (fastPath) {
|
||||||
if (needsResolve) {
|
if (needsResolve) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user