aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_debug.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-11-13 17:35:58 -0800
committerMatt Turner <[email protected]>2014-12-05 16:43:31 -0800
commit5b1e51bfbe6f8b2fa51065bc6e5706c337211d3c (patch)
tree2451a3e37af302e58d407fe1f7ed9f492b329d68 /src/mesa/drivers/dri/i965/intel_debug.h
parentbefdff81423a1b6a05969dfde59bfa9c521c4621 (diff)
mesa: Add a source parameter to _mesa_gl_debug.
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_debug.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h
index e859be1084c..e693e9c600d 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -86,6 +86,7 @@ extern uint64_t INTEL_DEBUG;
dbg_printf(__VA_ARGS__); \
if (brw->perf_debug) \
_mesa_gl_debug(&brw->ctx, &msg_id, \
+ MESA_DEBUG_SOURCE_API, \
MESA_DEBUG_TYPE_PERFORMANCE, \
MESA_DEBUG_SEVERITY_MEDIUM, \
__VA_ARGS__); \
@@ -101,6 +102,7 @@ extern uint64_t INTEL_DEBUG;
_warned = true; \
\
_mesa_gl_debug(ctx, &msg_id, \
+ MESA_DEBUG_SOURCE_API, \
MESA_DEBUG_TYPE_OTHER, \
MESA_DEBUG_SEVERITY_HIGH, fmt); \
} \