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
447463e5
Commit
447463e5
authored
2 years ago
by
Elizabeth Figura
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
vkd3d-shader/hlsl: Remove the unused "intrinsic" argument from hlsl_add_function().
parent
6c2472ce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!63
hlsl: Recursive function calls.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libs/vkd3d-shader/hlsl.c
+1
-1
1 addition, 1 deletion
libs/vkd3d-shader/hlsl.c
libs/vkd3d-shader/hlsl.h
+1
-1
1 addition, 1 deletion
libs/vkd3d-shader/hlsl.h
libs/vkd3d-shader/hlsl.y
+1
-1
1 addition, 1 deletion
libs/vkd3d-shader/hlsl.y
with
3 additions
and
3 deletions
libs/vkd3d-shader/hlsl.c
+
1
−
1
View file @
447463e5
...
...
@@ -2185,7 +2185,7 @@ static void free_function_rb(struct rb_entry *entry, void *context)
free_function
(
RB_ENTRY_VALUE
(
entry
,
struct
hlsl_ir_function
,
entry
));
}
void
hlsl_add_function
(
struct
hlsl_ctx
*
ctx
,
char
*
name
,
struct
hlsl_ir_function_decl
*
decl
,
bool
intrinsic
)
void
hlsl_add_function
(
struct
hlsl_ctx
*
ctx
,
char
*
name
,
struct
hlsl_ir_function_decl
*
decl
)
{
struct
hlsl_ir_function
*
func
;
struct
rb_entry
*
func_entry
,
*
old_entry
;
...
...
This diff is collapsed.
Click to expand it.
libs/vkd3d-shader/hlsl.h
+
1
−
1
View file @
447463e5
...
...
@@ -950,7 +950,7 @@ struct vkd3d_string_buffer *hlsl_type_to_string(struct hlsl_ctx *ctx, const stru
struct
vkd3d_string_buffer
*
hlsl_modifiers_to_string
(
struct
hlsl_ctx
*
ctx
,
unsigned
int
modifiers
);
const
char
*
hlsl_node_type_to_string
(
enum
hlsl_ir_node_type
type
);
void
hlsl_add_function
(
struct
hlsl_ctx
*
ctx
,
char
*
name
,
struct
hlsl_ir_function_decl
*
decl
,
bool
intrinsic
);
void
hlsl_add_function
(
struct
hlsl_ctx
*
ctx
,
char
*
name
,
struct
hlsl_ir_function_decl
*
decl
);
bool
hlsl_add_var
(
struct
hlsl_ctx
*
ctx
,
struct
hlsl_ir_var
*
decl
,
bool
local_var
);
void
hlsl_dump_function
(
struct
hlsl_ctx
*
ctx
,
const
struct
hlsl_ir_function_decl
*
func
);
...
...
This diff is collapsed.
Click to expand it.
libs/vkd3d-shader/hlsl.y
+
1
−
1
View file @
447463e5
...
...
@@ -3701,7 +3701,7 @@ hlsl_prog:
}
}
hlsl_add_function(ctx, $2.name, $2.decl
, false
);
hlsl_add_function(ctx, $2.name, $2.decl);
}
| hlsl_prog buffer_declaration buffer_body
| hlsl_prog declaration_statement
...
...
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