diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-07-28 14:09:06 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-08-02 08:23:01 -0700 |
commit | 379a32f42ebca9feeb024633f7774661619fd62e (patch) | |
tree | 7654221dfeb0f4d7f93758d8b05fd2be13df1378 /src/glsl/linker.h | |
parent | 586e741ac1fa222d041990b265e820f5aa11344d (diff) | |
download | external_mesa3d-379a32f42ebca9feeb024633f7774661619fd62e.zip external_mesa3d-379a32f42ebca9feeb024633f7774661619fd62e.tar.gz external_mesa3d-379a32f42ebca9feeb024633f7774661619fd62e.tar.bz2 |
linker: Make linker_{error,warning} generally available
linker_warning is a new function. It's identical to linker_error
except that it doesn't set LinkStatus=false and it prepends "warning: "
on messages instead of "error: ".
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r-- | src/glsl/linker.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h index dfae073..769cf68 100644 --- a/src/glsl/linker.h +++ b/src/glsl/linker.h @@ -25,9 +25,6 @@ #ifndef GLSL_LINKER_H #define GLSL_LINKER_H -extern void -linker_error(gl_shader_program *prog, const char *fmt, ...); - extern bool link_function_calls(gl_shader_program *prog, gl_shader *main, gl_shader **shader_list, unsigned num_shaders); |