mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/msl: Implement VKD3DSIH_XOR.
This commit is contained in:
Notes:
Henri Verbeet
2025-06-11 20:37:50 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1560
@@ -1170,6 +1170,9 @@ static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d
|
|||||||
case VKD3DSIH_SWITCH:
|
case VKD3DSIH_SWITCH:
|
||||||
msl_switch(gen, ins);
|
msl_switch(gen, ins);
|
||||||
break;
|
break;
|
||||||
|
case VKD3DSIH_XOR:
|
||||||
|
msl_binop(gen, ins, "^");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
msl_unhandled(gen, ins);
|
msl_unhandled(gen, ins);
|
||||||
break;
|
break;
|
||||||
|
@@ -106,7 +106,7 @@ uint4 main() : SV_TARGET
|
|||||||
|
|
||||||
[test]
|
[test]
|
||||||
uniform 0 uint4 0xccaa5533 7 1 2
|
uniform 0 uint4 0xccaa5533 7 1 2
|
||||||
todo(msl) draw quad
|
draw quad
|
||||||
probe (0, 0) u32(0xff77, 0xf, 0x407f, 0x9)
|
probe (0, 0) u32(0xff77, 0xf, 0x407f, 0x9)
|
||||||
|
|
||||||
% Minimum precision vectors in constant buffers have inconsistent behavior with
|
% Minimum precision vectors in constant buffers have inconsistent behavior with
|
||||||
|
Reference in New Issue
Block a user