The documentation for the HLSL shading language, for all versions of Direct3D, has been organized in a central location here.