Lines Matching defs:scale
91 uniform float4 scale[2];
100 s = scale[0];
103 s = scale[1];
111 // Derive scale and biases from the 4 colors and threshold
117 const Vec4 scale[2] = {(vc1 - vc0) / threshold,
120 vc2 - threshold * scale[1]};
123 "scale", SkMakeSpan(scale),
135 const SkPMColor4f* scale,
162 // With the current hardstop detection threshold of 0.00024, the maximum scale and bias
165 sksl.appendf("uniform float4 scale[%d];", intervalCount);
181 %s s = scale[0]; b = bias[0];
183 %s s = scale[1]; b = bias[1];
188 %s s = scale[2]; b = bias[2];
190 %s s = scale[3]; b = bias[3];
198 %s s = scale[4]; b = bias[4];
200 %s s = scale[5]; b = bias[5];
205 %s s = scale[6]; b = bias[6];
207 %s s = scale[7]; b = bias[7];
238 "scale", SkMakeSpan(scale, intervalCount),
247 const SkPMColor4f* scale,
281 uniform float4 scale[%d];
310 return t * scale[pos] + bias[pos];
313 /* scale: */ intervalCount,
329 "scale", SkMakeSpan(scale, intervalCount),
367 Vec4 scale = (c1 - c0) / dt;
368 Vec4 bias = c0 - t0 * scale;
370 scale.store(outScales + intervalCount);
465 // The remaining analytic colorizers use scale*t+bias, and the scale/bias values can become
817 uniform half scale;
826 half t = (angle * 0.1591549430918 + 0.5 + bias) * scale;
834 "scale", shader.getTScale(),
890 // scale |diffRadius| to 1