12 Oct
2023
12 Oct
'23
11:21 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.h:
bool hlsl_fold_constant_swizzles(struct hlsl_ctx *ctx, struct hlsl_ir_node *instr, void *context); bool hlsl_transform_ir(struct hlsl_ctx *ctx, bool (*func)(struct hlsl_ctx *ctx, struct hlsl_ir_node *, void *), struct hlsl_block *block, void *context); +unsigned int evaluate_static_expression_as_uint(struct hlsl_ctx *ctx, struct hlsl_block *block, + const struct vkd3d_shader_location *loc); We use the `hlsl_` prefix for non-static functions.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/361#note_48469