mesa: Changes to 'gallium-0.1'

Brian Paul brianp at kemper.freedesktop.org
Tue Sep 18 18:57:07 UTC 2007


 progs/trivial/quad-tex-2d.c            |   25 +++++++++++++++++++++----
 src/mesa/pipe/softpipe/sp_prim_setup.c |    4 ++++
 src/mesa/pipe/softpipe/sp_quad_fs.c    |    9 ++++-----
 src/mesa/pipe/tgsi/exec/tgsi_exec.c    |    1 +
 src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c |    2 +-
 5 files changed, 31 insertions(+), 10 deletions(-)

commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary

New commits:
commit 6fbbeed690c7f9aa0a97fdf64c8c57d1d79e7c33
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Sep 18 12:55:53 2007 -0600

    use perspective projection, press r/R to rotate the quad

commit 2a460f6185199bad8b2bca4d0bac319377f801fa
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Sep 18 12:55:20 2007 -0600

    Fix some issues with perspective-corrected interpolation.
    
    In mesa_to_tgsi.c, use TGSI_INTERPOLATE_PERSPECTIVE by default (to match
    post-transform vertex info convention).  More to be done there...
    In sp_quad_fs.c, interpolate W in addition to Z.  This fixes the divide
    by zero happening in perspective_interpolation() tgsi_exec.c
    As it was, we were only getting perspective correction of texture coords
    used by the TGSI_TEX instruction since it does a homogeneous divide.
    Other coords/varyings were incorrect.

commit 72b0a57cfa99e55ad6e1b4ddcd486c202ee1f22d
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Sep 18 12:50:20 2007 -0600

    additional comments for tri_persp_coeff()




More information about the mesa-commit mailing list