mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Implement VKD3DSIH_USHR.
This commit is contained in:
parent
138e7caa03
commit
9d4bcc951d
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
@ -649,6 +649,7 @@ static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d
|
|||||||
msl_binop(gen, ins, "<<");
|
msl_binop(gen, ins, "<<");
|
||||||
break;
|
break;
|
||||||
case VKD3DSIH_ISHR:
|
case VKD3DSIH_ISHR:
|
||||||
|
case VKD3DSIH_USHR:
|
||||||
msl_binop(gen, ins, ">>");
|
msl_binop(gen, ins, ">>");
|
||||||
break;
|
break;
|
||||||
case VKD3DSIH_LTO:
|
case VKD3DSIH_LTO:
|
||||||
|
@ -15,7 +15,7 @@ float4 main() : SV_TARGET
|
|||||||
|
|
||||||
[test]
|
[test]
|
||||||
uniform 0 uint4 2 0 0 0
|
uniform 0 uint4 2 0 0 0
|
||||||
todo(msl) draw quad
|
draw quad
|
||||||
probe (0, 0) rgba (8, 8, 0, 0)
|
probe (0, 0) rgba (8, 8, 0, 0)
|
||||||
|
|
||||||
[pixel shader]
|
[pixel shader]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user