I have a fairly standard vertex shader which is performing skinned animations.
I had previously been using DxC compiler version: dxcompiler.dll: 1.7 - 1.6.0.3503
Everything had been working fine with that compiler i.e. animations worked perfectly.
I upgraded to a more current version of the compiler (dxcompiler.dll: 1.7 - 1.7.0.3720), and now my shader is broken i.e. model / vertices are all messed up on screen.
I have double checked my code, and can't seem to find anything wrong with it. I also tried a couple other versions of the compiler (> 1.7 - 1.6.0.3503) and my shader seems to be broken in all of them. I have also tried many variations of flags, including turning on and off optimization with no changes in the outcome.
Both versions of the compiler are compiling the exact same code, except one works, and one does not.
I have included a disassembly of the output of both compiled SPIR-V files viz. working.txt and not-working.txt.
Would appreciate if someone more knowledgeable on the assembly could pinpoint what the issue might be (FYI, the assembly seems to deviate around line 356 in both files).
Thanks!
not-working.txt
working.txt
I have a fairly standard vertex shader which is performing skinned animations.
I had previously been using DxC compiler version: dxcompiler.dll: 1.7 - 1.6.0.3503
Everything had been working fine with that compiler i.e. animations worked perfectly.
I upgraded to a more current version of the compiler (dxcompiler.dll: 1.7 - 1.7.0.3720), and now my shader is broken i.e. model / vertices are all messed up on screen.
I have double checked my code, and can't seem to find anything wrong with it. I also tried a couple other versions of the compiler (> 1.7 - 1.6.0.3503) and my shader seems to be broken in all of them. I have also tried many variations of flags, including turning on and off optimization with no changes in the outcome.
Both versions of the compiler are compiling the exact same code, except one works, and one does not.
I have included a disassembly of the output of both compiled SPIR-V files viz. working.txt and not-working.txt.
Would appreciate if someone more knowledgeable on the assembly could pinpoint what the issue might be (FYI, the assembly seems to deviate around line 356 in both files).
Thanks!
not-working.txt
working.txt