Blacklight.Bezier measures ways of computing the distance from a pixel to a quadratic Bezier piece in a shader: how accurate each one really is on GPU arithmetic, and how fast. It's meant as a research harness, not part of the renderer or anything else, so its binaries go to Junk\. Bezier contains a CPU double-precision reference distance with the sample sets crowded into the regions where methods have failed, and an accuracy score. Its Shaders\ folder holds the methods themselves: one file per method in Shaders\Variants. To add a method, add a new file with the method name matching the file name. Methods that only answer "is this pixel inside the shell" go in Shaders\ShellTests instead, and are scored on pixels their piece owns. Shell tests against a whole piece, ends included and each pixel with its own thickness, go in Shaders\PieceShellTests; they are compared answer for answer with PieceHalleyTwo, so an exact optimization shows no changed answers. Tests that measure a pixel against two pieces at once, as where ownership regions meet, go in Shaders\TwoCurveTests and are compared with TwoHalley the same way. Bezier.D3D9 runs every variant on the default adapter through SharpDX9, reads the distances back, scores them, times them with timestamp queries, and writes a report to Junk\Blacklight.Bezier.D3D9\Results.