Added d3d10 (hlsl4 profile) support to the Cg plug-in - you need Cg 2.1 or above for the code to work. I have an #ifdef so if you don't have it - the code still compiles (without the support for hlsl4).
Added d3d10 (hlsl4 profile) support to the Cg plug-in - you need Cg 2.1 or above for the code to work.
I have an #ifdef so if you don't have it - the code still compiles (without the support for hlsl4).

--HG--
extra : convert_revision : svn%3A8631bf8a-c64b-0410-883c-f3eb003322f7/trunk%40151

bhlzlx/ogre,ruleless/ogre,bhlzlx/ogre,jhu-lcsr-forks/ogre,vancepym/ogre,nezticle/ogre,largerussiangames/ogre,bhlzlx/ogre,jhu-lcsr-forks/ogre,vancepym/ogre,largerussiangames/ogre,jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre,bhlzlx/ogre,ehsan/ogre,nezticle/ogre,nezticle/ogre,largerussiangames/ogre,vancepym/ogre,largerussiangames/ogre,ruleless/ogre,ehsan/ogre,bhlzlx/ogre,vancepym/ogre,vancepym/ogre,ruleless/ogre,ruleless/ogre,ehsan/ogre,jhu-lcsr-forks/ogre,nezticle/ogre,ehsan/ogre,ruleless/ogre,ruleless/ogre,ehsan/ogre,bhlzlx/ogre