mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/spirv: Handle the UMUL instruction.
This commit is contained in:
parent
acbc80cba2
commit
4905d047bd
Notes:
Alexandre Julliard
2023-11-06 23:18:07 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/409
@ -6949,7 +6949,7 @@ static void spirv_compiler_emit_imul(struct spirv_compiler *compiler,
|
||||
uint32_t type_id, val_id, src0_id, src1_id;
|
||||
|
||||
if (dst[0].reg.type != VKD3DSPR_NULL)
|
||||
FIXME("Extended multiplies not implemented.\n"); /* SpvOpSMulExtended */
|
||||
FIXME("Extended multiplies not implemented.\n"); /* SpvOpSMulExtended/SpvOpUMulExtended */
|
||||
|
||||
if (dst[1].reg.type == VKD3DSPR_NULL)
|
||||
return;
|
||||
@ -9440,6 +9440,7 @@ static int spirv_compiler_handle_instruction(struct spirv_compiler *compiler,
|
||||
spirv_compiler_emit_sincos(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_IMUL:
|
||||
case VKD3DSIH_UMUL:
|
||||
spirv_compiler_emit_imul(compiler, instruction);
|
||||
break;
|
||||
case VKD3DSIH_IMAD:
|
||||
|
Loading…
x
Reference in New Issue
Block a user