28 Mar
2024
28 Mar
'24
8:11 p.m.
``` HLSL_IR_JUMP_DISCARD_NEG, + /* DISCARD_NZ cancels rendering of the current pixel if the condition, which in HLSL IR is + expected be a bool scalar, is true. */ HLSL_IR_JUMP_DISCARD_NZ, HLSL_IR_JUMP_RETURN, + /* JUMP_TEXKILL cancels rendering of the current pixel if the condition, which in HLSL IR is + expected to be a float scalar, is negative. */ + HLSL_IR_JUMP_TEXKILL, ```
How is TEXKILL different from DISCARD_NEG, then? That needs to be made clear. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/744#note_66417