mirror of https://github.com/AxioDL/boo.git
Actually fix Metal compiling
This commit is contained in:
parent
35732d33f5
commit
8523fcbb78
|
@ -150,7 +150,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void waitUntilShadersReady() {}
|
void waitUntilShadersReady() {}
|
||||||
bool areShadersReady() const { return true; }
|
bool areShadersReady() { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MTL_STATIC MTLResourceCPUCacheModeWriteCombined|MTLResourceStorageModeManaged
|
#define MTL_STATIC MTLResourceCPUCacheModeWriteCombined|MTLResourceStorageModeManaged
|
||||||
|
@ -1780,6 +1780,7 @@ struct MetalCommandQueue : IGraphicsCommandQueue {
|
||||||
m_cmdBuf = [m_ctx->m_q commandBuffer];
|
m_cmdBuf = [m_ctx->m_q commandBuffer];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
bool isReady() { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
void MetalShaderPipeline::draw(MetalCommandQueue& q, size_t start, size_t count) {
|
void MetalShaderPipeline::draw(MetalCommandQueue& q, size_t start, size_t count) {
|
||||||
|
|
Loading…
Reference in New Issue