Mesa (10.2): 24 new commits

Ian Romanick idr at kemper.freedesktop.org
Sat May 17 07:07:40 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0aa3947411fa48cf03de2ded53d8538998df653
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri May 16 23:48:44 2014 -0700

    Bump version to 10.2-rc3
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4baf6f12a528a2baa37b065f8e980d362d14d0cc
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 15 15:49:14 2014 -0600

    mesa: fix double-freeing of dispatch tables inside glBegin/End.
    
    We allocate dispatch tables for BeginEnd and OutsideBeginEnd.  But
    when we destroy the context we were freeing the BeginEnd and Exec
    tables.  If Exec==BeginEnd we did a double-free.  This would happen
    if the context was destroyed while inside a glBegin/End pair.  Now
    free the BeginEnd and OutsideBeginEnd pointers.
    
    Cc: "10.1", "10.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit ef6b6658f91bd5871739bdb71a08042f26abe389)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21792665c7923ca9e3c879727bbc7cfef4ca2582
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu May 15 12:23:16 2014 +0900

    glsl_to_tgsi: Make sure the 'shader' member is always initialized
    
    Fixes the valgrind report below and random crashes with piglit on radeonsi.
    
    ==30005== Conditional jump or move depends on uninitialised value(s)
    ==30005==    at 0xB13584E: st_translate_program (st_glsl_to_tgsi.cpp:5100)
    ==30005==    by 0xB14698B: st_translate_fragment_program (st_program.c:747)
    ==30005==    by 0xB14777D: st_get_fp_variant (st_program.c:824)
    ==30005==    by 0xB11219C: get_color_fp_variant (st_cb_drawpixels.c:1042)
    ==30005==    by 0xB1131AE: st_DrawPixels (st_cb_drawpixels.c:1154)
    ==30005==    by 0xAFF8806: _mesa_DrawPixels (drawpix.c:162)
    ==30005==    by 0x4EB86DB: stub_glDrawPixels (generated_dispatch.c:6640)
    ==30005==    by 0x4F1DF08: piglit_visualize_image (piglit-util-gl.c:1574)
    ==30005==    by 0x40691D: draw_image_to_window_system_fb(int, bool) (draw-buffers-common.cpp:733)
    ==30005==    by 0x406C8B: draw_reference_image(bool, bool) (draw-buffers-common.cpp:854)
    ==30005==    by 0x40722A: piglit_display (alpha-to-coverage-dual-src-blend.cpp:117)
    ==30005==    by 0x4EA7168: run_test (piglit_fbo_framework.c:52)
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit 2bab95973d8ad3a84f62670143d6f26c230d9582)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=872ea423ac4b62479375395ff0ebf6c7f24b713a
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon May 12 12:42:28 2014 +0300

    i965/fb: Use meta path for stencil up/downsampling
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit d45fadf11a8dbd9cdf0a1548a38127462b4ceee0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad8ad99eff71014af60cc434f7d7ac102e3cf4d5
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon May 12 12:35:40 2014 +0300

    i965/meta: Stencil blit for miptree updownsampling
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 475216a4f082b7db9651238e1bd31f6d52c7c475)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62f15090702b4946a026149f31b6f7237f3d2519
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Sat Apr 19 17:11:10 2014 +0300

    i965/fb: Use meta path for stencil blits
    
    This is effective only on gen8 for now as previous generations still
    go through blorp.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit b18f6b9b86531581da567eaa400923e35e22006d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb2ef1641c80b8a499b64bbdebb34b3e3a8e54b9
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon May 5 22:18:46 2014 +0300

    i965/meta: Stencil blits
    
    v2: Create the intel renderbuffer with level hardcoded to zero instead
        of overriding it in the surface state configuration. Also moved the
        dimension adjustments for tiling, mip level, msaa into the render
        buffer creation. Finally prepares for another blit path needed for
        miptree updownsampling.
    v3 (Ken): Dropped unnecessary memory context for "ralloc_asprintf()"
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    (cherry picked from commit d1829badf5caae794393de77cfe34eda44c1fcc9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=947b60d19e9fd408ae644dd969d2e11db54d39b8
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed May 7 08:42:29 2014 +0300

    meta: Refactor state save/restore for framebuffer texture blits
    
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 2a549c43a8c585b312fda920fcd7048e52fdcb05)
    
    Note: This patch was cherry picked so that the next patch would build.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb37016f8924ee3c579f9c6d29eaa5772c459712
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Sat Apr 19 02:02:42 2014 +0300

    i965: Extend brw_get_rb_for_first_slice() for specified level/layer
    
    v2: Configure stencil directly for final dimensions instead of
        adjusting bit by bit for tiling, mip level and msaa.
    v3 (Ken): Used non-static constant for horizontal alignment
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 9d752c098c5dc819fd08b9611ca52d847c1b9495)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43ea5f9347e9201689b81f475b9c020341303b8f
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed May 7 12:16:28 2014 +0300

    i965/gen8: Surface state overriding for stencil
    
    v2: Allow hardware to offset accesses to individual layers. Also leave
        the mip-level overriding for the creator of the intel renderbuffer
        to handle. Merged with "i965/gen8: Allow stencil buffers to be
        configured as single sampled"
    
    Ken: I left the "_mesa_problem()" still in place. I think it is clearer
         to remove it in a separate patch.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 36caae48b25b29310be1b7cbbafe7461bb51248d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5e717a618dcd2b3e08303474977c8f0af9bd46a
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed May 7 10:49:50 2014 +0300

    i965/wm: Surface state overrides for configuring w-tiled as y-tiled
    
    v2: Use intel_mipmap_tree::total_width in order to get correct alignment
        automatically. Also use "mt->total_height / mt->physical_depth0" as
        surface height allowing hardware to offset to correct slice.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 6aefaa4eb23dec764a59f9e28bbe4a7d5036fdbf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5848ec2e411961559a0792822e3479e45357fc2
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Thu May 15 06:06:47 2014 +0000

    i965 meta up/downsample: Fix renderbuffer _BaseFormat
    
    mt->format is of type mesa_format, and therefore can't be
    used with _mesa_base_fbo_format which requires a GLenum input.
    
    On gen8, this fixes various piglit fbo-depthstencil tests with
    samples > 1.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 103057b2b7c0cf26c28b40fe5802acb8c6195c77)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79a34441d5756dca0977eb6b80df94d4ede9f73f
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Wed May 14 21:06:23 2014 +0200

    mesa/st: fix number of ubos being declared in a shader
    
    Previously the code used the total number of ubos being declared in the
    linked program (so the ubos of all shaders combined), use the number
    from the particular shader instead.
    This fixes an assertion failure with piglit arb_uniform_buffer_object-maxblocks
    seen in llvmpipe since 8a9f5ecdb116d0449d63f7b94efbfa8b205d826f as it now emits
    code for each declared buffer, not just the ones actually used.
    
    CC: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 3e817e7e56806d8adb8f16c35136045c29908944)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1041fb86c04e691523a02f5eb00e7de4adc604b8
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon May 5 22:09:23 2014 +0100

    docs: Add a note about llvm-shared-libs and libxatracker
    
    Both changes landed in 10.2, and for people not following the
    development cycle these will come as a surprise. Note that the
    pipe_* interface is not stable.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Acked-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit e48054d0364cfc4c92120ea90b6f526c3527230a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1aa25907a7c32e3c1c29a90348f7eb72fa4e39d
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue May 13 01:33:48 2014 +0100

    configure: correctly set LD_NO_UNDEFINED
    
    Commit 11623be934f85 was meant to have this hunk, which
    I accidently dropped during git rebase.
    
    Cc: 10.2 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Julien Cristau <jcristau at debian.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Jonathan Gray <jsg at jsg.id.au>
    (cherry picked from commit f57d092199318f03f6522d0ca616f1f8220b2e6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d6e822d03a551138e49dad32732aab00ab2f8fb
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed May 14 16:30:33 2014 +0900

    radeonsi: Fix anisotropic filtering state setup
    
    Bring it back in line with r600g. I broke this in the original radeonsi
    bringup. :(
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78537
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit c5828b0599a5c00ebab488b795c63a21f1dc53cd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26d5b220399fc62489a776d4acb3ca4851f98e0f
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Wed May 14 15:13:55 2014 +1000

    glsl: simplify the M_PI*f macros, fixes build on OpenBSD
    
    The M_PI*f macros used a preprocessor paste to append 'f'
    to M_PI defines, which works if the values are only numbers
    but breaks on OpenBSD where M_PI definitions have casts
    and brackets to meet requirements of a future version of POSIX,
    
    http://austingroupbugs.net/view.php?id=801
    http://austingroupbugs.net/view.php?id=828
    
    Simplify the M_PI*f macros by using casts directly in the defines
    as suggested by Kenneth Graunke.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78665
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    (cherry picked from commit 0c0bbe77d0f92acf34c4582207b9def2e2fe308d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3171da34029337b6665d22b02c9db806b381daf7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun May 11 17:20:08 2014 -0700

    i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage.
    
    The point of copytexsubimage_using_blit_framebuffer is to use a hardware
    accelerated BlitFramebuffer path.  If that fails, we shouldn't do a
    swrast blit---we should try our CTSI fallback code.
    
    This is especially important for i965 and GLES, where we don't even
    create a swrast context.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77705
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit bd44ac8b5ca08016bb064b37edaec95eccfdbcd5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=875fd92d1679982c2587817e0fb6a19465e147a8
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon May 12 15:40:11 2014 -0700

    wayland: Move version 2 request to end of interface specification
    
    We're moving towards requiring interface additions to be appended to the
    end of the interface block.  No functional change, opcodes are assigned as
    before, but version 2 additions are now grouped together, which prevents
    a scanner warning.
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
    (cherry picked from commit 06842d436e163836de9532cd06029d165ea2e049)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb5c68d3127db01ddcca25d8835ad1003b5d2d5c
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon May 5 22:49:47 2014 +0300

    meta: Refactor configuration of renderbuffer sampling
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 4dc9c314c89c011aee3c33997cbc9cd6bc78674f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e7b0f2a0ad3818d02907746a86568c264c97701
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon May 5 17:37:40 2014 +0300

    meta: Refactor binding of renderbuffer as texture image
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit a2952315ac2c97311c0a967bf1c337a6c0b82a2f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f495b85a09872e1e850765d2d0117e346fd79ad
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Fri Apr 18 02:21:13 2014 +0300

    meta: Merge compiling and linking of blit program
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit ac4db0aa559ac07262d977f35915953f97875333)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=253834cbf64a8a89493c15ea2dddcc05cfcc23be
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Tue Apr 22 22:11:27 2014 +0300

    i965/blorp: Expose coordinate scissoring and mirroring
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 3a43cd0c3e611085347f67976a619b915dff07b7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5c083dbc34ca2755b9a3931a41d895725e970bc
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed May 7 12:12:02 2014 +0300

    i965/gen8: Use helper variables for surface parameters
    
    Cc: "10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 4a92ad553111729dc4b5b02e47477133e7219131)




More information about the mesa-commit mailing list