diff --git a/libs/vkd3d-shader/hlsl.l b/libs/vkd3d-shader/hlsl.l index 88b917ef..a5923d8b 100644 --- a/libs/vkd3d-shader/hlsl.l +++ b/libs/vkd3d-shader/hlsl.l @@ -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); diff --git a/tests/hlsl/bitwise.shader_test b/tests/hlsl/bitwise.shader_test index 008ddce3..63971f52 100644 --- a/tests/hlsl/bitwise.shader_test +++ b/tests/hlsl/bitwise.shader_test @@ -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]