Browse Source

tnl: if NAN_CHECK is enabled, also assert that pos.x != 0

tags/mesa_7_6_rc1
Brian Paul 16 years ago
parent
commit
53dfd5d870
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/mesa/tnl/t_vb_program.c

+ 3
- 0
src/mesa/tnl/t_vb_program.c View File

@@ -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],

Loading…
Cancel
Save