This commit is contained in:
Samuliak 2024-05-19 16:51:05 +02:00 committed by Isaac Marovitz
parent f3885d72e5
commit e2fc86a67e
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 4 additions and 4 deletions

View File

@ -464,7 +464,7 @@ namespace Ryujinx.Graphics.Metal
}
}
// Inline Update
// Inline update
if (_pipeline.CurrentEncoderType == EncoderType.Render && _pipeline.CurrentEncoder != null)
{
var renderCommandEncoder = new MTLRenderCommandEncoder(_pipeline.CurrentEncoder.Value);
@ -491,7 +491,7 @@ namespace Ryujinx.Graphics.Metal
}
}
// Inline Update
// Inline update
if (_pipeline.CurrentEncoderType == EncoderType.Render && _pipeline.CurrentEncoder != null)
{
var renderCommandEncoder = new MTLRenderCommandEncoder(_pipeline.CurrentEncoder.Value);
@ -504,7 +504,7 @@ namespace Ryujinx.Graphics.Metal
{
_currentState.CullMode = enable ? face.Convert() : MTLCullMode.None;
// Inline Update
// Inline update
if (_pipeline.CurrentEncoderType == EncoderType.Render && _pipeline.CurrentEncoder != null)
{
var renderCommandEncoder = new MTLRenderCommandEncoder(_pipeline.CurrentEncoder.Value);
@ -517,7 +517,7 @@ namespace Ryujinx.Graphics.Metal
{
_currentState.Winding = frontFace.Convert();
// Inline Update
// Inline update
if (_pipeline.CurrentEncoderType == EncoderType.Render && _pipeline.CurrentEncoder != null)
{
var renderCommandEncoder = new MTLRenderCommandEncoder(_pipeline.CurrentEncoder.Value);