mirror of
https://github.com/AxioDL/boo.git
synced 2025-07-06 21:25:57 +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,
|
||||
ZTest depthTest, bool depthWrite, bool colorWrite,
|
||||
bool alphaWrite, CullMode culling)
|
||||
{
|
||||
@autoreleasepool
|
||||
{
|
||||
MetalData* d = MetalDataFactoryImpl::m_deferredData.get();
|
||||
MetalDataFactoryImpl& factory = static_cast<MetalDataFactoryImpl&>(m_parent);
|
||||
@ -1363,6 +1365,7 @@ IShaderPipeline* MetalDataFactory::Context::newShaderPipeline(const char* vertSo
|
||||
d->m_SPs.emplace_back(retval);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
||||
IShaderDataBinding*
|
||||
MetalDataFactory::Context::newShaderDataBinding(IShaderPipeline* pipeline,
|
||||
|
Loading…
x
Reference in New Issue
Block a user