Module: Mesa Branch: master Commit: ef6f1027ff0b6027976a7467b8461ffdd53ce2a8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef6f1027ff0b6027976a7467b8461ffdd53ce2a8
Author: Brian Paul <[email protected]> Date: Tue Mar 31 16:12:17 2009 -0600 draw: added Nan/Inf assertion in debug code --- src/gallium/auxiliary/draw/draw_vs_exec.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c index b3200df..dbbc33f 100644 --- a/src/gallium/auxiliary/draw/draw_vs_exec.c +++ b/src/gallium/auxiliary/draw/draw_vs_exec.c @@ -151,6 +151,7 @@ vs_exec_run_linear( struct draw_vertex_shader *shader, output[slot][1], output[slot][2], output[slot][3]); + assert(!util_is_inf_or_nan(output[slot][0])); } #endif _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
