Home
last modified time | relevance | path

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

/external/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()
/external/mesa3d/src/compiler/nir/
Dnir_builtin_builder.h200 nir_ssa_def *yabs = nir_fabs(b, y); in nir_maxmag() local
202 nir_ssa_def *condy = nir_flt(b, xabs, yabs); in nir_maxmag()
203 nir_ssa_def *condx = nir_flt(b, yabs, xabs); in nir_maxmag()
212 nir_ssa_def *yabs = nir_fabs(b, y); in nir_minmag() local
214 nir_ssa_def *condx = nir_flt(b, xabs, yabs); in nir_minmag()
215 nir_ssa_def *condy = nir_flt(b, yabs, xabs); in nir_minmag()
/external/skqp/src/opts/
DSkRasterPipeline_opts.h1983 yabs = abs_(Y); in STAGE() local
1985 F slope = min(xabs, yabs)/max(xabs, yabs); in STAGE()
1998 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi); in STAGE()
3236 yabs = abs_(y);
3238 F slope = min(xabs, yabs)/max(xabs, yabs);
3251 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi);
/external/skia/src/opts/
DSkRasterPipeline_opts.h2463 yabs = abs_(Y); in STAGE() local
2465 F slope = min(xabs, yabs)/max(xabs, yabs); in STAGE()
2478 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi); in STAGE()
3974 yabs = abs_(y);
3976 F slope = min(xabs, yabs)/max(xabs, yabs);
3989 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi);