Skip to content

Commit

Permalink
FIx regression
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Jun 20, 2024
1 parent 41a70fc commit 773323e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Ryujinx.Graphics.Metal/HelperShader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ public void ConvertI8ToI16(CommandBufferScoped cbs, BufferHolder src, BufferHold
1f);

_pipeline.SetProgram(_programsColorClear[index]);
_pipeline.SetBlendState(index, new BlendDescriptor(false, new ColorF(0f, 0f, 0f, 1f), BlendOp.Add, BlendFactor.One, BlendFactor.Zero, BlendOp.Add, BlendFactor.One, BlendFactor.Zero));
_pipeline.SetFaceCulling(false, Face.Front);
_pipeline.SetDepthTest(new DepthTestDescriptor(false, false, CompareOp.Always));
_pipeline.SetRenderTargetColorMasks([componentMask]);
_pipeline.SetViewports(viewports);
_pipeline.SetPrimitiveTopology(PrimitiveTopology.TriangleStrip);
Expand Down

0 comments on commit 773323e

Please sign in to comment.