27 Jul
2023
27 Jul
'23
2:38 p.m.
On Thu Jul 27 11:21:57 2023 +0000, Giovanni Mascellani wrote:
So it seems that `name` is only used to check that the function is a DX intrinsic (if it starts with `"dx.op."`) but is otherwise ignored to determine which intrinsic to call (and the first operand is used instead). This sounds pretty funny, you confirm that's intended? Maybe there could be a little comment about that. It's how Microsoft hacked shader instructions into LLVM. The first parameter is really an opcode.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/283#note_40537