Francisco Casas (@fcasas) commented about libs/vkd3d-shader/hlsl.c:
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)
I think it also makes sense to get rid of the `intrinsic` argument.