Blit at the end of the render
This commit is contained in:
parent
72209ba2a6
commit
cd7d62542a
1 changed files with 4 additions and 0 deletions
|
@ -186,6 +186,10 @@ namespace Ryujinx.Graphics.Metal
|
||||||
descriptor.ColorAttachments.SetObject(colorAttachment, 0);
|
descriptor.ColorAttachments.SetObject(colorAttachment, 0);
|
||||||
|
|
||||||
var renderCommandEncoder = _commandBuffer.RenderCommandEncoder(descriptor);
|
var renderCommandEncoder = _commandBuffer.RenderCommandEncoder(descriptor);
|
||||||
|
_renderEncoderState = new RenderEncoderState(
|
||||||
|
_helperShaders.BlitShader.VertexFunction,
|
||||||
|
_helperShaders.BlitShader.FragmentFunction,
|
||||||
|
_device);
|
||||||
_renderEncoderState.SetEncoderState(renderCommandEncoder, _vertexDescriptor);
|
_renderEncoderState.SetEncoderState(renderCommandEncoder, _vertexDescriptor);
|
||||||
|
|
||||||
var sampler = _device.NewSamplerState(new MTLSamplerDescriptor
|
var sampler = _device.NewSamplerState(new MTLSamplerDescriptor
|
||||||
|
|
Loading…
Reference in a new issue