HLSL compiles with Visual Studio, but not with D3DCompileFromFile
I’m quickly going crazy trying to find what’s causing this to not compile with D3DCompileFromFile
, but I’m getting nowhere. I’d greatly appreciate if someone would please look over this short shader code and tell me whether there’s an error I’m missing.