d3dcompiler_43: Make debug_{base,node}_type() static.
This commit is contained in:
parent
42e77c849f
commit
b0a339707f
|
@ -834,7 +834,6 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx) DECLSPEC_HIDDEN;
|
|||
struct bwriter_shader *parse_hlsl_shader(const char *text, enum shader_type type, DWORD version,
|
||||
const char *entrypoint, char **messages) DECLSPEC_HIDDEN;
|
||||
|
||||
const char *debug_base_type(const struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
const char *debug_hlsl_type(const struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
const char *debug_modifiers(DWORD modifiers) DECLSPEC_HIDDEN;
|
||||
void free_hlsl_type(struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
|
|
|
@ -886,7 +886,7 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
const char *debug_base_type(const struct hlsl_type *type)
|
||||
static const char *debug_base_type(const struct hlsl_type *type)
|
||||
{
|
||||
const char *name = "(unknown)";
|
||||
|
||||
|
@ -961,7 +961,7 @@ const char *debug_modifiers(DWORD modifiers)
|
|||
return wine_dbg_sprintf("%s", string[0] ? string + 1 : "");
|
||||
}
|
||||
|
||||
const char *debug_node_type(enum hlsl_ir_node_type type)
|
||||
static const char *debug_node_type(enum hlsl_ir_node_type type)
|
||||
{
|
||||
const char *names[] =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue