Home | History | Annotate | Download | only in effects

Lines Matching refs:half

40 uniform half profileSize;
92 // We promote the rect uniform from half to float when it has large values for
127 half hcoord = half(((abs(translatedPos.x - 0.5 * width) - 0.5 * wh.x)) / profileSize);
128 half hlookup = texture(blurProfile, float2(hcoord, 0.5)).a;
129 half vcoord = half(((abs(translatedPos.y - 0.5 * height) - 0.5 * wh.y)) / profileSize);
130 half vlookup = texture(blurProfile, float2(vcoord, 0.5)).a;
134 half width = half(rect.z - rect.x);
135 half height = half(rect.w - rect.y);
137 half center = 2 * floor(profileSize / 2 + 0.25) - 1;
139 half hcoord = ((half(abs(translatedPos.x - 0.5 * width)) - 0.5 * wh.x)) / profileSize;
140 half hlookup = texture(blurProfile, float2(hcoord, 0.5)).a;
141 half vcoord = ((half(abs(translatedPos.y - 0.5 * height)) - 0.5 * wh.y)) / profileSize;
142 half vlookup = texture(blurProfile, float2(vcoord, 0.5)).a;