summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-03-29 17:18:42 -0700
committerZack Rusin <zackr@vmware.com>2013-04-03 10:16:25 -0700
commit49b7d933f8608df9d20606f022a032785e243ab9 (patch)
treedbdc13d9ad595e1c43c726b28af402f0ca964ee4 /src/gallium/auxiliary/draw/draw_gs.c
parent822c21c7763afde4d4a94af3935b4b629d4eb34a (diff)
downloadexternal_mesa3d-49b7d933f8608df9d20606f022a032785e243ab9.zip
external_mesa3d-49b7d933f8608df9d20606f022a032785e243ab9.tar.gz
external_mesa3d-49b7d933f8608df9d20606f022a032785e243ab9.tar.bz2
draw/gs: cleanup some debugging code
Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c
index b98b133..70db837 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]));