Searched refs:xabs (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 68 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/ |
D | nir_builtin_builder.h | 179 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/ |
D | SkRasterPipeline_opts.h | 2489 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);
|