Home | History | Annotate | Download | only in effects

Lines Matching refs:half

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