summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-31 16:12:17 -0600
committerBrian Paul <[email protected]>2009-03-31 16:21:51 -0600
commitef6f1027ff0b6027976a7467b8461ffdd53ce2a8 (patch)
treee69695cd976cad8a8a370ec84237e84111446f9d /src
parentd0f28b6dd967cd74bafb37e1e203b5934981bed0 (diff)
draw: added Nan/Inf assertion in debug code
Diffstat (limited to 'src')
-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 b3200df8112..dbbc33fffa7 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