Home
last modified time | relevance | path

Searched refs:tmpVar1 (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/sksl/codegen/
H A DSkSLGLSLCodeGenerator.cpp234 // turns min(abs(x), y) into ((tmpVar1 = abs(x)) < (tmpVar2 = y) ? tmpVar1 : tmpVar2) to avoid a
238 String tmpVar1 = "minAbsHackVar" + to_string(fVarCount++); in writeMinAbsHack() local
241 this->getTypeName(absExpr.type()) + " " + tmpVar1 + ";\n"; in writeMinAbsHack()
244 this->write("((" + tmpVar1 + " = "); in writeMinAbsHack()
248 this->write(") ? " + tmpVar1 + " : " + tmpVar2 + ")"); in writeMinAbsHack()

Completed in 3 milliseconds