Take a look at :

http://developer.download.nvidia.com/shaderlibrary/webpages/hlsl_shaders.html