Mesa (master): 21 new commits

Brian Paul brianp at kemper.freedesktop.org
Tue Jun 16 17:26:08 PDT 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d482227915552c414e13743652e6794c4313ae2
Merge: 4ef1f8e3b52a06fcf58f78c9c36738531b91dbac 6b917d0b1787280f976c2f0d1ead0e5d7587a3e9
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 18:25:52 2009 -0600

    Merge branch 'mesa_7_5_branch'
    
    Conflicts:
    
    	src/mesa/main/api_validate.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b917d0b1787280f976c2f0d1ead0e5d7587a3e9
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 18:19:45 2009 -0600

    i965: fix bugs in projective texture coordinates
    
    For the TXP instruction we check if the texcoord is really a 4-component
    atttibute which requires the divide by W step.  This check involved the
    projtex_mask field.  However, the projtex_mask field was being miscalculated
    because of some confusion between vertex program outputs and fragment
    program inputs.
    
    1. Rework the size_masks calculation so we correctly set bits corresponding
    to fragment program input attributes.
    
    2. Rename projtex_mask to proj_attrib_mask since we're interested in more
    than just texcoords (generic varying vars too).
    
    3. Simply the indexing of the size_masks and proj_attrib_mask fields.
    
    4. The tracker::active[] array was mis-dimensioned.  Use MAX_PROGRAM_TEMPS
    instead of a magic number.
    
    5. Update comments, add new assertions.
    
    With these changes the Lightsmark demo/benchmark renders correctly, until
    we eventually hit a GPU lockup...

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=742ba084068b6856e94283a9c5fe3b39d48f64cb
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 15:41:49 2009 -0600

    softpipe: fix out of bounds quad rasterization bug
    
    For some triangles we can generate quads which lie just outside the
    surface bounds.  Just check the quad's mask before trying to emit/process
    the quad.
    
    Fixes failed assertion in Lightsmark.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e48dd04456aaf2d42dfa7f3a3c99a95a5986eb6
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 09:34:35 2009 -0600

    mesa: fix incorrect viewport clamping in _mesa_set_viewport()
    
    A 0 by 0 viewport size is legal.  Don't clamp against lower bound of one.
    The error checking earlier in the function prevents negative values.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed7f4b42307bff4633689d6781cd3643f10041e5
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 16 08:45:06 2009 -0600

    mesa: fix REMAINDER() macro
    
    The results were incorrect for some negative values of A.
    See bug 21872.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3463b1479d1c70e3b23189c72132e9ad5f710ff9
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jun 16 13:05:25 2009 +0100

    gallium: Avoid atomic ops / locking when src is dst.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=077c5e62d8800e66e958af7663b1a5d6f50670cf
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jun 16 12:34:29 2009 +0100

    progs/wgl: Quit after displaying usage for -h option.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06075711af7ae143c362a6d989121d8fdb4fd6ca
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jun 16 12:29:14 2009 +0100

    progs/wgl: Use appropriate types to silence msvc warnings.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=566bdbe67db04a9f94c1303bf41d1f453f7e72b2
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Jun 16 12:28:26 2009 +0100

    progs/wgl: Fix assertion failure in wglthreads' texture creation.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d027e8feff7d38cccadc6aaccc0454b21ce4dca0
Author: Shuang He <shuang.he at intel.com>
Date:   Mon Jun 15 16:19:30 2009 -0600

    intel: Release fb backing regions in intelDestroyBuffer()
    
    Fixes memory leak when destroying framebuffers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=227d233cffea9908e72c700441ad206635305077
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:22:35 2009 +0100

    python/tests: Add is_depth_stencil_format utility function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7585cbffe0ec8873a1e8d966f870aa1052943899
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:21:58 2009 +0100

    python/tests: Cleanup texture_sample.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6af9b29476e4e445623e7a2f737ba95003bbe13
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:20:25 2009 +0100

    mesa: Always return a value.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=053d8eb8914cae274ccd19abb0a492e7ca220660
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:20:05 2009 +0100

    mesa: Use appropriate float/integer types.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6214c7262fe2d31553a4974022e08a7715693014
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:19:29 2009 +0100

    mesa: Use type modifier for float constants.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37f2117cd132527ebf89f9294b2f35db87326460
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:17:07 2009 +0100

    mesa: Use integer type with appropriate sign.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c33ef1f7c6d93a82c77a6c11fd108bb6d4f8c6af
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 19:04:04 2009 +0100

    rtasm: Use 32bit constant.
    
    As we're only using 32bit bitmasks.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=940cb7ce163664778f7055953392fb43d5fc31fc
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 18:57:45 2009 +0100

    gallium: Ensure assert macro is defined before being used in p_thread.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d0cf9ebb41c05b0c6fa6914ccbb1e1871e27099
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 18:42:13 2009 +0100

    softpipe: Fix softpipe_is_texture_referenced.
    
    Render results are only visible when the render cache is flushed.
    softpipe_is_texture_referenced must reflect that or transfers to/from the
    textures bound in the framebuffer won't be proceeded of the necessary
    flush, causing transfer data to be outdated/clobbered.
    
    This fixes conform drawpix test with softpipe.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e1abced56131c56717c4f317c33ac6e3fab4ff7
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 15:40:10 2009 +0100

    progs/tests: Use opaque colors.
    
    Transparency is not relevant for this example, and leads to distraction
    due to different results in alpha visuals, when capturing images to disk.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db22b35d213d58d188252f45d94fa353e638acee
Author: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Date:   Thu Jun 11 00:54:06 2009 +0200

    dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.
    
    Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>



More information about the mesa-commit mailing list