mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-16 16:37:20 +00:00
Actually fix Metal compiling
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user