summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mueller <MarkKMueller@gmail.com>2013-11-27 20:29:30 -0800
committerMark Mueller <MarkKMueller@gmail.com>2014-01-13 09:44:30 -0800
commita0199946235a26ad209fa8bafc57003c96981a4c (patch)
tree05220fe083f7c80235b2cc02a28da86e8e74a4ec
parentc408e9e5b491b27e6a6f927ee931f1d4932b75d8 (diff)
added printout for redundant format setting
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp_clear.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
index 0ebf9c6b82..f406394a08 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
@@ -196,6 +196,8 @@ brw_blorp_clear_params::brw_blorp_clear_params(struct brw_context *brw,
gl_format format = _mesa_get_render_format(ctx, irb->mt->format);
blorp_process_format process_format_flags;
brw_format_for_mesa_format(format, &process_format_flags, &dst.brw_surfaceformat, 0);
+ _mesa_debug(&brw->ctx, "%s: using render format: 0x%x for %s\n",
+ __FUNCTION__, dst.brw_surfaceformat, _mesa_get_format_name(format));
x0 = fb->_Xmin;
x1 = fb->_Xmax;