diff options
author | Dylan Noblesmith <[email protected]> | 2012-04-02 16:11:11 +0000 |
---|---|---|
committer | Dylan Noblesmith <[email protected]> | 2012-05-02 16:12:22 +0000 |
commit | 58fee81c78c95b1b086aa39aa4e26762c8943680 (patch) | |
tree | ddcf16707117f7dd18fad5a8c9311c86d89f9b59 /src/mesa/main/errors.h | |
parent | 48e8a010aebbb40c75698e2aa8854d129c89f359 (diff) |
mesa: add _mesa_shader_debug()
This should be the one entrypoint libglsl needs
for GL_ARB_debug_output.
v2: added comments.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r-- | src/mesa/main/errors.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h index ed1c6fc7fb5..b4490fac9dd 100644 --- a/src/mesa/main/errors.h +++ b/src/mesa/main/errors.h @@ -68,6 +68,9 @@ _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) extern void _mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3); +extern void +_mesa_shader_debug( struct gl_context *ctx, GLenum type, GLuint id, const char *msg, int len ); + #ifdef __cplusplus } #endif |