mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-15 03:41:23 +00:00
copypasta fix
This commit is contained in:
parent
843396095f
commit
af188afc81
@ -290,7 +290,7 @@ class MetalTextureR : public ITextureR
|
|||||||
m_passDesc.depthAttachment.texture = m_depthTex;
|
m_passDesc.depthAttachment.texture = m_depthTex;
|
||||||
m_passDesc.depthAttachment.loadAction = MTLLoadActionLoad;
|
m_passDesc.depthAttachment.loadAction = MTLLoadActionLoad;
|
||||||
m_passDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
m_passDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
||||||
m_clearDepthPassDesc.depthAttachment.clearDepth = 0.f;
|
m_passDesc.depthAttachment.clearDepth = 0.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -316,7 +316,7 @@ class MetalTextureR : public ITextureR
|
|||||||
m_clearColorPassDesc.depthAttachment.texture = m_depthTex;
|
m_clearColorPassDesc.depthAttachment.texture = m_depthTex;
|
||||||
m_clearColorPassDesc.depthAttachment.loadAction = MTLLoadActionLoad;
|
m_clearColorPassDesc.depthAttachment.loadAction = MTLLoadActionLoad;
|
||||||
m_clearColorPassDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
m_clearColorPassDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
||||||
m_clearDepthPassDesc.depthAttachment.clearDepth = 0.f;
|
m_clearColorPassDesc.depthAttachment.clearDepth = 0.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -329,7 +329,7 @@ class MetalTextureR : public ITextureR
|
|||||||
m_clearBothPassDesc.depthAttachment.texture = m_depthTex;
|
m_clearBothPassDesc.depthAttachment.texture = m_depthTex;
|
||||||
m_clearBothPassDesc.depthAttachment.loadAction = MTLLoadActionClear;
|
m_clearBothPassDesc.depthAttachment.loadAction = MTLLoadActionClear;
|
||||||
m_clearBothPassDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
m_clearBothPassDesc.depthAttachment.storeAction = MTLStoreActionStore;
|
||||||
m_clearDepthPassDesc.depthAttachment.clearDepth = 0.f;
|
m_clearBothPassDesc.depthAttachment.clearDepth = 0.f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user