On Wed Oct 4 19:59:23 2023 +0000, Zebediah Figura wrote:
Did you actually find a native shader that has "color" in the output signature? According to my tests native will actually output "SV_Target" in this case. That probably implies we should do the same, arguably even fixing that bug before we apply 2/2.
No, I didn't find a native shader like that. On Windows it's always using sv_target, like you said. 2/2 is exactly to fix that. First patch 1/2 is to be able to dump broken output we currently create. Because it does not fail to disassemble on Windows.