Lines Matching refs:vertBuilder
365 static void write_passthrough_vertex_position(GrGLSLVertexBuilder* vertBuilder, in write_passthrough_vertex_position() argument
369 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_passthrough_vertex_position()
371 vertBuilder->codeAppendf("float%d %s = %s;", in write_passthrough_vertex_position()
377 static void write_vertex_position(GrGLSLVertexBuilder* vertBuilder, in write_vertex_position() argument
386 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_vertex_position()
389 write_passthrough_vertex_position(vertBuilder, inPos, outPos); in write_vertex_position()
406 vertBuilder->codeAppendf("float3 %s = %s.xz1 * %s + %s.yw0;\n", in write_vertex_position()
412 vertBuilder->codeAppendf("float3 %s = %s * %s;\n", in write_vertex_position()
423 vertBuilder->codeAppendf("float3 %s = (%s * %s.xy1);", in write_vertex_position()
431 vertBuilder->codeAppendf("float2 %s = %s.xz * %s + %s.yw;\n", in write_vertex_position()
437 vertBuilder->codeAppendf("float2 %s = float3x2(%s) * %s.xy1;\n", in write_vertex_position()
442 vertBuilder->codeAppendf("float2 %s = (%s * %s.xy1).xy;\n", in write_vertex_position()
450 void ProgramImpl::WriteOutputPosition(GrGLSLVertexBuilder* vertBuilder, in WriteOutputPosition() argument
455 write_passthrough_vertex_position(vertBuilder, inPos, &gpArgs->fPositionVar); in WriteOutputPosition()
458 void ProgramImpl::WriteOutputPosition(GrGLSLVertexBuilder* vertBuilder, in WriteOutputPosition() argument
466 write_vertex_position(vertBuilder, in WriteOutputPosition()
476 void ProgramImpl::WriteLocalCoord(GrGLSLVertexBuilder* vertBuilder, in WriteLocalCoord() argument
483 write_vertex_position(vertBuilder, in WriteLocalCoord()