projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c100023
)
tnl: if NAN_CHECK is enabled, also assert that pos.x != 0
author
Brian Paul
<brianp@vmware.com>
Thu, 13 Aug 2009 18:42:52 +0000
(12:42 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 13 Aug 2009 18:50:57 +0000
(12:50 -0600)
src/mesa/tnl/t_vb_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_program.c
b/src/mesa/tnl/t_vb_program.c
index 66c5e13729c1c1dc0ebb42da7cfa54fca34dd508..dc954bcba148046f89f553360d30c411d677701c 100644
(file)
--- a/
src/mesa/tnl/t_vb_program.c
+++ b/
src/mesa/tnl/t_vb_program.c
@@
-386,6
+386,9
@@
run_vp( GLcontext *ctx, struct tnl_pipeline_stage *stage )
#endif
COPY_4V(store->results[attr].data[i], machine.Outputs[attr]);
}
+#ifdef NAN_CHECK
+ ASSERT(machine.Outputs[0][3] != 0.0F);
+#endif
#if 0
printf("HPOS: %f %f %f %f\n",
machine.Outputs[0][0],