Lines Matching refs:ab
35 float4 ab = mix(p0.xyxy(), p1.xyxy(), T); in chopAndWriteQuads() local
37 float4 abc = mix(ab, bc, T); in chopAndWriteQuads()
39 float4 middle = mix(ab, bc, mix(T, T.zwxy(), 2/3.f)); in chopAndWriteQuads()
41 CubicPatch(*this) << QuadToCubic{p0, ab.lo, abc.lo}; // Write the 1st quad. in chopAndWriteQuads()
53 float2 ab = (p0 + p1) * .5f; in chopAndWriteQuads() local
55 float2 abc = (ab + bc) * .5f; in chopAndWriteQuads()
57 CubicPatch(*this) << QuadToCubic{p0, ab, abc}; // Write the 1st quad. in chopAndWriteQuads()
83 float4 ab = mix(h0, h1, T); in chopAndWriteConics() local
85 float4 abc = mix(ab, bc, T); in chopAndWriteConics()
90 << (ab.xy() / ab.w()) in chopAndWriteConics()
92 << (ab.w() / sqrtf(h0.w() * abc.w())); in chopAndWriteConics()
117 float4 ab = mix(p0.xyxy(), p1.xyxy(), T); in chopAndWriteCubics() local
120 float4 abc = mix(ab, bc, T); in chopAndWriteCubics()
125 CubicPatch(*this) << p0 << ab.lo << abc.lo << abcd.lo; // Write the 1st cubic. in chopAndWriteCubics()
137 float2 ab = (p0 + p1) * .5f; in chopAndWriteCubics() local
140 float2 abc = (ab + bc) * .5f; in chopAndWriteCubics()
144 CubicPatch(*this) << p0 << ab << abc << abcd; // Write the 1st cubic. in chopAndWriteCubics()