Skip to content
Snippets Groups Projects
Commit fa5708d3 authored by Victor Chiletto's avatar Victor Chiletto Committed by Alexandre Julliard
Browse files

vkd3d-shader/hlsl: Fix XOR assign operator lexing.

parent d8d24141
No related branches found
No related tags found
1 merge request!872vkd3d-shader/hlsl: Fix XOR assign operator lexing.
Pipeline #26727 skipped
......@@ -191,7 +191,7 @@ while {return KW_WHILE; }
%= {return OP_MODASSIGN; }
&= {return OP_ANDASSIGN; }
\|= {return OP_ORASSIGN; }
^= {return OP_XORASSIGN; }
\^= {return OP_XORASSIGN; }
{IDENTIFIER} {
struct hlsl_ctx *ctx = yyget_extra(yyscanner);
......
......@@ -96,7 +96,7 @@ float4 main() : SV_TARGET
todo(glsl) draw quad
probe all rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader todo(sm<6)]
[pixel shader]
float4 main() : SV_TARGET
{
int a = 0;
......@@ -113,7 +113,7 @@ float4 main() : SV_TARGET
}
[test]
todo(glsl|sm<6) draw quad
todo(glsl) draw quad
probe all rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment