vrend: Also use vrend_printf to print the streamout debug output

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: David Riley <davidriley@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Gert Wollny 6 years ago committed by Dave Airlie
parent 87a21038f7
commit c6e9477693
  1. 26
      src/vrend_renderer.c

@ -975,21 +975,21 @@ static void dump_stream_out(struct pipe_stream_output_info *so)
unsigned i; unsigned i;
if (!so) if (!so)
return; return;
printf("streamout: %d\n", so->num_outputs); vrend_printf("streamout: %d\n", so->num_outputs);
printf("strides: "); vrend_printf("strides: ");
for (i = 0; i < 4; i++) for (i = 0; i < 4; i++)
printf("%d ", so->stride[i]); vrend_printf("%d ", so->stride[i]);
printf("\n"); vrend_printf("\n");
printf("outputs:\n"); vrend_printf("outputs:\n");
for (i = 0; i < so->num_outputs; i++) { for (i = 0; i < so->num_outputs; i++) {
printf("\t%d: reg: %d sc: %d, nc: %d ob: %d do: %d st: %d\n", vrend_printf("\t%d: reg: %d sc: %d, nc: %d ob: %d do: %d st: %d\n",
i, i,
so->output[i].register_index, so->output[i].register_index,
so->output[i].start_component, so->output[i].start_component,
so->output[i].num_components, so->output[i].num_components,
so->output[i].output_buffer, so->output[i].output_buffer,
so->output[i].dst_offset, so->output[i].dst_offset,
so->output[i].stream); so->output[i].stream);
} }
} }

Loading…
Cancel
Save