Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
d8d24141
Commit
d8d24141
authored
11 months ago
by
Victor Chiletto
Committed by
Alexandre Julliard
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
tests/hlsl: Add a test for the XOR assign operator.
parent
7d3c286e
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!872
vkd3d-shader/hlsl: Fix XOR assign operator lexing.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/hlsl/bitwise.shader_test
+20
-0
20 additions, 0 deletions
tests/hlsl/bitwise.shader_test
with
20 additions
and
0 deletions
tests/hlsl/bitwise.shader_test
+
20
−
0
View file @
d8d24141
...
...
@@ -96,6 +96,26 @@ float4 main() : SV_TARGET
todo(glsl) draw quad
probe all rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader todo(sm<6)]
float4 main() : SV_TARGET
{
int a = 0;
int b = 0;
int c = 1;
int d = 1;
a ^= 0;
b ^= 1;
c ^= 0;
d ^= 1;
return float4(a, b, c, d);
}
[test]
todo(glsl|sm<6) draw quad
probe all rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader]
float4 main() : SV_TARGET
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment