WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b6116da940 - Show all commits

View File

@ -26,7 +26,7 @@ namespace Ryujinx.Graphics.Metal
private MTLCommandEncoder _currentEncoder; private MTLCommandEncoder _currentEncoder;
private RenderEncoderState _renderEncoderState; private RenderEncoderState _renderEncoderState;
private MTLVertexDescriptor _vertexDescriptor = new(); private readonly MTLVertexDescriptor _vertexDescriptor = new();
private MTLBuffer[] _vertexBuffers; private MTLBuffer[] _vertexBuffers;
private MTLBuffer _indexBuffer; private MTLBuffer _indexBuffer;

View File

@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Metal
[SupportedOSPlatform("macos")] [SupportedOSPlatform("macos")]
class Program : IProgram class Program : IProgram
{ {
private ProgramLinkStatus _status = ProgramLinkStatus.Incomplete; private ProgramLinkStatus _status;
public MTLFunction VertexFunction; public MTLFunction VertexFunction;
public MTLFunction FragmentFunction; public MTLFunction FragmentFunction;
public MTLFunction ComputeFunction; public MTLFunction ComputeFunction;