From 23 February 2014 - 11:31 AM:
Steve, if you want to compile only PS3, the find all such kind of lines in your .fx:
And replace vs_2_0 and ps_2_0 to vs_3_0 and ps_3_0. Everywhere.
technique ImagePS2 { pass Pass_0 { VertexShader = compile vs_2_0 VSGeneral(false); PixelShader = compile ps_2_0 PSImage(false); } }
And replace vs_2_0 and ps_2_0 to vs_3_0 and ps_3_0. Everywhere.
Peter,
I have thought about this, but do we not still have the forced issue of supporting Shader Model 2? I think James would insist that it still be supported. From my point of view, yes I would like to discard Shader Model 2 and if support for WinXP stops, we will certainly be moving beyond Shader Model 3 also. Thanks for showing me just how easy it is to stop runtime compilation of Shader Model 2!
Thanks...!