Home
last modified time | relevance | path

Searched refs:hullPts (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp228 const char* hullPts = "pts"; in onEmitGeometryShader() local
229 fShader->emitSetupCode(g, "pts", wind.c_str(), &hullPts); in onEmitGeometryShader()
238 g->codeAppendf("float2 topleft = %s[i];", hullPts); in onEmitGeometryShader()
239 g->codeAppendf("float2 topright = %s[%s > 0 ? i + 1 : 3 - i];", hullPts, wind.c_str()); in onEmitGeometryShader()
240 g->codeAppendf("float2 bottomleft = %s[%s > 0 ? 3 - i : i + 1];", hullPts, wind.c_str()); in onEmitGeometryShader()
241 g->codeAppendf("float2 bottomright = %s[2 - i];", hullPts); in onEmitGeometryShader()
DGrCCCoverageProcessor_VSImpl.cpp282 const char* hullPts = "pts"; in onEmitCode() local
283 fShader->emitSetupCode(v, "pts", "wind", (4 == fNumSides) ? &hullPts : nullptr); in onEmitCode()
300 v->codeAppendf("float2 corner = %s[clockwise_indices & 3];", hullPts); in onEmitCode()
302 hullPts, kVertexData_LeftNeighborIdShift); in onEmitCode()
304 hullPts, kVertexData_RightNeighborIdShift); in onEmitCode()