mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Implement VKD3DSIH_GEO.
This commit is contained in:
parent
38d7f8415d
commit
154847c696
Notes:
Henri Verbeet
2024-11-25 21:02:08 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1277
@ -451,6 +451,9 @@ static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d
|
||||
case VKD3DSIH_DIV:
|
||||
msl_binop(gen, ins, "/");
|
||||
break;
|
||||
case VKD3DSIH_GEO:
|
||||
msl_relop(gen, ins, ">=");
|
||||
break;
|
||||
case VKD3DSIH_INE:
|
||||
case VKD3DSIH_NEU:
|
||||
msl_relop(gen, ins, "!=");
|
||||
|
@ -9,7 +9,7 @@ float4 main() : sv_target
|
||||
[test]
|
||||
uniform 0 float4 5.0 -2.6 3.0 2.0
|
||||
uniform 4 float4 1.0 -4.3 3.0 4.0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (0.0, 0.0, 1.0, 1.0)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user