Actually fix Metal compiling

This commit is contained in:
Phillip Stephens 2019-06-30 20:40:03 -07:00
parent 35732d33f5
commit 8523fcbb78
1 changed files with 2 additions and 1 deletions

View File

@ -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) {