mesa: Changes to 'gallium-0.1'

Michal Krol michal at kemper.freedesktop.org
Sun Nov 18 18:20:49 UTC 2007


 src/mesa/pipe/softpipe/Makefile         |    1 
 src/mesa/pipe/softpipe/sp_context.c     |    2 
 src/mesa/pipe/softpipe/sp_context.h     |    1 
 src/mesa/pipe/softpipe/sp_quad.c        |   70 ++++++++++++++--------
 src/mesa/pipe/softpipe/sp_quad.h        |    1 
 src/mesa/pipe/softpipe/sp_quad_earlyz.c |  100 ++++++++++++++++++++++++++++++++
 6 files changed, 150 insertions(+), 25 deletions(-)

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

New commits:
commit 7f718f047676e88b660618784f256a96f7e8ed58
Author: Michal Krol <michal at tungstengraphics.com>
Date:   Sun Nov 18 18:20:20 2007 +0000

    Implement early depth test.
    
    Early depth test is enabled when depth test is enabled and
    alpha test is disabled and fragment shader does not write
    depth.
    The early-z is implemented by moving the depth test stage
    just before the fragment shader stage and prepending it
    with an earlyz stage, introduced with this commit.
    The earlyz stage prepares the quad->outputs.depth for
    the following depth test stage by interpolating Z position,
    just as the fragment shader would do.




More information about the mesa-commit mailing list