mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
remove old present pipelines
This commit is contained in:
parent
5d01c77efc
commit
a3bfde80b0
3 changed files with 31 additions and 33 deletions
|
@ -120,6 +120,7 @@ MetalRenderer::MetalRenderer()
|
|||
}
|
||||
|
||||
// Present pipeline
|
||||
/*
|
||||
MTL::Function* fullscreenVertexFunction = utilityLibrary->newFunction(ToNSString("vertexFullscreen"));
|
||||
MTL::Function* presentFragmentFunction = utilityLibrary->newFunction(ToNSString("fragmentPresent"));
|
||||
|
||||
|
@ -153,6 +154,7 @@ MetalRenderer::MetalRenderer()
|
|||
debug_printf("failed to create sRGB present pipeline (error: %s)\n", error->localizedDescription()->utf8String());
|
||||
error->release();
|
||||
}
|
||||
*/
|
||||
|
||||
// Copy texture pipelines
|
||||
auto copyTextureToColorPipelineDescriptor = MTL::RenderPipelineDescriptor::alloc()->init();
|
||||
|
@ -174,8 +176,8 @@ MetalRenderer::~MetalRenderer()
|
|||
//delete m_copyTextureToTexturePipeline;
|
||||
delete m_restrideBufferPipeline;
|
||||
|
||||
m_presentPipelineLinear->release();
|
||||
m_presentPipelineSRGB->release();
|
||||
//m_presentPipelineLinear->release();
|
||||
//m_presentPipelineSRGB->release();
|
||||
|
||||
delete m_outputShaderCache;
|
||||
delete m_pipelineCache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue