mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Translate atomic_umin instructions.
This commit is contained in:
parent
a836cc2fe3
commit
d464c9033f
@ -4682,6 +4682,7 @@ static SpvOp vkd3d_dxbc_compiler_map_atomic_instruction(const struct vkd3d_shade
|
||||
{
|
||||
{VKD3DSIH_ATOMIC_IADD, SpvOpAtomicIAdd},
|
||||
{VKD3DSIH_ATOMIC_OR, SpvOpAtomicOr},
|
||||
{VKD3DSIH_ATOMIC_UMIN, SpvOpAtomicUMin},
|
||||
{VKD3DSIH_IMM_ATOMIC_EXCH, SpvOpAtomicExchange},
|
||||
};
|
||||
unsigned int i;
|
||||
@ -5111,6 +5112,7 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
|
||||
break;
|
||||
case VKD3DSIH_ATOMIC_IADD:
|
||||
case VKD3DSIH_ATOMIC_OR:
|
||||
case VKD3DSIH_ATOMIC_UMIN:
|
||||
case VKD3DSIH_IMM_ATOMIC_EXCH:
|
||||
vkd3d_dxbc_compiler_emit_atomic_instruction(compiler, instruction);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user