From: Zack Rusin Date: Sat, 30 Mar 2013 00:18:42 +0000 (-0700) Subject: draw/gs: cleanup some debugging code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49b7d933f8608df9d20606f022a032785e243ab9;p=mesa.git draw/gs: cleanup some debugging code Signed-off-by: Zack Rusin Reviewed-by: Brian Paul Reviewed-by: José Fonseca --- diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index b98b1334002..70db837390b 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -160,8 +160,6 @@ static void tgsi_fetch_gs_input(struct draw_geometry_shader *shader, #if DEBUG_INPUTS debug_printf("\tSlot = %d, vs_slot = %d, idx = %d:\n", slot, vs_slot, idx); -#endif -#if 1 assert(!util_is_inf_or_nan(input[vs_slot][0])); assert(!util_is_inf_or_nan(input[vs_slot][1])); assert(!util_is_inf_or_nan(input[vs_slot][2])); @@ -249,8 +247,6 @@ llvm_fetch_gs_input(struct draw_geometry_shader *shader, #if DEBUG_INPUTS debug_printf("\tSlot = %d, vs_slot = %d, i = %d:\n", slot, vs_slot, i); -#endif -#if 0 assert(!util_is_inf_or_nan(input[vs_slot][0])); assert(!util_is_inf_or_nan(input[vs_slot][1])); assert(!util_is_inf_or_nan(input[vs_slot][2]));