mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 08:57:11 +02:00
This reverts commit a0cf0b80c7
.
This commit is contained in:
parent
a0cf0b80c7
commit
0233c15960
8 changed files with 36 additions and 120 deletions
|
@ -1344,7 +1344,8 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
var dstAttachmentFormats = _newState.Internal.AttachmentFormats.AsSpan();
|
||||
FramebufferParams.AttachmentFormats.CopyTo(dstAttachmentFormats);
|
||||
|
||||
for (int i = FramebufferParams.AttachmentFormats.Length; i < dstAttachmentFormats.Length; i++)
|
||||
int maxAttachmentIndex = FramebufferParams.MaxColorAttachmentIndex + (FramebufferParams.HasDepthStencil ? 1 : 0);
|
||||
for (int i = FramebufferParams.AttachmentFormats.Length; i <= maxAttachmentIndex; i++)
|
||||
{
|
||||
dstAttachmentFormats[i] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue