Searched refs:localCoordsVar (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 56 const GrShaderVar& localCoordsVar, in emitTransforms() argument 59 SkASSERT(GrSLTypeIsFloatType(localCoordsVar.getType())); in emitTransforms() 60 SkASSERT(2 == GrSLTypeVecLength(localCoordsVar.getType()) || in emitTransforms() 61 3 == GrSLTypeVecLength(localCoordsVar.getType())); in emitTransforms() 63 bool threeComponentLocalCoords = 3 == GrSLTypeVecLength(localCoordsVar.getType()); in emitTransforms() 66 localCoords = localCoordsVar.getName(); in emitTransforms() 68 localCoords.printf("float3(%s, 1)", localCoordsVar.c_str()); in emitTransforms()
|
D | GrGLSLGeometryProcessor.h | 37 const GrShaderVar& localCoordsVar, 45 const GrShaderVar& localCoordsVar, in emitTransforms() argument 47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 77 const GrShaderVar& localCoordsVar, in collectTransforms() argument 79 SkASSERT(localCoordsVar.getType() == kFloat2_GrSLType || in collectTransforms() 80 localCoordsVar.getType() == kFloat3_GrSLType); in collectTransforms() 86 auto getBaseLocalCoord = [&baseLocalCoord, &localCoordsVar, vb, varyingHandler]() { in collectTransforms() 87 SkASSERT(GrSLTypeIsFloatType(localCoordsVar.getType())); in collectTransforms() 91 baseLocalCoord = GrGLSLVarying(localCoordsVar.getType()); in collectTransforms() 94 localCoordsVar.getName().c_str()); in collectTransforms() 139 if (GrSLTypeVecLength(localCoordsVar.getType()) == 3 || in collectTransforms() 148 {GrShaderVar(v.vsOut(), v.type()), localCoordsVar, coordOwner}); in collectTransforms()
|
D | GrGLSLGeometryProcessor.h | 248 const GrShaderVar& localCoordsVar,
|