DX11 Compiler bug


I’m trying to port a shader from Kalle, for texture projection.

Actually, the shader is still wrong but the compiler doesn’t return any error so I can’t really find what to do.

Any idea ?


ProjectorDX11.fx (2.1 kB)

after rewriting the shader, found that the actual problem for compiler was at the end:
technique -> technique11

ah right, thanks !

Yeah, i also stuck on this first time and without vux help it’s was impossible to understand, where is the problem. Can we throw exception for this?

yea, it’s one of the silent ones