27 May
2023
27 May
'23
9:38 a.m.
On Sat May 27 09:38:47 2023 +0000, Zebediah Figura wrote:
Note that sm4 discard instructions are also inherently conditional, but keyed on either zero or nonzero instead. Accordingly we may want different variations, like HLSL_JUMP_DISCARD_NEGATIVE and HLSL_JUMP_DISCARD_ZERO, and then lower clip() to something that uses sm4 conditional discard. I think they always use discard_nz variant, but I'm not entirely sure.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/211#note_34030