On Mon Nov 6 14:45:23 2023 +0000, Conor McCarthy wrote:
Thus far I've always changed the SPIR-V backend before the DXIL frontend, but it can certainly be done the other way around: add the instruction and allow compilation to fail in the backend until patched.
There's a problem with changing the backend last: shader runner is not designed to handle backend failure, and it crashes. We could patch that, but I'm not sure how useful it would be in the long term.