metal: initial vertex attribute support for pipelines

Also hook up samplers
This commit is contained in:
Alex Szpakowski
2020-05-03 17:14:54 -03:00
parent 9765485222
commit de041ded0e
4 changed files with 108 additions and 15 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ private:
void endPass();
id<MTLDepthStencilState> getCachedDepthStencilState(const DepthState &depth, const StencilState &stencil);
void applyRenderState(id<MTLRenderCommandEncoder> renderEncoder);
void applyRenderState(id<MTLRenderCommandEncoder> renderEncoder, const vertex::Attributes &attributes);
id<MTLCommandQueue> commandQueue;