summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-11-15 20:36:55 +0000
committerJosé Fonseca <[email protected]>2012-12-04 19:35:18 +0000
commitd1864273f2fb83c4c2afeb8a3eb84f44ada00b47 (patch)
tree67eadb7cab0cb9bc50c31d4e523f21eeb6e8d40e /src/gallium/auxiliary/draw/draw_gs.c
parent32e899ab8b3e0cc717c740e95e05f5e9d11e8224 (diff)
draw: Use symbolic primitive names in debug output.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c
index 60e39520f8e..3b3ff21c6f7 100644
--- a/src/gallium/auxiliary/draw/draw_gs.c
+++ b/src/gallium/auxiliary/draw/draw_gs.c
@@ -424,9 +424,10 @@ int draw_geometry_shader_run(struct draw_geometry_shader *shader,
__FUNCTION__, num_input_verts, num_in_primitives);
debug_printf("\tlinear = %d, prim_info->count = %d\n",
input_prim->linear, input_prim->count);
- debug_printf("\tprimt pipe = %d, shader in = %d, shader out = %d, max out = %d\n",
- input_prim->prim, shader->input_primitive,
- shader->output_primitive,
+ debug_printf("\tprim pipe = %s, shader in = %s, shader out = %s, max out = %d\n",
+ u_prim_name(input_prim->prim),
+ u_prim_name(shader->input_primitive),
+ u_prim_name(shader->output_primitive),
shader->max_output_vertices);
#endif