Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkSweepGradient.cpp75 yabs = p->abs(y), in transformT() local
76 slope = p->div(p->min(xabs, yabs), in transformT()
77 p->max(xabs, yabs)); in transformT()
94 phi = p->select(p->lt (xabs, yabs) , p->sub(p->splat(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.h2502 yabs = abs_(Y); in STAGE() local
2504 F slope = min(xabs, yabs)/max(xabs, yabs); in STAGE()
2517 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi); in STAGE()
4027 yabs = abs_(y);
4029 F slope = min(xabs, yabs)/max(xabs, yabs);
4042 phi = if_then_else(xabs < yabs, 1.0f/4.0f - phi, phi);