mesa: Changes to 'gallium-0.1'

Brian Paul brianp at kemper.freedesktop.org
Tue Oct 23 21:09:11 UTC 2007


 src/mesa/main/texenvprogram.c          |    4 +-
 src/mesa/pipe/draw/draw_private.h      |    2 -
 src/mesa/pipe/draw/draw_vertex_cache.c |   13 +++++++
 src/mesa/pipe/draw/draw_wide_prims.c   |   55 ++++++++++++++++++++++++++++-----
 src/mesa/tnl/t_vp_build.c              |    6 +--
 5 files changed, 65 insertions(+), 15 deletions(-)

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

New commits:
commit 4664261f8d8fefa347bf38a224f6584d0fdeebfc
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Oct 23 15:08:54 2007 -0600

    Fix vertex cache bug that allows multiple vertices to fall into the same slot.
    
    Need to set the slot's bit in draw->vcache.referenced even when there was a
    cache hit since flushing the primitive buffer will have cleared the bitfield
    but not the cache's vertex indexes.
    
    Fixes a bug found when drawing long triangle fans but could be hit by other
    prim types as well.
    
    An alternate fix would be to call draw_vertex_cache_invalidate() from
    draw_vertex_cache_unreference().

commit 3df65af849280863a15fefcb11f8304b83c9ffa0
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Oct 23 15:02:02 2007 -0600

    added comment

commit 40e46d0727920dffdcc23aba150aa3c37c6ecf65
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Oct 23 12:32:02 2007 -0600

    In get_vertex(), slot was computed using & 31.  Replace with % VCACHE_SIZE.
    
    Also, assert that index is not too large before indexing array.

commit be049999829d21a1c9ec9a2c616e99186208266b
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Oct 23 11:38:17 2007 -0600

    adjust coords in wide_line() to be conformant

commit 112a1580f658948e553fe04399a20958dca67c16
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Tue Oct 23 10:54:50 2007 -0600

    properly init dst reg's CondMask/Swizzle fields




More information about the mesa-commit mailing list