Home
last modified time | relevance | path

Searched refs:xabs (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/shaders/gradients/
DSkSweepGradient.cpp68 skvm::F32 xabs = abs(coord.x), in transformT() local
70 slope = min(xabs, yabs) / max(xabs, yabs); in transformT()
81 phi = select( xabs < yabs, (1/4.0f) - phi, phi); in transformT()
/third_party/mesa3d/src/compiler/nir/
Dnir_builtin_builder.h179 nir_ssa_def *xabs = nir_fabs(b, x); in nir_maxmag() local
182 nir_ssa_def *condy = nir_flt(b, xabs, yabs); in nir_maxmag()
183 nir_ssa_def *condx = nir_flt(b, yabs, xabs); in nir_maxmag()
191 nir_ssa_def *xabs = nir_fabs(b, x); in nir_minmag() local
194 nir_ssa_def *condx = nir_flt(b, xabs, yabs); in nir_minmag()
195 nir_ssa_def *condy = nir_flt(b, yabs, xabs); in nir_minmag()
/third_party/skia/src/opts/
DSkRasterPipeline_opts.h2489 F xabs = abs_(X), in STAGE() local
2492 F slope = min(xabs, yabs)/max(xabs, yabs); in STAGE()
2505 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi); in STAGE()
4187 F xabs = abs_(x),
4190 F slope = min(xabs, yabs)/max(xabs, yabs);
4203 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi);