mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d-shader: Translate ushr instruction.
This commit is contained in:
@@ -1760,6 +1760,7 @@ static SpvOp vkd3d_dxbc_compiler_map_alu_instruction(const struct vkd3d_shader_i
|
|||||||
{VKD3DSIH_IADD, SpvOpIAdd},
|
{VKD3DSIH_IADD, SpvOpIAdd},
|
||||||
{VKD3DSIH_ITOF, SpvOpConvertSToF},
|
{VKD3DSIH_ITOF, SpvOpConvertSToF},
|
||||||
{VKD3DSIH_MUL, SpvOpFMul},
|
{VKD3DSIH_MUL, SpvOpFMul},
|
||||||
|
{VKD3DSIH_USHR, SpvOpShiftRightLogical},
|
||||||
{VKD3DSIH_UTOF, SpvOpConvertUToF},
|
{VKD3DSIH_UTOF, SpvOpConvertUToF},
|
||||||
};
|
};
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
@@ -2182,6 +2183,7 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
|
|||||||
case VKD3DSIH_IADD:
|
case VKD3DSIH_IADD:
|
||||||
case VKD3DSIH_ITOF:
|
case VKD3DSIH_ITOF:
|
||||||
case VKD3DSIH_MUL:
|
case VKD3DSIH_MUL:
|
||||||
|
case VKD3DSIH_USHR:
|
||||||
case VKD3DSIH_UTOF:
|
case VKD3DSIH_UTOF:
|
||||||
vkd3d_dxbc_compiler_emit_alu_instruction(compiler, instruction);
|
vkd3d_dxbc_compiler_emit_alu_instruction(compiler, instruction);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user