Ported the GLSL path shader to HLSL