vkd3d-shader/hlsl: Implement the InterlockedAnd() intrinsic.

This commit is contained in:
Shaun Ren
2024-12-12 17:57:27 -05:00
committed by Henri Verbeet
parent 660a71ef22
commit 3b19a4aaf3
Notes: Henri Verbeet 2025-01-20 16:18:51 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Elizabeth Figura (@zfigura)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1330
5 changed files with 13 additions and 0 deletions

View File

@@ -3507,6 +3507,7 @@ static void dump_ir_interlocked(struct vkd3d_string_buffer *buffer, const struct
static const char *const op_names[] =
{
[HLSL_INTERLOCKED_ADD] = "add",
[HLSL_INTERLOCKED_AND] = "and",
};
VKD3D_ASSERT(interlocked->op < ARRAY_SIZE(op_names));