Lines Matching refs:uniform
26 "uniform shader u_layer;"
28 "uniform float2 u_center;"
29 "uniform float2 u_radius;"
30 "uniform float u_h;"
31 "uniform float u_r;"
32 "uniform float u_asinInverseR;"
33 "uniform float u_rcpR;"
34 "uniform float u_rcpAsinInvR;"
35 "uniform float u_selector;"
109 builder.uniform("u_center") = fCenter;
110 builder.uniform("u_radius") = fRadius;
111 builder.uniform("u_h") = h;
112 builder.uniform("u_r") = r;
113 builder.uniform("u_asinInverseR") = std::asin(1/r);
114 builder.uniform("u_rcpR") = 1.0f/r;
115 builder.uniform("u_rcpAsinInvR") = 1.0f/std::asin(1/r);
116 builder.uniform("u_selector") = (fHeight > 0 ? 1.0f : -1.0f);