mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Rename hlsl_get_func_decl() to hlsl_get_first_func_decl().
This commit is contained in:
committed by
Alexandre Julliard
parent
3e35570221
commit
2b59a759d5
Notes:
Alexandre Julliard
2023-11-10 00:10:07 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/454
@@ -825,7 +825,7 @@ struct hlsl_ir_function *hlsl_get_function(struct hlsl_ctx *ctx, const char *nam
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct hlsl_ir_function_decl *hlsl_get_func_decl(struct hlsl_ctx *ctx, const char *name)
|
||||
struct hlsl_ir_function_decl *hlsl_get_first_func_decl(struct hlsl_ctx *ctx, const char *name)
|
||||
{
|
||||
struct hlsl_ir_function_decl *decl;
|
||||
struct hlsl_ir_function *func;
|
||||
@@ -3740,7 +3740,7 @@ struct hlsl_ir_function_decl *hlsl_compile_internal_function(struct hlsl_ctx *ct
|
||||
hlsl_release_string_buffer(ctx, internal_name);
|
||||
return NULL;
|
||||
}
|
||||
func = hlsl_get_func_decl(ctx, internal_name->buffer);
|
||||
func = hlsl_get_first_func_decl(ctx, internal_name->buffer);
|
||||
hlsl_release_string_buffer(ctx, internal_name);
|
||||
return func;
|
||||
}
|
||||
|
Reference in New Issue
Block a user