Also removes the diagnostics for invalid linking setup
Also rename D2D1 to D2D for consistency with HLSL, and tweak namespaces