diff options
author | Alejandro Piñeiro <[email protected]> | 2018-03-28 14:59:26 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-06-21 14:25:05 +0200 |
commit | aa95f0bc5b05fdab4e258d02c1a69abd8317920e (patch) | |
tree | e85e93b3983eb68e032bd5532b1488fac354d502 /src/compiler/glsl/program.h | |
parent | b995bda9bca0d368f1433b153b64e5200d39bc1d (diff) |
compiler/link: add linker_util.h, move linker_error/warning to it
Linker utilities common to the GLSL IR and NIR linker (the latter to
be used for ARB_gl_spirv).
We need to move it to a new header as the NIR linker doesn't need to
know about ir_variable, and others, included at linker.h.
v2: move from src/compiler to src/compiler/glsl (Timothy Arceri)
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/program.h')
-rw-r--r-- | src/compiler/glsl/program.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/glsl/program.h b/src/compiler/glsl/program.h index 480379b10b8..9df42ddc1c4 100644 --- a/src/compiler/glsl/program.h +++ b/src/compiler/glsl/program.h @@ -48,14 +48,6 @@ extern void build_program_resource_list(struct gl_context *ctx, struct gl_shader_program *shProg); -extern void -linker_error(struct gl_shader_program *prog, const char *fmt, ...) - PRINTFLIKE(2, 3); - -extern void -linker_warning(struct gl_shader_program *prog, const char *fmt, ...) - PRINTFLIKE(2, 3); - extern long parse_program_resource_name(const GLchar *name, const GLchar **out_base_name_end); |