do memory barriers

This commit is contained in:
Samuliak
2024-05-24 18:37:31 +02:00
committed by Evan Husted
parent 60084f826e
commit 78553f31d9
2 changed files with 19 additions and 1 deletions

View File

@@ -73,6 +73,9 @@ namespace Ryujinx.Graphics.Metal
_pipeline.SaveState();
_pipeline.SetProgram(_programColorBlit);
// Viewport and scissor needs to be set before render pass begin so as not to bind the old ones
//_pipeline.SetViewports([]);
//_pipeline.SetScissors([]);
_pipeline.SetRenderTargets([destination], null);
_pipeline.SetTextureAndSampler(ShaderStage.Fragment, 0, source, new Sampler(sampler));
_pipeline.SetPrimitiveTopology(PrimitiveTopology.Triangles);