Render target deduplication
not sure if this is working
This commit is contained in:
parent
ef4a2fb3b5
commit
242fcc2481
2 changed files with 91 additions and 22 deletions
|
@ -98,6 +98,9 @@ namespace Ryujinx.Graphics.Metal
|
|||
// Changes to attachments take recreation!
|
||||
public Texture DepthStencil = default;
|
||||
public Texture[] RenderTargets = new Texture[Constants.MaxColorAttachments];
|
||||
public ITexture PreMaskDepthStencil = default;
|
||||
public ITexture[] PreMaskRenderTargets;
|
||||
public bool FramebufferUsingColorWriteMask;
|
||||
|
||||
public MTLColorWriteMask[] RenderTargetMasks = Enumerable.Repeat(MTLColorWriteMask.All, Constants.MaxColorAttachments).ToArray();
|
||||
public BlendDescriptor?[] BlendDescriptors = new BlendDescriptor?[Constants.MaxColorAttachments];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue