I am currently working on some HSLS effects, based on the HSLS samples on codeplex when I ran into this issue. If you try to compile the code below, the compiler task will blow up memory usage of the devenv to over 1GB and then returns with a "NullReferenceException":
Error 2 The "PixelShaderCompile" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) H:\Visual Studio 2008\Projects\ControlledTransitions\TransitionEffects\WPFTransitionEffects.csproj
146 5 WPFTransitionEffects
I do not get any error message from the compiler itself, like it should normally be. This happens on both VS2008 and 2010, with WinSDK 6.1 as well as 7.1. Sometimes even VS crashes completely.
Here is the code causing the issue:
float progress : register(C0);
float2 twistAmount : register(C1);
sampler2D implicitInput : register(s0);
sampler2D oldInput : register(s1);
float4 SampleWithBorder(float4 bo
View Complete Post