mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/spirv: Handle ITOI and UTOU in spirv_compiler_map_alu_instruction().
These instructions perform integer casts to/from 64 bits.
This commit is contained in:
committed by
Alexandre Julliard
parent
1eaa7d1dbe
commit
812f01c2e2
Notes:
Alexandre Julliard
2024-01-02 23:08:54 +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/490
@@ -6697,12 +6697,14 @@ static SpvOp spirv_compiler_map_alu_instruction(const struct vkd3d_shader_instru
|
||||
{VKD3DSIH_ISHR, SpvOpShiftRightArithmetic},
|
||||
{VKD3DSIH_ITOD, SpvOpConvertSToF},
|
||||
{VKD3DSIH_ITOF, SpvOpConvertSToF},
|
||||
{VKD3DSIH_ITOI, SpvOpSConvert},
|
||||
{VKD3DSIH_MUL, SpvOpFMul},
|
||||
{VKD3DSIH_NOT, SpvOpNot},
|
||||
{VKD3DSIH_OR, SpvOpBitwiseOr},
|
||||
{VKD3DSIH_USHR, SpvOpShiftRightLogical},
|
||||
{VKD3DSIH_UTOD, SpvOpConvertUToF},
|
||||
{VKD3DSIH_UTOF, SpvOpConvertUToF},
|
||||
{VKD3DSIH_UTOU, SpvOpUConvert},
|
||||
{VKD3DSIH_XOR, SpvOpBitwiseXor},
|
||||
};
|
||||
unsigned int i;
|
||||
|
Reference in New Issue
Block a user