mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Implement VKD3DSIH_FTOU.
This commit is contained in:
parent
9fd7f4f1ec
commit
a7ae6404de
Notes:
Henri Verbeet
2024-11-27 14:12:36 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1283
@ -516,6 +516,9 @@ static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d
|
||||
case VKD3DSIH_FTOI:
|
||||
msl_cast(gen, ins, "int");
|
||||
break;
|
||||
case VKD3DSIH_FTOU:
|
||||
msl_cast(gen, ins, "uint");
|
||||
break;
|
||||
case VKD3DSIH_GEO:
|
||||
msl_relop(gen, ins, ">=");
|
||||
break;
|
||||
|
@ -25,7 +25,7 @@ uniform 0 float 2.6
|
||||
uniform 1 int 2
|
||||
uniform 2 int -2
|
||||
uniform 3 float -3.6
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user