Lines Matching refs:primProc
78 static void setup_vertex_input_state(const GrPrimitiveProcessor& primProc, in setup_vertex_input_state() argument
85 if (primProc.hasVertexAttributes()) { in setup_vertex_input_state()
89 if (primProc.hasInstanceAttributes()) { in setup_vertex_input_state()
94 int vaCount = primProc.numVertexAttributes(); in setup_vertex_input_state()
97 for (const auto& attrib : primProc.vertexAttributes()) { in setup_vertex_input_state()
105 SkASSERT(vertexAttributeOffset == primProc.vertexStride()); in setup_vertex_input_state()
107 int iaCount = primProc.numInstanceAttributes(); in setup_vertex_input_state()
109 for (const auto& attrib : primProc.instanceAttributes()) { in setup_vertex_input_state()
117 SkASSERT(instanceAttributeOffset == primProc.instanceStride()); in setup_vertex_input_state()
119 if (primProc.hasVertexAttributes()) { in setup_vertex_input_state()
126 if (primProc.hasInstanceAttributes()) { in setup_vertex_input_state()
280 const GrPrimitiveProcessor& primProc, in setup_multisample_state() argument
500 const GrPrimitiveProcessor& primProc, in Create() argument
509 int totalAttributeCnt = primProc.numVertexAttributes() + primProc.numInstanceAttributes(); in Create()
512 setup_vertex_input_state(primProc, &vertexInputInfo, &bindingDescs, pAttribs); in Create()
524 setup_multisample_state(numColorSamples, primProc, pipeline, gpu->caps(), &multisampleInfo); in Create()