summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-31 16:12:17 -0600
committerBrian Paul <brianp@vmware.com>2009-03-31 16:21:51 -0600
commitef6f1027ff0b6027976a7467b8461ffdd53ce2a8 (patch)
treee69695cd976cad8a8a370ec84237e84111446f9d /src/gallium/auxiliary/draw
parentd0f28b6dd967cd74bafb37e1e203b5934981bed0 (diff)
draw: added Nan/Inf assertion in debug code
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_exec.c1
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 b3200df811..dbbc33fffa 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