Home | History | Annotate | Download | only in ccpr

Lines Matching full:codeappend

44             v->codeAppend ("float area_x2 = determinant(float2x2(pts[0] - pts[1], "
47 v->codeAppend ("area_x2 += determinant(float2x2(pts[0] - pts[2], "
50 v->codeAppend ("half wind = sign(area_x2);");
73 v->codeAppend(varyingCode.c_str());
265 v->codeAppend ("float2 vertexbloat = float2(bloatpoint.y > corner.y ? -bloat : +bloat, "
271 v->codeAppend ( "vertexbloat = float2(-vertexbloat.y, vertexbloat.x);");
272 v->codeAppend ("}");
277 v->codeAppend ( "vertexbloat = -vertexbloat;");
278 v->codeAppend ("}");
280 v->codeAppend ("float2 vertex = corner + vertexbloat;");
291 v->codeAppend ("half coverage = dot(edge_distance_equation.xy, vertex) + "
295 v->codeAppend ( "coverage = -1 - coverage;");
296 v->codeAppend ("}");
299 v->codeAppend ( "coverage = +1;");
300 v->codeAppend ("}");
341 v->codeAppend ("int corner_id = sk_VertexID / 4;");
345 v->codeAppend ("vertex.x += (0 == (sk_VertexID & 2)) ? -bloat : +bloat;");
346 v->codeAppend ("vertex.y += (0 == (sk_VertexID & 1)) ? -bloat : +bloat;");