Lines Matching refs:codeAppend
42 v->codeAppend ("float area_x2 = determinant(float2x2(pts[0] - pts[1], pts[0] - pts[2]));");
44 v->codeAppend ("area_x2 += determinant(float2x2(pts[0] - pts[2], pts[0] - pts[3]));");
46 v->codeAppend ("half wind = sign(area_x2);");
63 v->codeAppend(varyingCode.c_str());
255 v->codeAppend ("float2 vertexbloat = float2(bloatpoint.y > corner.y ? -bloat : +bloat, "
261 v->codeAppend ( "vertexbloat = float2(-vertexbloat.y, vertexbloat.x);");
262 v->codeAppend ("}");
267 v->codeAppend ( "vertexbloat = -vertexbloat;");
268 v->codeAppend ("}");
270 v->codeAppend ("float2 vertex = corner + vertexbloat;");
281 v->codeAppend ("half coverage = dot(edge_distance_equation.xy, vertex) + "
285 v->codeAppend ( "coverage = -1 - coverage;");
286 v->codeAppend ("}");
289 v->codeAppend ( "coverage = +1;");
290 v->codeAppend ("}");
331 v->codeAppend ("int corner_id = sk_VertexID / 4;");
335 v->codeAppend ("vertex.x += (0 == (sk_VertexID & 2)) ? -bloat : +bloat;");
336 v->codeAppend ("vertex.y += (0 == (sk_VertexID & 1)) ? -bloat : +bloat;");