Lines Matching refs:primProc
21 const GrPrimitiveProcessor& primProc,
26 GrMtlPipelineStateBuilder builder(renderTarget, origin, primProc, primProcProxies, pipeline,
32 return builder.finalize(primProc, pipeline, desc);
36 const GrPrimitiveProcessor& primProc,
41 : INHERITED(renderTarget, origin, primProc, primProcProxies, pipeline, desc)
150 static MTLVertexDescriptor* create_vertex_descriptor(const GrPrimitiveProcessor& primProc) {
154 if (primProc.hasVertexAttributes()) {
158 if (primProc.hasInstanceAttributes()) {
165 int vertexAttributeCount = primProc.numVertexAttributes();
167 for (const auto& attribute : primProc.vertexAttributes()) {
176 SkASSERT(vertexAttributeOffset == primProc.vertexStride());
186 int instanceAttributeCount = primProc.numInstanceAttributes();
188 for (const auto& attribute : primProc.instanceAttributes()) {
197 SkASSERT(instanceAttributeOffset == primProc.instanceStride());
307 GrMtlPipelineState* GrMtlPipelineStateBuilder::finalize(const GrPrimitiveProcessor& primProc,
345 pipelineDescriptor.vertexDescriptor = create_vertex_descriptor(primProc);