On Wed Feb 7 10:22:31 2024 +0000, Giovanni Mascellani wrote:
BTW, superficially it looks like as if code could be shared between `hlsl_fx_4_write()` and `hlsl_fx_5_write()`.
Yes, it's possible to do, but I wanted to keep it as simple as possible first, avoiding conditionally added format fields. There won't be any more duplication there than it already is.