Searched refs:inRectParams (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrDashOp.cpp | 1042 GrGLSLVarying inRectParams(kFloat4_GrSLType); in onEmitCode() local 1043 varyingHandler->addVarying("RectParams", &inRectParams); in onEmitCode() 1044 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.fInRect.name()); in onEmitCode() 1070 fragBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1071 fragBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1072 fragBuilder->codeAppendf("ySub = min(fragPosShifted.y - %s.y, 0.0);", inRectParams.fsIn()); in onEmitCode() 1073 fragBuilder->codeAppendf("ySub += min(%s.w - fragPosShifted.y, 0.0);", inRectParams.fsIn()); in onEmitCode() 1082 fragBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1083 fragBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1090 inRectParams.fsIn()); in onEmitCode() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 1049 GrGLSLVarying inRectParams(kFloat4_GrSLType); in onEmitCode() local 1050 varyingHandler->addVarying("RectParams", &inRectParams); in onEmitCode() 1051 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.fInRect.name()); in onEmitCode() 1079 inRectParams.fsIn()); in onEmitCode() 1081 inRectParams.fsIn()); in onEmitCode() 1083 inRectParams.fsIn()); in onEmitCode() 1085 inRectParams.fsIn()); in onEmitCode() 1095 inRectParams.fsIn()); in onEmitCode() 1097 inRectParams.fsIn()); in onEmitCode() 1104 inRectParams.fsIn()); in onEmitCode() [all …]
|