projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08bc3d1
)
draw: added some inf/nan debug code (disabled)
author
Brian Paul
<brianp@vmware.com>
Fri, 1 May 2009 23:52:23 +0000
(17:52 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 2 May 2009 00:35:59 +0000
(18:35 -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 dbbc33fffa72fce4d41e93ffbb75676ce0a96245..f2368dde5c291771d4ab34d69c943b6b971e7631 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_vs_exec.c
+++ b/
src/gallium/auxiliary/draw/draw_vs_exec.c
@@
-114,6
+114,12
@@
vs_exec_run_linear( struct draw_vertex_shader *shader,
#endif
for (slot = 0; slot < shader->info.num_inputs; slot++) {
+#if 0
+ assert(!util_is_inf_or_nan(input[slot][0]));
+ assert(!util_is_inf_or_nan(input[slot][1]));
+ assert(!util_is_inf_or_nan(input[slot][2]));
+ assert(!util_is_inf_or_nan(input[slot][3]));
+#endif
machine->Inputs[slot].xyzw[0].f[j] = input[slot][0];
machine->Inputs[slot].xyzw[1].f[j] = input[slot][1];
machine->Inputs[slot].xyzw[2].f[j] = input[slot][2];