2016-11-13 12:35 GMT-06:00 Andrew Wesie awesie@gmail.com:
Signed-off-by: Andrew Wesie awesie@gmail.com
It looks like you're never declaring shader outputs as flat. Is the potential mismatch with the shader input declarations a problem?
BTW, I find it a bit surprising that flat varyings are actually used in SM4+ applications, AFAIK there is no way to mark inputs / outputs as flat in HLSL, which would suggest some kind of manual tinkering with the shader bytecode is required to use them.