visual studio 2013 - VS2013: Compiling Shaders with Shader Model 5.0 -


When I try to compile two HLSL files included in my project, the compilation fails with an error :

Error Error X4502: Invalid vs_2_0 Input Meaning 'INSTANCE'

However, I think this is trying to use shader model 2.0 is; When I'm trying to use 5.0:

Selected in Project Properties page

When I told VS to use 5.0 then why is there a shader compiler trying to use the 2.0 model? Or have I misunderstood?

You just have to set the "Shader Type" attribute on right, you are trying to compile shader Type problem Ahia.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -