mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-12-04 05:52:46 -05:00
Fix FEZ not showing anything
Does not fix the underlying shortcomings of the cache system
This commit is contained in:
committed by
Evan Husted
parent
3451fbbbad
commit
c911db8309
@@ -329,8 +329,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
_pipeline.SetPrimitiveTopology(PrimitiveTopology.TriangleStrip);
|
||||
_pipeline.SetViewports(viewports);
|
||||
_pipeline.SetDepthTest(new DepthTestDescriptor(true, depthMask, CompareOp.Always));
|
||||
// TODO: Figure out why this causes a crash
|
||||
// _pipeline.SetStencilTest(CreateStencilTestDescriptor(stencilMask != 0, stencilValue, 0xFF, stencilMask));
|
||||
_pipeline.SetStencilTest(CreateStencilTestDescriptor(stencilMask != 0, stencilValue, 0xFF, stencilMask));
|
||||
_pipeline.GetOrCreateRenderEncoder(true).SetFragmentBytes(ptr, ClearDepthBufferSize, 0);
|
||||
_pipeline.Draw(4, 1, 0, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user