From e7e38a47a8dd567fd5a848cbef09b14018fb2fe0 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Mon, 21 May 2001 16:33:41 +0000 Subject: Initial commit of cliptest work. More to come shortly. - Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized. --- src/mesa/tnl/t_pipeline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/tnl/t_pipeline.c') diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c index bc2b668225..acca9d85b6 100644 --- a/src/mesa/tnl/t_pipeline.c +++ b/src/mesa/tnl/t_pipeline.c @@ -1,4 +1,4 @@ -/* $Id: t_pipeline.c,v 1.18 2001/05/10 12:18:38 keithw Exp $ */ +/* $Id: t_pipeline.c,v 1.19 2001/05/21 16:33:41 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -134,18 +134,18 @@ void _tnl_run_pipeline( GLcontext *ctx ) /* Done elsewhere. */ ASSERT(pipe->build_state_changes == 0); - + START_FAST_MATH(__tmp); /* If something changes in the pipeline, tag all subsequent stages * using this value for recalculation. Inactive stages have their * state and inputs examined to try to keep cached data alive over - * state-changes. + * state-changes. */ for ( ; s->run ; s++) { s->changed_inputs |= s->inputs & changed_inputs; - if (s->run_state & changed_state) + if (s->run_state & changed_state) s->changed_inputs = s->inputs; if (s->active && running) { -- cgit v1.2.3