Lines Matching refs:fPositionVar
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()
118 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
119 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
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()