Skip to content

Instantly share code, notes, and snippets.

@JonRurka
Created May 14, 2015 06:45
Show Gist options
  • Save JonRurka/ce2a59f8aabbbc726119 to your computer and use it in GitHub Desktop.
Save JonRurka/ce2a59f8aabbbc726119 to your computer and use it in GitHub Desktop.
System.AggregateException: One or more errors occurred. ---> System.InvalidOpera
tionException: Could not compile shader. See error messages.[]: Error: C:/Progra
m Files/Silicon Studio Corp/Paradox/GamePackages/Paradox.1.1.0-beta/Assets/Share
d/Images/DepthMinMax/DepthMinMaxShader.pdxsl(28,25-89): error X4532: cannot map
expression to ps_4_0 instruction set
at SiliconStudio.Paradox.Rendering.EffectSystem.CheckResult(LoggerResult comp
ilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.CreateEffect(String effectNam
e, EffectBytecodeCompilerResult effectBytecodeCompilerResult, CompilerResults co
mpilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.<>c__DisplayClass6. t>b__4(Task1 x) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke(
)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotifica tion) at System.Threading.Tasks.Task1.get_Result()
at SiliconStudio.Paradox.Shaders.Compiler.TaskOrResult1.WaitForResult() at SiliconStudio.Paradox.Rendering.DynamicEffectCompiler.CreateEffect(Dynamic EffectInstance effectInstance, ParameterCollection passParameters) at SiliconStudio.Paradox.Rendering.DynamicEffectCompiler.Update(DynamicEffect Instance effectInstance, ParameterCollection passParameters) at SiliconStudio.Paradox.Rendering.Images.ImageEffectShader.UpdateEffect() at SiliconStudio.Paradox.Rendering.Images.ImageEffectShader.DrawCore(RenderCo ntext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.Images.DepthMinMax.DrawCore(RenderContext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.Shadows.LightDirectionalShadowMapRenderer. DepthReadback.DrawCore(RenderContext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.SceneCameraRenderer.DrawCore(RenderContext context, RenderFrame output) at SiliconStudio.Paradox.Rendering.SceneRendererBase.DrawCore(RenderContext c ontext) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.GraphicsRendererCollection1.DrawRenderer(
RenderContext context, T renderer)
at SiliconStudio.Paradox.Rendering.GraphicsRendererCollectionBase`1.DrawCore(
RenderContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Rendering.Composers.SceneGraphicsLayer.DrawCore(Rend
erContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Rendering.Composers.SceneGraphicsCompositorLayers.Dr
awCore(RenderContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Engine.SceneInstance.Draw(RenderContext context, Ren
derFrame toFrame, ISceneGraphicsCompositor compositorOverride)
---> (Inner Exception #0) System.InvalidOperationException: Could not compile sh
ader. See error messages.[]: Error: C:/Program Files/Silicon Studio Corp/Paradox
/GamePackages/Paradox.1.1.0-beta/Assets/Shared/Images/DepthMinMax/DepthMinMaxSha
der.pdxsl(28,25-89): error X4532: cannot map expression to ps_4_0 instruction se
t
at SiliconStudio.Paradox.Rendering.EffectSystem.CheckResult(LoggerResult comp
ilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.CreateEffect(String effectNam
e, EffectBytecodeCompilerResult effectBytecodeCompilerResult, CompilerResults co
mpilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.<>c__DisplayClass6. t>b__4(Task1 x) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke(
)
at System.Threading.Tasks.Task.Execute()<---
[SceneInstance]: Error: An exception occurred while rendering. System.AggregateE
xception: One or more errors occurred. ---> System.InvalidOperationException: Co
uld not compile shader. See error messages.[]: Error: C:/Program Files/Silicon S
tudio Corp/Paradox/GamePackages/Paradox.1.1.0-beta/Assets/Shared/Images/DepthMin
Max/DepthMinMaxShader.pdxsl(28,25-89): error X4532: cannot map expression to ps_
4_0 instruction set
at SiliconStudio.Paradox.Rendering.EffectSystem.CheckResult(LoggerResult comp
ilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.CreateEffect(String effectNam
e, EffectBytecodeCompilerResult effectBytecodeCompilerResult, CompilerResults co
mpilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.<>c__DisplayClass6. t>b__4(Task1 x) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke(
)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotifica tion) at System.Threading.Tasks.Task1.get_Result()
at SiliconStudio.Paradox.Shaders.Compiler.TaskOrResult1.WaitForResult() at SiliconStudio.Paradox.Rendering.DynamicEffectCompiler.CreateEffect(Dynamic EffectInstance effectInstance, ParameterCollection passParameters) at SiliconStudio.Paradox.Rendering.DynamicEffectCompiler.Update(DynamicEffect Instance effectInstance, ParameterCollection passParameters) at SiliconStudio.Paradox.Rendering.Images.ImageEffectShader.UpdateEffect() at SiliconStudio.Paradox.Rendering.Images.ImageEffectShader.DrawCore(RenderCo ntext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.Images.DepthMinMax.DrawCore(RenderContext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.Shadows.LightDirectionalShadowMapRenderer. DepthReadback.DrawCore(RenderContext context) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.SceneCameraRenderer.DrawCore(RenderContext context, RenderFrame output) at SiliconStudio.Paradox.Rendering.SceneRendererBase.DrawCore(RenderContext c ontext) at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context) at SiliconStudio.Paradox.Rendering.GraphicsRendererCollection1.DrawRenderer(
RenderContext context, T renderer)
at SiliconStudio.Paradox.Rendering.GraphicsRendererCollectionBase`1.DrawCore(
RenderContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Rendering.Composers.SceneGraphicsLayer.DrawCore(Rend
erContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Rendering.Composers.SceneGraphicsCompositorLayers.Dr
awCore(RenderContext context)
at SiliconStudio.Paradox.Rendering.RendererBase.Draw(RenderContext context)
at SiliconStudio.Paradox.Engine.SceneInstance.Draw(RenderContext context, Ren
derFrame toFrame, ISceneGraphicsCompositor compositorOverride)
---> (Inner Exception #0) System.InvalidOperationException: Could not compile sh
ader. See error messages.[]: Error: C:/Program Files/Silicon Studio Corp/Paradox
/GamePackages/Paradox.1.1.0-beta/Assets/Shared/Images/DepthMinMax/DepthMinMaxSha
der.pdxsl(28,25-89): error X4532: cannot map expression to ps_4_0 instruction se
t
at SiliconStudio.Paradox.Rendering.EffectSystem.CheckResult(LoggerResult comp
ilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.CreateEffect(String effectNam
e, EffectBytecodeCompilerResult effectBytecodeCompilerResult, CompilerResults co
mpilerResult)
at SiliconStudio.Paradox.Rendering.EffectSystem.<>c__DisplayClass6. t>b__4(Task1 x) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke(
)
at System.Threading.Tasks.Task.Execute()<---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment