mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
Blit at the end of the render
This commit is contained in:
parent
9ecdaac949
commit
57067a815d
@ -186,6 +186,10 @@ namespace Ryujinx.Graphics.Metal
|
||||
descriptor.ColorAttachments.SetObject(colorAttachment, 0);
|
||||
|
||||
var renderCommandEncoder = _commandBuffer.RenderCommandEncoder(descriptor);
|
||||
_renderEncoderState = new RenderEncoderState(
|
||||
_helperShaders.BlitShader.VertexFunction,
|
||||
_helperShaders.BlitShader.FragmentFunction,
|
||||
_device);
|
||||
_renderEncoderState.SetEncoderState(renderCommandEncoder, _vertexDescriptor);
|
||||
|
||||
var sampler = _device.NewSamplerState(new MTLSamplerDescriptor
|
||||
|
Loading…
Reference in New Issue
Block a user