From 83daa88035af978c5158cfe5a196df45ce1555c1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Dec 2013 00:56:20 -0800 Subject: i965: Move the remaining driver debug over to stderr. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_draw_upload.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_draw_upload.c') diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index 52d3847..cbaf67b 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c @@ -229,9 +229,9 @@ brw_get_vertex_surface_type(struct brw_context *brw, int size = glarray->Size; if (unlikely(INTEL_DEBUG & DEBUG_VERTS)) - printf("type %s size %d normalized %d\n", - _mesa_lookup_enum_by_nr(glarray->Type), - glarray->Size, glarray->Normalized); + fprintf(stderr, "type %s size %d normalized %d\n", + _mesa_lookup_enum_by_nr(glarray->Type), + glarray->Size, glarray->Normalized); if (glarray->Integer) { assert(glarray->Format == GL_RGBA); /* sanity check */ @@ -428,7 +428,7 @@ brw_prepare_vertices(struct brw_context *brw) } if (0) - printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); + fprintf(stderr, "%s %d..%d\n", __FUNCTION__, min_index, max_index); /* Accumulate the list of enabled arrays. */ brw->vb.nr_enabled = 0; -- cgit v1.1