mirror of
https://github.com/AxioDL/boo.git
synced 2025-07-07 05:36:02 +00:00
Minor Metal backend change
This commit is contained in:
parent
5f903c09ee
commit
9a7cadce3a
@ -1293,6 +1293,8 @@ IShaderPipeline* MetalDataFactory::Context::newShaderPipeline(const char* vertSo
|
|||||||
BlendFactor srcFac, BlendFactor dstFac, Primitive prim,
|
BlendFactor srcFac, BlendFactor dstFac, Primitive prim,
|
||||||
ZTest depthTest, bool depthWrite, bool colorWrite,
|
ZTest depthTest, bool depthWrite, bool colorWrite,
|
||||||
bool alphaWrite, CullMode culling)
|
bool alphaWrite, CullMode culling)
|
||||||
|
{
|
||||||
|
@autoreleasepool
|
||||||
{
|
{
|
||||||
MetalData* d = MetalDataFactoryImpl::m_deferredData.get();
|
MetalData* d = MetalDataFactoryImpl::m_deferredData.get();
|
||||||
MetalDataFactoryImpl& factory = static_cast<MetalDataFactoryImpl&>(m_parent);
|
MetalDataFactoryImpl& factory = static_cast<MetalDataFactoryImpl&>(m_parent);
|
||||||
@ -1363,6 +1365,7 @@ IShaderPipeline* MetalDataFactory::Context::newShaderPipeline(const char* vertSo
|
|||||||
d->m_SPs.emplace_back(retval);
|
d->m_SPs.emplace_back(retval);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
IShaderDataBinding*
|
IShaderDataBinding*
|
||||||
MetalDataFactory::Context::newShaderDataBinding(IShaderPipeline* pipeline,
|
MetalDataFactory::Context::newShaderDataBinding(IShaderPipeline* pipeline,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user