mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 15:26:24 +02:00
misc: chore: Use explicit types in Metal project
This commit is contained in:
parent
1ae349efb1
commit
76ec047eb7
28 changed files with 315 additions and 313 deletions
|
@ -165,7 +165,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
{
|
||||
// Inherit render target related information without causing a render encoder split.
|
||||
|
||||
var oldState = new RenderTargetCopy
|
||||
RenderTargetCopy oldState = new RenderTargetCopy
|
||||
{
|
||||
Scissors = other.Scissors,
|
||||
RenderTargets = other.RenderTargets,
|
||||
|
@ -180,7 +180,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
Pipeline.Internal.ColorBlendState = other.Pipeline.Internal.ColorBlendState;
|
||||
Pipeline.DepthStencilFormat = other.Pipeline.DepthStencilFormat;
|
||||
|
||||
ref var blendStates = ref Pipeline.Internal.ColorBlendState;
|
||||
ref Array8<ColorBlendStateUid> blendStates = ref Pipeline.Internal.ColorBlendState;
|
||||
|
||||
// Mask out irrelevant attachments.
|
||||
for (int i = 0; i < blendStates.Length; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue