mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Translate ieq instruction.
This commit is contained in:
parent
6fa98eb77c
commit
6eb2d9cee4
@ -1994,6 +1994,9 @@ static void vkd3d_dxbc_compiler_emit_comparison_instruction(struct vkd3d_dxbc_co
|
||||
case VKD3DSIH_EQ:
|
||||
op = SpvOpFOrdEqual;
|
||||
break;
|
||||
case VKD3DSIH_IEQ:
|
||||
op = SpvOpIEqual;
|
||||
break;
|
||||
case VKD3DSIH_NE:
|
||||
op = SpvOpFUnordNotEqual;
|
||||
break;
|
||||
@ -2147,6 +2150,7 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
|
||||
vkd3d_dxbc_compiler_emit_dot(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_EQ:
|
||||
case VKD3DSIH_IEQ:
|
||||
case VKD3DSIH_NE:
|
||||
vkd3d_dxbc_compiler_emit_comparison_instruction(compiler, instruction);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user