diff options
author | Gareth Hughes <gareth@valinux.com> | 2001-05-21 16:33:41 +0000 |
---|---|---|
committer | Gareth Hughes <gareth@valinux.com> | 2001-05-21 16:33:41 +0000 |
commit | e7e38a47a8dd567fd5a848cbef09b14018fb2fe0 (patch) | |
tree | d10dc2886dbca967d560a4972f40a719489f29c5 /src/mesa/tnl/t_pipeline.c | |
parent | e9482d004f7b4bdc99312a89c33c061f31552bda (diff) |
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.
Diffstat (limited to 'src/mesa/tnl/t_pipeline.c')
-rw-r--r-- | src/mesa/tnl/t_pipeline.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |