diff options
author | Brian Paul <[email protected]> | 2009-08-13 12:42:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-13 12:50:57 -0600 |
commit | 53dfd5d87074cefb9258fbe4dbc916fd18597116 (patch) | |
tree | 9434852fa4d4811eed59e618187573b55b892a2a /src/mesa/tnl/t_vb_program.c | |
parent | c10002361c3bc175ec12d667e762e51a2cc79b47 (diff) |
tnl: if NAN_CHECK is enabled, also assert that pos.x != 0
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r-- | src/mesa/tnl/t_vb_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 66c5e13729c..dc954bcba14 100644 --- 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], |