summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mueller <MarkKMueller@gmail.com>2013-11-21 15:48:18 -0800
committerMark Mueller <MarkKMueller@gmail.com>2014-01-13 09:44:30 -0800
commit920f50bd3f22b8b965a42b06103c4d2491296064 (patch)
tree8d43f019ca9c6e18ec6b6c99e55f74f2ca0e7b58
parente2978ead843153693d8a3ab33fce1ca8bebace5e (diff)
Added some print statements
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp
index 0b2e81e76d..cc1a1be8f0 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp
@@ -94,9 +94,13 @@ brw_blorp_surface_info::set(struct brw_context *brw,
if (is_render_target) {
/* set up for a render target */
brw_format_for_mesa_format(linear_format, &this->process_format_flags, &this->brw_surfaceformat, 0);
+ _mesa_debug(&brw->ctx, "%s: using render format: 0x%x for %s\n",
+ __FUNCTION__, this->brw_surfaceformat, _mesa_get_format_name(linear_format));
} else {
/* set up for a sample target */
brw_format_for_mesa_format(linear_format, &this->process_format_flags, 0, &this->brw_surfaceformat);
+ _mesa_debug(&brw->ctx, "%s: using sample format: 0x%x for %s\n",
+ __FUNCTION__, this->brw_surfaceformat, _mesa_get_format_name(linear_format));
}
#if 0