mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Remove the unused "intrinsic" argument from hlsl_add_function().
This commit is contained in:
parent
6c2472ce16
commit
447463e590
Notes:
Alexandre Julliard
2023-01-19 22:45:50 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/63
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user