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
791f8a8f
Commit
791f8a8f
authored
2 years ago
by
Francisco Casas
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
tests: Rename structs for readability in broadcast test.
parent
3bae0c92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!29
vkd3d-shader/hlsl: Support complex implicit casts, complex explicit casts and complex broadcasts. (PART 1/2)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/cast-broadcast.shader_test
+4
-5
4 additions, 5 deletions
tests/cast-broadcast.shader_test
with
4 additions
and
5 deletions
tests/cast-broadcast.shader_test
+
4
−
5
View file @
791f8a8f
[pixel shader]
struct foo
struct apple
{
float3 aa;
float4 bb;
};
struct ba
r
struct ba
nana
{
struct
foo
aa;
struct
apple
aa;
int2 bb;
int4 cc[8];
};
float4 main() : SV_TARGET
{
struct ba
r
p = (struct ba
r
)42;
struct ba
nana
p = (struct ba
nana
)42;
return p.aa.bb + p.cc[5];
}
...
...
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