6 Feb
2023
6 Feb
'23
2:09 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.c:
return strcmp(name, type->name); }
+static struct hlsl_scope *hlsl_new_scope(struct hlsl_ctx *ctx, struct hlsl_scope *upper) +{ + struct hlsl_scope *scope; + + if (!(scope = hlsl_alloc(ctx, sizeof(*scope)))) + return NULL; + TRACE("Pushing a new scope.\n");
This is already done by the caller. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/77#note_23072