Make dot and dash line shaders more precise
Make dot and dash line shaders more precise

The number-of-pieces approach the old implementation had lead to too much
accumulated rounding error, causing periodic truncated dashes. This
lead to lines falling out of their periodic pattern, breaking the clipping
tricks gecko applies downstream.

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender