Lines Matching refs:uniform
65 uniform half4 gColor;
77 builder.uniform("gColor") = SkColor4f{1, 0, 0, 1};
127 uniform shader before_map;
128 uniform shader after_map;
129 uniform shader threshold_map;
131 uniform float cutoff;
132 uniform float slope;
162 builder.uniform("cutoff") = sin(fSecs) * 0.55f + 0.5f;
163 builder.uniform("slope") = 10.0f;
190 uniform float rad_scale;
191 uniform float2 in_center;
192 layout(srgb_unpremul) uniform float4 in_colors0;
193 layout(srgb_unpremul) uniform float4 in_colors1;
210 builder.uniform("rad_scale") = std::sin(fSecs * 0.5f + 2.0f) / 5;
211 builder.uniform("in_center") = SkV2{256, 256};
212 builder.uniform("in_colors0") = SkV4{1, 0, 0, 1};
213 builder.uniform("in_colors1") = SkV4{0, 1, 0, 1};
229 uniform shader child;
267 uniform shader child;
268 uniform shader color_cube;
270 uniform float rg_scale;
271 uniform float rg_bias;
272 uniform float b_scale;
273 uniform float inv_size;
319 builder.uniform("rg_scale") = (kSize - 1) / kSize;
320 builder.uniform("rg_bias") = 0.5f / kSize;
321 builder.uniform("b_scale") = kSize - 1;
322 builder.uniform("inv_size") = 1.0f / kSize;
351 uniform shader color_cube;
353 uniform float rg_scale;
354 uniform float rg_bias;
355 uniform float b_scale;
356 uniform float inv_size;
430 uniform shader child;
474 uniform float power_minus1;
475 uniform float2 stretch_factor;
476 uniform float2x2 derivatives;
501 builder.uniform("power_minus1") = fPower - 1;
513 builder.uniform("stretch_factor") = SkV2{1 - superRRect.width()*.5f / cornerWidth,
536 builder.uniform("derivatives") = SkV4{d*dx, -c*dy, -b*dx, a*dy};
625 "uniform shader child;"
674 uniform shader normals;