OSDN Git Service

draw/gs: cleanup some debugging code
authorZack Rusin <zackr@vmware.com>
Sat, 30 Mar 2013 00:18:42 +0000 (17:18 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Apr 2013 17:16:25 +0000 (10:16 -0700)
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c

index b98b133..70db837 100644 (file)
@@ -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]));