Lines Matching refs:edge
114 Var edge(kHalf_Type, "edge");
115 Declare(edge);
117 edge = Dot(edgeArray[i], Half3(Swizzle(sk_FragCoord(), X, Y, ONE)));
119 edge = Saturate(edge);
121 edge = Select(edge >= 0.5, 1.0, 0.0);
123 alpha *= edge;
164 // Outset the edges by 0.5 so that a pixel with center on an edge is 50% covered in the AA case