mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/spirv: Introduce integer width cast instructions.
ITOI and UTOU may cast from a bool to a 32-bit integer. Cast to a 64-bit integer from a smaller type will be added later.
This commit is contained in:
committed by
Alexandre Julliard
parent
7de4ac2e48
commit
58ffb5d181
Notes:
Alexandre Julliard
2023-11-10 00:09:32 +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/436
@@ -199,6 +199,7 @@ static const char * const shader_opcode_names[] =
|
||||
[VKD3DSIH_ISHR ] = "ishr",
|
||||
[VKD3DSIH_ITOD ] = "itod",
|
||||
[VKD3DSIH_ITOF ] = "itof",
|
||||
[VKD3DSIH_ITOI ] = "itoi",
|
||||
[VKD3DSIH_LABEL ] = "label",
|
||||
[VKD3DSIH_LD ] = "ld",
|
||||
[VKD3DSIH_LD2DMS ] = "ld2dms",
|
||||
@@ -306,6 +307,7 @@ static const char * const shader_opcode_names[] =
|
||||
[VKD3DSIH_USHR ] = "ushr",
|
||||
[VKD3DSIH_UTOD ] = "utod",
|
||||
[VKD3DSIH_UTOF ] = "utof",
|
||||
[VKD3DSIH_UTOU ] = "utou",
|
||||
[VKD3DSIH_XOR ] = "xor",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user