From c6e947769394b080361f17c3e3f025b96ea38ff2 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 31 Jan 2019 12:53:26 +0100 Subject: [PATCH] vrend: Also use vrend_printf to print the streamout debug output Signed-off-by: Gert Wollny Reviewed-by: David Riley Reviewed-by: Zach Reizner Signed-off-by: Dave Airlie --- src/vrend_renderer.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 98070d1..3bcb854 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -975,21 +975,21 @@ static void dump_stream_out(struct pipe_stream_output_info *so) unsigned i; if (!so) return; - printf("streamout: %d\n", so->num_outputs); - printf("strides: "); + vrend_printf("streamout: %d\n", so->num_outputs); + vrend_printf("strides: "); for (i = 0; i < 4; i++) - printf("%d ", so->stride[i]); - printf("\n"); - printf("outputs:\n"); + vrend_printf("%d ", so->stride[i]); + vrend_printf("\n"); + vrend_printf("outputs:\n"); for (i = 0; i < so->num_outputs; i++) { - printf("\t%d: reg: %d sc: %d, nc: %d ob: %d do: %d st: %d\n", - i, - so->output[i].register_index, - so->output[i].start_component, - so->output[i].num_components, - so->output[i].output_buffer, - so->output[i].dst_offset, - so->output[i].stream); + vrend_printf("\t%d: reg: %d sc: %d, nc: %d ob: %d do: %d st: %d\n", + i, + so->output[i].register_index, + so->output[i].start_component, + so->output[i].num_components, + so->output[i].output_buffer, + so->output[i].dst_offset, + so->output[i].stream); } }