mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Implement VKD3DSIH_ISHL.
This commit is contained in:
parent
a425c242a4
commit
5d6ed0fa30
Notes:
Henri Verbeet
2024-12-05 21:36:59 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1302
@ -645,6 +645,9 @@ static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d
|
||||
case VKD3DSIH_IF:
|
||||
msl_if(gen, ins);
|
||||
break;
|
||||
case VKD3DSIH_ISHL:
|
||||
msl_binop(gen, ins, "<<");
|
||||
break;
|
||||
case VKD3DSIH_LTO:
|
||||
msl_relop(gen, ins, "<");
|
||||
break;
|
||||
|
@ -52,7 +52,7 @@ float4 main() : SV_TARGET
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 3 0 0 0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (280, 280, 0, 0)
|
||||
|
||||
[pixel shader]
|
||||
@ -72,7 +72,7 @@ float4 main() : SV_TARGET
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 2 0 0 0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (20, -48, 20, -48)
|
||||
|
||||
[pixel shader fail]
|
||||
|
Loading…
x
Reference in New Issue
Block a user