Home
last modified time | relevance | path

Searched refs:tmpVar2 (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
239 String tmpVar2 = "minAbsHackVar" + to_string(fVarCount++); in writeMinAbsHack() local
243 this->getTypeName(otherExpr.type()) + " " + tmpVar2 + ";\n"; in writeMinAbsHack()
246 this->write(") < (" + tmpVar2 + " = "); in writeMinAbsHack()
248 this->write(") ? " + tmpVar1 + " : " + tmpVar2 + ")"); in writeMinAbsHack()

Completed in 3 milliseconds