mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Move hlsl_ir_function_decl->extern_vars to a local variable.
This commit is contained in:
committed by
Henri Verbeet
parent
db80f09c7a
commit
a7266284ee
Notes:
Henri Verbeet
2025-07-23 17:30:00 +02:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1471
@@ -2998,7 +2998,6 @@ struct hlsl_ir_function_decl *hlsl_new_func_decl(struct hlsl_ctx *ctx,
|
||||
decl->return_type = return_type;
|
||||
decl->parameters = *parameters;
|
||||
decl->loc = *loc;
|
||||
list_init(&decl->extern_vars);
|
||||
|
||||
if (!hlsl_types_are_equal(return_type, ctx->builtin_types.Void))
|
||||
{
|
||||
|
Reference in New Issue
Block a user