mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 02:02:25 -07:00
Stencil Fixes
This commit is contained in:
committed by
Isaac Marovitz
parent
1b86360a61
commit
0a6f11d247
@@ -141,9 +141,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
depthAttachment.LoadAction = MTLLoadAction.Load;
|
||||
depthAttachment.StoreAction = MTLStoreAction.Store;
|
||||
|
||||
var unpackedFormat = FormatTable.PackedStencilToXFormat(_currentState.DepthStencil.MTLTexture.PixelFormat);
|
||||
var stencilView = _currentState.DepthStencil.MTLTexture.NewTextureView(unpackedFormat);
|
||||
stencilAttachment.Texture = stencilView;
|
||||
stencilAttachment.Texture = _currentState.DepthStencil.MTLTexture;
|
||||
stencilAttachment.LoadAction = MTLLoadAction.Load;
|
||||
stencilAttachment.StoreAction = MTLStoreAction.Store;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user