mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-17 18:06:50 -05:00
Fix blend state optimisation breaking attachments
Fixes SM3DW
This commit is contained in:
committed by
Evan Husted
parent
29b6e8ac53
commit
d2f965885a
@@ -111,6 +111,14 @@ namespace Ryujinx.Graphics.Metal
|
||||
readonly get => ((Id0 >> 63) & 0x1) != 0UL;
|
||||
set => Id0 = (Id0 & 0x7FFFFFFFFFFFFFFF) | ((value ? 1UL : 0UL) << 63);
|
||||
}
|
||||
|
||||
public void Swap(ColorBlendStateUid uid)
|
||||
{
|
||||
var format = PixelFormat;
|
||||
|
||||
this = uid;
|
||||
PixelFormat = format;
|
||||
}
|
||||
}
|
||||
|
||||
[SupportedOSPlatform("macos")]
|
||||
|
||||
Reference in New Issue
Block a user