Mesa (10.5): 43 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Tue Feb 24 15:46:07 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3592cbb21f7b191df5de2d52c7158f93ac284d81
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 24 15:35:17 2015 +0000

    Increment version to 10.5.0-rc2
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e026a2f637cc57bffa28e3fa0cef3eea5e9adc9
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 24 14:05:15 2015 +0000

    install-lib-links: remove the .install-lib-links file
    
    With earlier commit (install-lib-links: don't depend on .libs directory)
    we moved the location of the file from .libs/ to the current dir.
    Although we did not attribute that in the former case autotools was
    doing us a favour and removing the file. Explicitly remove the file at
    clean-local time, otherwise we'll end up with dangling files.
    
    Cc: "10.3 10.4 10.5" <mesa-stable at lists.freedesktop.org>
    Cc: Matt Turner <mattst88 at gmail.com>
    Cc: Lucas Stach <l.stach at pengutronix.de>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit fece147be53880ac8e8e5e2863f91cdd01d98b5c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04dc301669693e8b34a98d759f3c7378a6c43cc7
Author: Eduardo Lima Mitev <elima at igalia.com>
Date:   Mon Feb 2 18:14:47 2015 +0100

    mesa: Fix error validating args for TexSubImage3D
    
    The zoffset and depth values were not being considered when calling
    error_check_subtexture_dimensions().
    
    Fixes 2 dEQP tests:
    * dEQP-GLES3.functional.negative_api.texture.texsubimage3d_neg_offset
    * dEQP-GLES3.functional.negative_api.texture.texsubimage3d_invalid_offset
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: "10.4 10.5" <mesa-stable at lists.freedestkop.org>
    (cherry picked from commit 2aa71e9485a5a062b1bd2dd8bdc081a8fa4c873d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4952a376972bcb29be0c15a33d1d5fc23f35cae5
Author: Vivek Kasireddy <vivek.kasireddy at intel.com>
Date:   Tue Feb 10 19:15:31 2015 -0800

    egl, wayland: RGB565 format support on Back-buffer
    
    In current code, color format is always hardcoded to
    __DRI_IMAGE_FORMAT_ARGB8888 when buffer or DRI image is
    allocated in function calls, get_back_bo and dri2_get_buffers,
    regardless of current target's color format. This problem
    may leads to incorrect render pitch calculation, which
    eventually ends up with wrong offset of pixels in
    the frame buffer when the image is in different color format
    from dri surf's, especially with different bpp. (e.g. RGB565-16bpp)
    
    Attached code patch simply adds RGB565 and XRGB8888 cases to two
    functions noted above to resolve the issue.
    
    v2: added a case of XRGB8888, format and bpp selection is done
        via switch-case (not "if-else" anymore)
    
    Signed-off-by: Vivek Kasireddy <vivek.kasireddy at intel.com>
    Signed-off-by: Dongwon Kim <dongwon.kim at intel.com>
    Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 1e96eece300bbd2dd621a4941a4418222bb4c8e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aac12f4542d667215772088a0e67c80838e783da
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Feb 21 22:41:24 2015 -0800

    i965: Link test programs with gtest before pthreads.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=540962
    (cherry picked from commit 0b6d43e329d194b01ab5cd554617f79a13f6669a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=760407ff9e10c12895cb3c5006b314baf83d4c62
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 23 11:39:53 2015 +0100

    radeonsi: fix point sprites
    
    Broken by a27b74819ad375e8c0bc88e13f42c951d2b5cd6a.
    
    This fix is critical and should be ported to stable ASAP.
    
    Cc: 10.5 10.4 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7820a11e3dea2aca8e2b9b4ed9faf94ff5696990)
    
    Squashed with commit
    
    radeonsi: fix a warning caused by previous commit
    
    Cc: 10.5 10.4 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 050bf75c8bbaa7cad537aabaf8612129edfee3a4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cb2120088643a6cf9cd28bb09da8481f60350b7
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Feb 20 20:17:39 2015 +0100

    vbo: fix an unitialized-variable warning
    
    It looks like a bug to me.
    
    Cc: 10.5 10.4 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 0feb0b73731cebd1513dd7f4e6cdf6de81edb802)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b97e7ad355d43129883a9372ead01e85bfac7cf6
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Feb 19 13:03:54 2015 +0100

    radeonsi: don't use SQC_CACHES to flush ICACHE and KCACHE on SI
    
    This reverts 73c2b0d18c51459697d8ec194ecfc4438c98c139.
    
    It doesn't seem to be reliable. It's probably missing a wait packet or
    something, because it's just a register write and doesn't wait for anything.
    SURFACE_SYNC at least seems to wait until the flush is done. Just guessing.
    
    Let's not complicate things and revert this.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88561
    
    Cc: 10.5 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    (cherry picked from commit 7692704b144b2aa9a57767a43212ceb5aad6638a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf563d59b255c1eb1a42c5ef54ba704c6e1ec4bd
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Feb 12 01:42:43 2015 +0000

    i965/vec4: Add and use byte-MOV instruction for unpack 4x8.
    
    Previously we were using a B/UB source in an Align16 instruction, which
    is illegal. It for some reason works on all platforms, except Broadwell.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86811
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit e0137fd6f720e4977466b1760ac02a72c5abceb8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f7c35e85400696c165bf94ed8051eb5f7381376
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Feb 10 16:25:47 2015 -0800

    i965/fs: Consider MOV.SAT to interfere if it has a source modifier.
    
    The saturate propagation pass recognizes that the second instruction
    below does not interfere with an attempt to propagate the saturate
    modifier from instruction 3 to 1.
    
     1:  add(8)     dst0   src0  src1
     2:  mov.sat(8) dst1   dst0
     3:  mov.sat(8) dst2   dst0
    
    Unfortunately, we did not consider the case of instruction 2 having a
    source modifier on dst0. Take for instance:
    
     1:  add(8)     dst0   src0  src1
     2:  mov.sat(8) dst1  -dst0
     3:  mov.sat(8) dst2   dst0
    
    Consider such an instruction to interfere. Increase instruction counts
    in Anomaly 2, which could be a bug fix depending on the values the first
    instruction produces.
    
    instructions in affected programs:     53228 -> 53934 (1.33%)
    HURT:                                  360
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 7f8dd91d166e49d7da98f90d6428dc2705fb96d0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b554a10e8297150b8bae0338dbdbfdb6d99b3c5d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Jan 27 22:43:28 2015 -0800

    i965/fs: Use fs_inst::overwrites_reg() in saturate propagation.
    
    This is safer and matches the conditional_mod propagation pass.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 871ad3f08bc34e16fdd728e9a4821b9a83e509f0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11cab7b36a9736bf9feb78ad1dfdabb1850998f7
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Feb 10 13:38:07 2015 -0800

    i965/fs: Add unit tests for saturate propagation pass.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit bf3389ec49a158e0b66db8e038d801eacabd20f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80ec8ee3a1839be9b647c6aae90b5a2648e899da
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Feb 18 11:16:55 2015 -0700

    st/mesa: fix sampler view reference counting bug in glDraw/CopyPixels
    
    Use pipe_sampler_view_reference() instead of ordinary assignment.
    Also add a new sanity check assertion.
    
    Fixes piglit gl-1.0-drawpixels-color-index test crash.  But note
    that the test still fails.
    
    Cc: "10.4, 10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 62a8883f32f8a4c8c7d85390d4b17986e4018edf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7fe0d9ce77daf4b982cc523bbeab83c562be51f
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Feb 16 11:23:06 2015 -0700

    swrast: fix multiple color buffer writing
    
    If a fragment program wrote to more than one color buffer, the
    first fragment color got replicated to all dest buffers.  This
    fixes 5 piglit FBO tests, including fbo-drawbuffers-arbfp.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45348
    Cc: "10.4, 10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 89c96afe3c0acf8f2fccaf02da02945afe8ba5f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afe00ddc204e01c0038fbe186cbc06e4b02feadc
Author: Lucas Stach <l.stach at pengutronix.de>
Date:   Thu Feb 19 14:52:49 2015 +0100

    install-lib-links: don't depend on .libs directory
    
    This snippet can be included in Makefiles that may, depending on the
    project configuration, not actually build any installable libraries.
    
    In that case we don't have anything to depend on and this part of
    the makefile may be executed before the .libs directory is created,
    so do not depend on it being there.
    
    Cc: "10.3 10.4 10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
    (cherry picked from commit 5c1aac17adffeef9bb6171d83cc7ddd94c61c5f2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9b8c10273a9bf877fb9de4141a740f8a60e78df
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Feb 16 19:11:33 2015 +0000

    auxiliary/vl: honour the DRI2PROTO_CFLAGS
    
    Otherwise for non-default installations the build will fail to find the
    headers and error out.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit 8a71fd8d49c6a086f9b7697bca3b1f3ae035121a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f72b69c6274d317f3babb1181a587ac4523f27b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Feb 16 18:22:16 2015 +0000

    auxiliary/vl: Build vl_winsys_dri.c only when needed.
    
    With commit c39dbfdd0f7(auxiliary/vl: bring back the VL code for the dri
    targets) we did not fully consider users of dri-swrast alone. Thus we
    ended up trying to compile the dri2 specific code on platform which lack
    it - Cygwin for example.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Reported-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    (cherry picked from commit dd7b6670a29ff3ed48ba44a9fecd1890363d914f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bd832c24c38ca1268a7e73656dc20ff8ab26254
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Feb 12 15:27:28 2015 +0000

    automake: Use AM_DISTCHECK_CONFIGURE_FLAGS
    
    Currently we use DISTCHECK_CONFIGURE_FLAGS, which is reserved for
    the user. As with other variables, one should use the AM_ variable
    within the makefile.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 3018c4a56aab2ac1d8d5b228e6cbf13eea68b790)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae275a653aa3400332e4877a46f3b9f7cc2dcf74
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Tue Feb 17 17:03:35 2015 +0900

    Revert "radeon/llvm: enable unsafe math for graphics shaders"
    
    This reverts commit 0e9cdedd2e3943bdb7f3543a3508b883b167e427.
    
    It caused the grass to disappear in The Talos Principle.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89069
    Cc: "10.5 10.4" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 4db985a5fa9ea985616a726b1770727309502d81)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86aaa10ce7bd8e919ba5c7517a4b6b975229f83c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jan 15 01:41:14 2015 -0800

    i965: Prefer Meta over the BLT for BlitFramebuffer.
    
    There's some debate about whether we should use Meta or BLORP,
    but either should run circles around the BLT engine.
    
    In particular, this means that Gen8+ will use the 3D engine for blits,
    like we do on Gen6-7.
    
    Improves performance in "copypixrate -blit -back" (from Mesa demos)
    by 232.037% +/- 3.15795% (n=10) on Broadwell GT3e.
    
    v2: Rebase on Laura's changes.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d523fefa756eef9c7a2c0d91cf4c2df10b89ed2a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e513ea65c72ee08416ac8b82c6403b4c0c4096f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 15 16:20:25 2015 -0800

    Make _mesa_swizzle_and_convert argument types in .c match those in .h
    
    Caused Solaris Studio compilers to fail to build with errors about
    incompatible function redefinitions.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit b7ce7c00e35ceb3518d932359ed52cacd6679acb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f8e96f71d038c9bde49549a3cb812d63cad9384
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 15 16:19:06 2015 -0800

    Use __typeof instead of typeof with Solaris Studio compilers
    
    While the C compiler accepts typeof, C++ requires __typeof.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86944
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 4671dca0eecf7dbf3e0d0a13111813756722d57d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c65ca6c815aa6dade922e29bb77977749669041d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 15 16:16:15 2015 -0800

    Avoid fighting with Solaris headers over isnormal()
    
    When compiling in C99 or C++11 modes, Solaris defines isnormal() as
    a macro via <math.h>, which causes the function definition to become
    too mangled to compile.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit d602fbd861e2c3c5570b55f0839361a6f8bd32c7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fa129cd9bd2ebff618fcda7c742af6c55e462ae
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 15 14:46:29 2015 -0800

    Remove extraneous ; after DECL_TYPE usage
    
    The macro is defined to provide a trailing ; so this caused the expansion
    to end in ";;" which made the Solaris Studio compilers issue warnings for
    every line of:
      "builtin_type_macros.h", line 113: Warning: extra ";" ignored.
    for every file that included the header, filling build logs with thousands
    of useless warnings.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 815b3bd096a3eab9f00f9270d45a6885d73180e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c2e35e0aadc6945a8f6317ec2988875fbb63f41
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Jan 1 12:55:27 2015 -0800

    Bracket arguments to tr so they work with Solaris tr
    
    https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Limitations-of-Usual-Tools.html#index-g_t_0040command_007btr_007d-1842
    
    Without this fix, egl fails to build on Solaris, with the error:
    
    <command-line>:0:22: error: '_EGL_PLATFORM_x11' undeclared (first use in this function)
    egldisplay.c:207:31: note: in expansion of macro '_EGL_NATIVE_PLATFORM'
                 native_platform = _EGL_NATIVE_PLATFORM;
                                   ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 60ad5103b9c85cbb0921082fba9401f117424f25)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=474f33e6906de642c9635126745189e5ccbdbff1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Dec 16 18:33:39 2014 -0800

    glsl: Reduce memory consumption of copy propagation passes.
    
    opt_copy_propagation and opt_copy_propagation_elements create new ACP
    and Kill sets each time they enter a new control flow block.  For if
    blocks, they also copy the entire existing ACP set contents into the
    new set.
    
    When we exit the control flow block, we discard the new sets.  However,
    we weren't freeing them - so they lived on until the pass finished.
    This can waste a lot of memory (57MB on one pessimal shader).
    
    This patch makes the pass allocate ACP entries using this->acp as the
    memory context, and Kill entries out of this->kill.  It also steals
    kill entries when moving them from the inner kill list to the parent.
    
    It then frees the lists, including their contents.
    
    v2: Move ralloc_free(this->acp) just before this->acp = orig_acp
        (suggested by Eric Anholt).
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: "10.5 10.4" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 76960a55e6656bb0022e9c31ae7542010da130e3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20471e9423a06af8cfbd0d9bc6ccf838afa668bb
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Mon Feb 16 14:29:57 2015 -0800

    main: Fixed _mesa_GetCompressedTexImage_sw to copy slices correctly.
    
    Previously array textures were not working with GetCompressedTextureImage,
    leading to failures in the test
    arb_direct_state_access/getcompressedtextureimage.c.
    
    Tested-by: Laura Ekstrand <laura at jlekstrand.net>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    
    Cc: "10.4, 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 92163482bda87216764edc0beca3ca090678038d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a736160b7c690d1a4aa0b0e8a634821ada7795
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sun Feb 15 18:12:06 2015 +0100

    radeonsi: fix a crash if a stencil ref state is set before a DSA state
    
    + minor indentation fixes
    
    Discovered by Axel Davy.
    
    This can't be reproduced with any app, because all state trackers set a DSA
    state first.
    
    Cc: 10.5 10.4 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    (cherry picked from commit 2ead74888a70481aa40b5b6ede42279e1917e66c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a2043fddda722999a6d5fa5dbff7234c51c8df1
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Feb 10 01:35:23 2015 +0100

    mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers
    
    Cc: 10.5 10.4 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit e8625a29fe0942af2876f0684b06c6ed01939227)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39d823fa583dadb11edd87ab1362a8b62cc0abf3
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Feb 6 18:00:50 2015 +0100

    radeonsi: small fix in SPI state
    
    Cc: 10.5 10.4 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit a27b74819ad375e8c0bc88e13f42c951d2b5cd6a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bcdde5174b80c6a4bddf13daae6c7934c995661
Author: Neil Roberts <neil at linux.intel.com>
Date:   Tue Nov 25 17:52:27 2014 +0000

    meta: Fix saving the results of the current occlusion query
    
    When restoring the current state in _mesa_meta_end it was previously trying to
    copy the on-going sample count of the current occlusion query into the new
    query after restarting it so that the driver will continue adding to the
    previous value. This wouldn't work for two reasons. Firstly, the query might
    not be ready yet so the Result member will usually be zero. Secondly the saved
    query is stored as a pointer to the query object, not a copy of the struct, so
    it is actually restarting the exact same object. Copying the result value is
    just copying between identical addresses with no effect. The call to
    _mesa_BeginQuery will have always reset it back to zero.
    
    This patch fixes it by making it actually wait for the query object to be
    ready before grabbing the previous result. The downside of doing this is that
    it could introduce a stall but I think this situation is unlikely so it might
    not matter too much. A better solution might be to introduce a real
    suspend/resume mechanism to the driver interface. This could be implemented in
    the i965 driver by saving the depth count multiple times like it does in the
    i945 driver.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88248
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit bb77745681e179b53ea64da7bc1987b57643b7b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2e513b2c0abfde2c5c91930714f0b58d46ec3df
Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri Feb 13 12:56:26 2015 +0100

    mesa: Fix element count for byte-swaps in texstore, readpix and texgetimage
    
    Some old format conversion code in pack.c implemented byte-swapping like this:
    
    GLint comps = _mesa_components_in_format(dstFormat);
    GLint swapSize = _mesa_sizeof_packed_type(dstType);
    if (swapSize == 2)
       _mesa_swap2((GLushort *) dstAddr, n * comps);
    else if (swapSize == 4)
       _mesa_swap4((GLuint *) dstAddr, n * comps);
    
    where n is the pixel count. But this is incorrect for packed formats,
    where _mesa_sizeof_packed_type is already returning the size of a pixel
    instead of the size of a single component, so multiplying this by the
    number of components in the format results in a larger element count
    for _mesa_swap than we want.
    
    Unfortunately, we followed the same implementation for byte-swapping
    in the rewrite of the format conversion code for texstore, readpixels
    and texgetimage.
    
    This patch computes the correct element counts for _mesa_swap calls
    by computing the bytes per pixel in the image and dividing that by the
    swap size to obtain the number of swaps required per pixel. Then multiplies
    that by the number of pixels in the image to obtain the swap count that
    we need to use.
    
    Also, when handling byte-swapping in texstore_rgba, we were ignoring
    the image's depth. This patch fixes this too.
    
    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ba426522dddf0860f59dedfe9953dbd509160c7d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6b0a1638c025a4a1ef730987d9d51459a948631
Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri Feb 13 10:23:26 2015 +0100

    mesa: Handle transferOps in texstore_rgba
    
    In the recent rewrite of the format conversion code we did not handle this.
    This patch adds the missing support.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89068
    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 4b249d2eed686384d6d7c36f3232360891d5eeda)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=694d65655151582df64adaf05c6bc4c09539050f
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Feb 12 02:01:49 2015 +0000

    i965/vec4/vp: Use vec4_visitor::CMP.
    
    ... instead of emit(BRW_OPCODE_CMP, ...). In commit 6b3a301f I changed
    vec4_visitor::CMP to set the destination's type to that of src0. In the
    following commit (2335153f) I removed an apparently now unnecessary work
    around for Gen8 that did the same thing.
    
    But there was a single place that emitted a CMP instruction without
    using the vec4_visitor::CMP function. Use it there.
    
    And change dst_null_d to dst_null_f for good measure, since ARB vp
    doesn't have integers.
    
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89032
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 72b9f8db2a035b52dbd59af0d2a6441cbde11a4c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c38068f5c14ab45df49b4711376ddd80ac8a6f99
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Feb 14 01:43:31 2015 -0500

    nvc0: allow holes in xfb target lists
    
    Tested with a modified xfb-streams test which outputs to streams 0, 2,
    and 3.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 854eb06bee7d266fc739f984c1b4ebb54dac3b87)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88d47387b89995519e9010c42939b5ee7b5bcc8d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Feb 14 01:27:19 2015 -0500

    st/mesa: treat resource-less xfb buffers as if they weren't there
    
    If a transform feedback buffer's size is 0, st_bufferobj_data doesn't
    end up creating a buffer for it. There's no point in trying to write to
    such a buffer, so just pretend as if it's not really there.
    
    This fixes arb_gpu_shader5-xfb-streams-without-invocations on nvc0.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 80d373ed5b1d90a5e71747ee5b8951baac62f750)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c08e9605c2a71003359004c97392149267758a46
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Feb 13 23:21:36 2015 -0500

    nvc0: bail out of 2d blits with non-A8_UNORM alpha formats
    
    This fixes the teximage-colors uploads with GL_ALPHA format and
    non-GL_UNSIGNED_BYTE type.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 68e4f3f572b1e629f32a73ae618dc0b016f631b1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe98850c5f4fed83dbe5e7b5633bef0459293c91
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Feb 12 14:33:53 2015 +0200

    mesa: fix OES_texture_float texture render target behavior
    
    Current implementation allowed usage of unsized type texture GL_FLOAT
    and GL_HALF_FLOAT as a render target as this was 'expected behavior' by
    WEBGL_oes_texture_float and is also allowed by the oes-texture-float
    WebGL test. However this broke some ES3 conformance tests that do not
    accept such behavior. Patch sets such an fbo incomplete as expected by
    the ES3 conformance tests. Textures with sized types like RGBA32F will
    still continue to work as render targets.
    
    v2: code style cleanups (Ian Romanick, Matt Turner)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88905
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: "10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e333035c47a6a4cc88f0f9ca2bced500538bebae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f14955b71ba3571049cd4004b1e8381fa6f3b90
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Feb 12 10:14:24 2015 -0800

    Revert use of Mesa IR optimizer for ARB_fragment_programs
    
    Commit f82f2fb3dc770902f1657ab1c22e6004faa3afab added use of the Mesa
    IR optimizer for both ARB_fragment_program and ARB_vertex_program, but
    only justified the vertex-program portions with measured performance
    improvements.
    
    Meanwhile, the optimizer was seen to generate hundreds of unused
    immediates without discarding them, causing failures.
    
    Discard the use of the optimizer for now to fix the regression. (In
    the future, we anticpate things moving from Mesa IR to NIR for better
    optimization anyway.)
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82477
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    
    CC: "10.3 10.4 10.5" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 55a57834bf912916a5e07486b32f1778b35657f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ab5a28bd6ce4d73237ea68859f2643a2ba72186
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Feb 24 12:14:20 2015 +0000

    cherry-ignore: ignore commits picked without -x
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d6bc2c0ff4279501423e631eedc08013c1f9f26
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Feb 6 03:39:20 2015 -0800

    i965: Fix integer border color on Haswell.
    
    +82 Piglits - 100% of border color tests now pass on Haswell.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 08a06b6b891df456902f5e170f1d82236d0c73d2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=631e76500deb6ac5dde46a04a3d3735b96e679db
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 6 22:56:17 2014 -0700

    i965: Use a gl_color_union for sampler border color.
    
    This should have no effect, but will make it easier to implement other
    bug fixes.
    
    v2: Eliminate "unsigned one" local; just use the value where necessary.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit e1e73443c572b5432ef66a923fe64b73467f411b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28650815ac909885e36476cecc03951217dfae59
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Feb 6 02:06:27 2015 -0800

    i965: Override swizzles for integer luminance formats.
    
    The hardware's integer luminance formats are completely unusable;
    currently we fall back to RGBA.  This means we need to override
    the texture swizzle to obtain the XXX1 values expected for luminance
    formats.
    
    Fixes spec/EXT_texture_integer/texwrap formats bordercolor [swizzled]
    on Broadwell - 100% of border color tests now pass on Broadwell.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 8cb18760cccf2c89d94c50ff14b330ec2d5c4a3c)




More information about the mesa-commit mailing list