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
Merge requests
!931
tests: Add some fx profiles tests for structure types containing objects.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
tests: Add some fx profiles tests for structure types containing objects.
nsivov/vkd3d:fx_struct_object_fields
into
master
Overview
0
Commits
2
Pipelines
3
Changes
5
Merged
Nikolay Sivov
requested to merge
nsivov/vkd3d:fx_struct_object_fields
into
master
9 months ago
Overview
0
Commits
2
Pipelines
3
Changes
5
Expand
Signed-off-by: Nikolay Sivov
nsivov@codeweavers.com
Merge request reports
Compare
master
version 1
08886b64
9 months ago
master (base)
and
latest version
latest version
3dc43e89
2 commits,
9 months ago
version 1
08886b64
2 commits,
9 months ago
5 files
+
64
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
libs/vkd3d-shader/hlsl.y
+
4
−
1
Options
@@ -2518,8 +2518,11 @@ static void declare_var(struct hlsl_ctx *ctx, struct parse_variable_def *v)
if (!(modifiers & HLSL_STORAGE_STATIC))
var->storage_modifiers |= HLSL_STORAGE_UNIFORM;
if (ctx->profile->major_version < 5 && (var->storage_modifiers & HLSL_STORAGE_UNIFORM))
if ((ctx->profile->major_version < 5 || ctx->profile->type == VKD3D_SHADER_TYPE_EFFECT)
&& (var->storage_modifiers & HLSL_STORAGE_UNIFORM))
{
check_invalid_object_fields(ctx, var);
}
if ((func = hlsl_get_first_func_decl(ctx, var->name)))
{
Loading