Lines Matching refs:gpArgs
17 GrGPArgs gpArgs; in emitCode() local
18 this->onEmitCode(args, &gpArgs); in emitCode()
23 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode()
24 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode()
25 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), args.fRTAdjustName, in emitCode()
26 gpArgs.fPositionVar.getType()); in emitCode()
27 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
35 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode()
36 switch (gpArgs.fPositionVar.getType()) { in emitCode()
116 GrGPArgs* gpArgs, in writeOutputPosition() argument
118 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
119 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
124 GrGPArgs* gpArgs, in writeOutputPosition() argument
129 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
130 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
138 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
140 gpArgs->fPositionVar.c_str(), viewMatrixName, posName); in writeOutputPosition()
142 gpArgs->fPositionVar.set(kFloat3_GrSLType, "pos3"); in writeOutputPosition()
144 gpArgs->fPositionVar.c_str(), viewMatrixName, posName); in writeOutputPosition()