Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Can anyone help me with this hlsl error please?

$
0
0
This is my vertex shader and I am getting this error, i tried googling which said something about not using a semantic so they discard it. So further down I tried “using” the semantic but I think I did it wrong.
Here is my pixel shader, when I remove lines 7-10 the error goes away.
Here is my input layout creation. Any help would be greatly appreciated! Usually I google error but I can't find much on this error.

Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>