14 Apr
2023
14 Apr
'23
1:45 p.m.
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!
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/157#note_30093