mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-01 21:44:17 +01:00
don't overshadow error
This commit is contained in:
parent
4dcb858ab8
commit
7d9194a738
@ -370,7 +370,6 @@ MTL::RenderPipelineState* MetalPipelineCompiler::Compile(bool forceCompile, bool
|
|||||||
desc->setMeshFunction(m_geometryShaderMtl->GetFunction());
|
desc->setMeshFunction(m_geometryShaderMtl->GetFunction());
|
||||||
desc->setFragmentFunction(m_pixelShaderMtl->GetFunction());
|
desc->setFragmentFunction(m_pixelShaderMtl->GetFunction());
|
||||||
|
|
||||||
NS::Error* error = nullptr;
|
|
||||||
#ifdef CEMU_DEBUG_ASSERT
|
#ifdef CEMU_DEBUG_ASSERT
|
||||||
desc->setLabel(GetLabel("Mesh render pipeline state", desc));
|
desc->setLabel(GetLabel("Mesh render pipeline state", desc));
|
||||||
#endif
|
#endif
|
||||||
@ -384,7 +383,6 @@ MTL::RenderPipelineState* MetalPipelineCompiler::Compile(bool forceCompile, bool
|
|||||||
desc->setVertexFunction(m_vertexShaderMtl->GetFunction());
|
desc->setVertexFunction(m_vertexShaderMtl->GetFunction());
|
||||||
desc->setFragmentFunction(m_pixelShaderMtl->GetFunction());
|
desc->setFragmentFunction(m_pixelShaderMtl->GetFunction());
|
||||||
|
|
||||||
NS::Error* error = nullptr;
|
|
||||||
#ifdef CEMU_DEBUG_ASSERT
|
#ifdef CEMU_DEBUG_ASSERT
|
||||||
desc->setLabel(GetLabel("Render pipeline state", desc));
|
desc->setLabel(GetLabel("Render pipeline state", desc));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user