Mesa (master): tnl: use INTERP_4F() instead of four INTERP_F() calls

Brian Paul brianp at kemper.freedesktop.org
Wed Aug 29 14:39:32 UTC 2012


Module: Mesa
Branch: master
Commit: 454e23776dbcb4946fbd6e610d837137f7f8ed76
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=454e23776dbcb4946fbd6e610d837137f7f8ed76

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 25 07:09:14 2012 -0600

tnl: use INTERP_4F() instead of four INTERP_F() calls

---

 src/mesa/tnl/t_vertex_generic.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/mesa/tnl/t_vertex_generic.c b/src/mesa/tnl/t_vertex_generic.c
index 7b7f511..44d6250 100644
--- a/src/mesa/tnl/t_vertex_generic.c
+++ b/src/mesa/tnl/t_vertex_generic.c
@@ -1049,10 +1049,7 @@ void _tnl_generic_interp( struct gl_context *ctx,
       a[j].extract( &a[j], fin, vin + a[j].vertoffset );
       a[j].extract( &a[j], fout, vout + a[j].vertoffset );
 
-      INTERP_F( t, fdst[3], fout[3], fin[3] );
-      INTERP_F( t, fdst[2], fout[2], fin[2] );
-      INTERP_F( t, fdst[1], fout[1], fin[1] );
-      INTERP_F( t, fdst[0], fout[0], fin[0] );
+      INTERP_4F(t, fdst, fout, fin);
 
       a[j].insert[4-1]( &a[j], vdst + a[j].vertoffset, fdst );
    }




More information about the mesa-commit mailing list