Shader errors when building

Oct 26, 2008 at 5:24 PM
Edited Oct 26, 2008 at 5:25 PM
When trying to build the ShaderEffectLibrary, I get several errors;

------ Build started: Project: TransitionEffects, Configuration: Debug Any CPU ------
ShaderSource\LeastBrightTransitionEffect.fx(33-33): Shader error : error X5608: Compiled shader code uses too many arithmetic instruction slots (65). Max. allowed by the target (ps_2_0) is 64.
ShaderSource\LeastBrightTransitionEffect.fx(33-33): Shader error :
ShaderSource\MostBrightTransitionEffect.fx(33-33): Shader error : error X5608: Compiled shader code uses too many arithmetic instruction slots (65). Max. allowed by the target (ps_2_0) is 64.
ShaderSource\MostBrightTransitionEffect.fx(33-33): Shader error :
ShaderSource\ShrinkTransitionEffect.fx(30-30): Shader error : error X3500: asymetric returns from if statements not yet implemented
ShaderSource\ShrinkTransitionEffect.fx(30-30): Shader error :
Done building project "TransitionEffects.csproj" -- FAILED.

Any ideas?
Coordinator
Oct 29, 2008 at 7:26 PM
Marcel, you need the latest DirectX  SDK to compile the effects..  You can get it for free from MS Download center..