On Fri Apr 14 09:21:58 2023 +0000, Giovanni Mascellani wrote:
This is technically an ABI violation, because `true` is represented in SM4 as `0xffffffff`, not `1`. In practice it shouldn't matter, but given that it's not that hard could you change the shader to
uniform uint4 b; float4 main() : sv_target { return any((bool4)b); }
and similar for the scalar case?
Done!