projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0f28b6
)
draw: added Nan/Inf assertion in debug code
author
Brian Paul
<brianp@vmware.com>
Tue, 31 Mar 2009 22:12:17 +0000
(16:12 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 31 Mar 2009 22:21:51 +0000
(16:21 -0600)
src/gallium/auxiliary/draw/draw_vs_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_vs_exec.c
b/src/gallium/auxiliary/draw/draw_vs_exec.c
index b3200df8112ea3a36a0d50801254ef9191078655..dbbc33fffa72fce4d41e93ffbb75676ce0a96245 100644
(file)
--- 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