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
5ae06816
Commit
5ae06816
authored
1 year ago
by
Conor McCarthy
Committed by
Alexandre Julliard
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
vkd3d-shader/tpf: Return an error from vkd3d_shader_sm4_parser_create() if the parser failed.
parent
85eb2314
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!197
vkd3d-shader: Maintenance patches
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/vkd3d-shader/tpf.c
+1
-1
1 addition, 1 deletion
libs/vkd3d-shader/tpf.c
with
1 addition
and
1 deletion
libs/vkd3d-shader/tpf.c
+
1
−
1
View file @
5ae06816
...
...
@@ -2202,7 +2202,7 @@ int vkd3d_shader_sm4_parser_create(const struct vkd3d_shader_compile_info *compi
*
parser
=
&
sm4
->
p
;
return
VKD3D_OK
;
return
sm4
->
p
.
failed
?
VKD3D_ERROR_INVALID_SHADER
:
VKD3D_OK
;
}
static
void
write_sm4_block
(
struct
hlsl_ctx
*
ctx
,
struct
vkd3d_bytecode_buffer
*
buffer
,
const
struct
hlsl_block
*
block
);
...
...
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