From: Dave Airlie Date: Mon, 8 Jun 2020 07:04:50 +0000 (+1000) Subject: draw/gs: add more info to debugging. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=069aee7cc543530b901d7afdb5822f722d9375d6;p=mesa.git draw/gs: add more info to debugging. adds invocations and vertex streams to default off debug, fixes compile as well due to missing , Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index 0c07d38e8b2..fd393ded628 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -608,11 +608,12 @@ int draw_geometry_shader_run(struct draw_geometry_shader *shader, } #if 0 - debug_printf("%s count = %d (in prims # = %d)\n", - __FUNCTION__, num_input_verts, num_in_primitives); + debug_printf("%s count = %d (in prims # = %d, invocs = %d, streams = %d)\n", + __FUNCTION__, num_input_verts, num_in_primitives, + shader->num_invocations, shader->num_vertex_streams); debug_printf("\tlinear = %d, prim_info->count = %d\n", input_prim->linear, input_prim->count); - debug_printf("\tprim pipe = %s, shader in = %s, shader out = %s\n" + debug_printf("\tprim pipe = %s, shader in = %s, shader out = %s\n", u_prim_name(input_prim->prim), u_prim_name(shader->input_primitive), u_prim_name(shader->output_primitive));