From dc066f8577af46529f9debae557cf77fa1747f2b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 17 Jun 2025 11:56:21 -0400 Subject: [PATCH] draw: silence some no-op draw debug prints this has been annoying me for years Part-of: --- src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c | 2 +- src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c index a928164b880..791caf572d0 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c @@ -321,7 +321,7 @@ fetch_pipeline_generic(struct draw_pt_middle_end *middle, } } if (prim_info->count == 0) { - debug_printf("GS/IA didn't emit any vertices!\n"); +// debug_printf("GS/IA didn't emit any vertices!\n"); FREE(vert_info->verts); if (free_prim_info) { diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c index ec77c757dfc..1fc3b32a11d 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c @@ -696,7 +696,7 @@ llvm_pipeline_generic(struct draw_pt_middle_end *middle, vert_info, prim_info); if (prim_info->count == 0) { - debug_printf("GS/IA didn't emit any vertices!\n"); +// debug_printf("GS/IA didn't emit any vertices!\n"); } else { draw_stats_clipper_primitives(draw, prim_info);