Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/gradients/
DSkSweepGradient.cpp69 yabs = abs(coord.y), 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.h180 nir_ssa_def *yabs = nir_fabs(b, y); 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()
192 nir_ssa_def *yabs = nir_fabs(b, y); 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.h2490 yabs = abs_(Y); 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()
4188 yabs = abs_(y);
4190 F slope = min(xabs, yabs)/max(xabs, yabs);
4203 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi);