Lines Matching refs:posVar
18 void GrGLSLVertexBuilder::transformToNormalizedDeviceSpace(const GrShaderVar& posVar) { in transformToNormalizedDeviceSpace() argument
26 if (kVec3f_GrSLType == posVar.getType()) { in transformToNormalizedDeviceSpace()
27 const char* p = posVar.c_str(); in transformToNormalizedDeviceSpace()
30 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
31 this->codeAppendf("{vec2 _posTmp = %s;", posVar.c_str()); in transformToNormalizedDeviceSpace()
37 } else if (kVec3f_GrSLType == posVar.getType()) { in transformToNormalizedDeviceSpace()
39 posVar.c_str(), fRtAdjustName, in transformToNormalizedDeviceSpace()
40 posVar.c_str(), fRtAdjustName, in transformToNormalizedDeviceSpace()
41 posVar.c_str()); in transformToNormalizedDeviceSpace()
43 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
45 posVar.c_str(), fRtAdjustName, fRtAdjustName, in transformToNormalizedDeviceSpace()
46 posVar.c_str(), fRtAdjustName, fRtAdjustName); in transformToNormalizedDeviceSpace()