Mesa (20.1): 28 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 22 21:10:04 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec9dbf95144fe75a540d0cce371a0ecbe665dfac
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jul 22 23:08:43 2020 +0200

    docs/relnotes: add sha256 sums to 20.1.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6154f155b4f12e974267db04849cb656ed21664
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jul 22 22:41:46 2020 +0200

    VERSION: bump to release 20.1.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=714aa7167d7e8363383d429f0a1811b3d81cdec1
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jul 22 22:40:25 2020 +0200

    docs: add release notes for 20.1.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96cde7784624de4a376bebe8f030681d302aa85b
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Thu Jul 16 21:09:08 2020 +0300

    nir/opt_if: Fix opt_if_simplification when else branch has jump
    
    Consider the following case:
    
     if ssa_1 {
        block block_2:
        /* succs: block_4 */
     } else {
        block block_3:
        ...
        break
        /* succs: block_5 */
     }
    
     block block_4:
     vec1 32 ssa_100 = phi block_2: ssa_2
    
    After block_3 extraction and reinsertion, phi->pred becomes invalid
    and isn't updated by reinsertion since it is unreachable from block_3.
    
    Call nir_opt_remove_phis_block before moving block to eliminate single
    source phis after the if.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3282
    Fixes: e3e929f8c342b32dc8f5296adf8fb337866fa40a
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5945>
    (cherry picked from commit 6f94b3da111f65a46126fdb3652474dc4d9cbda5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c334f84238efd80e41c8b7ad232eaa03e342c9f8
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Jul 20 18:06:47 2020 +0200

    mesa/program: fix shadow property for samplers
    
    When creating a sampler-type, we need to pass the correct vaclue for
    the "is_shadow"-parameter to glsl_sampler_type(), otherwise the compiler
    backend will have no clue about this being a shadow-sampler.
    
    Fixes: 1c0f92d8a8c ("nir: Create sampler variables in prog_to_nir.")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5986>
    (cherry picked from commit c33e8d7d522c250443d903b5732224988855b9a9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9fdd9dfc1777d5676fc26d2cc3626d9b50d365b
Author: Rhys Kidd <rhyskidd at gmail.com>
Date:   Mon Jul 20 21:10:25 2020 +1000

    nvc0: fix macro define for NVE4_COPY()
    
    Fixes: e44089b2f79 ("nvc0: add initial support for nve4+ (Kepler) chipsets")
    Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5982>
    (cherry picked from commit 203d565b195442dac85701b029eb8ba469c6809b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea01305589581530369c2f256143fbec70f64f79
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Sat Jul 18 22:51:44 2020 +0300

    anv: properly handle fence import of sync_fd = -1
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 43e8808b82b9eb ("anv: Add support for the SYNC_FD handle type for fences")
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5964>
    (cherry picked from commit 3a4024e776645714dc728e48108755877b37131a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3fe8cb8d9688082eadf8b5e25f0d4990f825193
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Jul 22 01:50:47 2020 +0200

    meson: Add mising git_sha1.h dependency.
    
    Fixes: 606dff1b73f "vulkan/overlay: Add support for a control socket."
    Reviewed-by: Dylan Baker <dylan.c.baker at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6019>
    (cherry picked from commit 323d5bbfd9a1d6684bb5381b67b8965ea98d5fc0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f601c39bb3013e3374d50de08c2bce904f4368a7
Author: Luigi Santivetti <luigi.santivetti at imgtec.com>
Date:   Tue Jun 30 14:59:45 2020 +0100

    egl/dri2: try to bind old context if bindContext failed
    
    This change mostly touches error handling code paths, where a
    bug was found when the DRI driver failed to bind a new DRI
    context. Specifically, the reason for it to fail was the window
    system unable (for whatever reason) to provide the DRI drawable
    with a buffer. In this instance, Mesa un-does the EGL bindings,
    but doesn't restore the old DRI context, hence remaining in a
    funny state. It's worth mentioning that despite trying, there
    is no guarantee that the old DRI context can be restored,
    depending on the runtime.
    
    Before this change, if bindContext() failed then
    dri2_make_current() would rebind the old EGL context and
    surfaces and return EGL_BAD_MATCH. However, it wouldn't rebind
    the DRI context and surfaces, thus leaving it in an
    inconsistent and unrecoverable state.
    
    After this change, dri2_make_current() tries to bind the old
    DRI context and surfaces when bindContext() failed. If unable
    to do so, it leaves EGL and the DRI driver in a consistent
    state, it reports an error and returns EGL_BAD_MATCH.
    
    Fixes: 4e8f95f64d004aa1 ("egl_dri2: Always unbind old contexts")
    
    Signed-off-by: Luigi Santivetti <luigi.santivetti at imgtec.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5707>
    (cherry picked from commit 2907faee7a3970a63daefd6017bb7b8691e7fc08)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eece36ecbad0bab755890688bd900e1ab00fdd0c
Author: Luigi Santivetti <luigi.santivetti at imgtec.com>
Date:   Tue Jun 30 11:32:49 2020 +0100

    dri2: do not conflate unbind and bindContext() failure
    
    dri2_make_current() has become hard to follow, address this by
    splitting the semantic of needing a call to bindContext() and
    its failure.
    
    Cc: mesa-stable
    Signed-off-by: Luigi Santivetti <luigi.santivetti at imgtec.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5707>
    (cherry picked from commit 8b0b6f907d7ba304cea02bdb81fbb914d6077cb9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceec2cfe4c93d3cac19f52ad3582a3ecb5214927
Author: Luigi Santivetti <luigi.santivetti at imgtec.com>
Date:   Tue Jun 30 10:14:08 2020 +0100

    dri2: dri2_make_current() fold multiple if blocks
    
    dri2_make_current() has become long and convoluted. Address
    this by folding together multiple if blocks checking for the
    same variable.
    
    Cc: mesa-stable
    Signed-off-by: Luigi Santivetti <luigi.santivetti at imgtec.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5707>
    (cherry picked from commit 6b12999ef7c5b754df0919cdc9e354d58abbc4fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b91d522bd2fdf637c676febe593cfe826ff66445
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Jul 20 16:54:22 2020 +0100

    radv: replace discard with demote for Quantic Dream games
    
    Detroit: Become Human uses dFdx/dFdy immediately after a quad-divergent
    discard, which can cause the image to become white.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3212
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5991>
    (cherry picked from commit d9072a113b2041cebfa10e6e27b5ce2687a02126)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=804dbfc098d5a69c4ba20eea44ea15fa77b78ec4
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Jul 1 16:14:16 2020 +0100

    nir/lower_int64: lower 64-bit amul
    
    Fixes an issue with Renderdoc's shader debugging with ACO.
    
    If nir_opt_algebraic isn't called in-between nir_lower_explicit_io and
    nir_lower_int64, we can end up with 64-bit multiplications.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 6320e37d4be ('nir: add amul instruction')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5709>
    (cherry picked from commit 0868638aed05775db44e9acc625bc34c737ee4fa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c1db924089909411991317fde86d72b1bf313bd
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Jul 14 14:40:35 2020 -0500

    intel/fs: Use the correct logical op for global float atomics
    
    Fixes: e644ed468f98 "intel/fs: Implement nir_intrinsic_global_atomic_*"
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5992>
    (cherry picked from commit 675d7b19a9aece0ea674eadba20ec2b01c86de6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d64914d00ec2bd497f26a4a59968739c736b560
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Thu Jul 9 14:10:51 2020 +0200

    ac/surface: adapt surf_size when modifying surf_pitch
    
    Otherwise we might get VM_L2_PROTECTION_FAULT_STATUS errors.
    
    Fixes: 8275dc1ed57 ("ac/surface: fix epitch when modifying surf_pitch")
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5841>
    (cherry picked from commit 87ecfdfbf0a8448d1475e6da15175e68bdeb933b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fc1bc19acf93a46c0a5f0839e19ad63dd2fb446
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jul 14 22:55:04 2020 +0200

    radv: fix destroying the syncobj when exporting a fence FD
    
    It's invalid and the temporary syncobj was never actually destroyed.
    
    Cc: 20.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5921>
    (cherry picked from commit 8aa9d0acb8ce882686eedd7d9b2bf51b035f2614)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77b1dd655d3589ccc28ff963d0f28201e87d8f00
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Jul 16 14:07:09 2020 -0400

    panfrost: Revert "Disable frame throttling"
    
    This reverts commit 4fee7b30c0ecc56d7659ecad1d8b140ab253f0db, which was
    intended to be a temporary workaround for a leak introduced in
    a65e29ccb26 ("gallium: simplify throttle implementation"). However, that
    leak was then fixed in 023282a4f667695ea1dbbe9fbe1cd3a9d550a426 and we
    forgot to revert this hack.
    
    Closes: #2108
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
    (cherry picked from commit 40b99bb79e19a413da5e2f9717b219336919367b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a83d381e5455cc14f6ed157a86a35379b850fbbb
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Jul 9 19:13:59 2020 -0400

    panfrost: Fix write to free'd memory
    
    No clue how this worked before.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Fixes: 82f18b713ac ("panfrost: Keep track of active BOs")
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5859>
    (cherry picked from commit 37d89e0f93601e520edcdc41dc68197dff736c1e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=273b9a1ccc2466a24d5acd009a05c780017461b6
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue May 26 16:57:44 2020 -0400

    panfrost: Fix fence leak
    
    When overwriting the writer, we need to release the old reference.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Fixes: 2dad9fde505 ("panfrost: Start tracking inter-batch dependencies")
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5859>
    (cherry picked from commit 20dd37024b045881d98a55b1927b0dab29d1edd3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd3caf582843dfe4bf70b51d05890affa8830e6c
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Jul 10 15:58:39 2020 -0500

    spirv: Allow block-decorated struct types for constants
    
    Whenever a struct type is decorated Block or BufferBlock we turn that
    into a GLSL_TYPE_INTERFACE.  Since these decorations can end up random
    places, we should allow them for constants.
    
    Closes: #3252
    Fixes: 9d0ae777dd6 "spirv: Use interface type for block and buffer..."
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5855>
    (cherry picked from commit 351b5137d71b8dc944bad6dcb83cd93e6d38c44e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32d2431a553945ccf44edb419a003c1070eb4694
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Jul 10 16:09:27 2020 -0500

    spirv: Skip phis in unreachable blocks in the second phi pass
    
    Closes: #3253
    Fixes: 22fdb2f8551 "nir/spirv: Update to the latest revision"
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5855>
    (cherry picked from commit 81773b4b441fbd8ec284de78e4dfdcecdca112dc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5fcf18614146c13e1661bc2d0e1e609ab40c2ed
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Fri Jul 10 10:46:53 2020 +0300

    iris: fix fallback to swrast driver
    
    The helper we use to query the kernel returns -1 if the getparam is
    not supported.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: f402b7c57641dd ("iris: fail screen creation when kernel support is not there")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3188
    Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5838>
    (cherry picked from commit e3ddba73241901a75844b39e6e3b12eaf15f9b26)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c27aae4f5c19089cd3c7f0893c6e64e3c5c61754
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Thu Jul 9 16:59:39 2020 +0200

    st/mesa: set compressed_data to NULL when freed
    
    Reported-by: Karol Herbst <kherbst at redhat.com>
    Fixes: b6db703e0f0 ("st/mesa: make texture views inherit compressed_data storage")
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Tested-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5821>
    (cherry picked from commit 51bdaf0b601522dfc599bd352806e66ef56876a3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa9b4e30d40c15d97c1b4d533b5d77b9ecf027a6
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jun 19 18:37:00 2020 +0200

    glsl: only allow 32 bits atomic operations on images
    
    EXT_shader_image_load_store says:
       The format of the image unit must be in the "1x32" equivalence class
       otherwise the atomic operation is invalid.
    
    ARB_shader_image_load_store says:
       We will only support 32-bit atomic operations on images
    
    Fixes: fc0a2e5d017 ("glsl: add EXT_shader_image_load_store new image functions")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5688>
    (cherry picked from commit 1e3aeda5281e5d246e37a035d91f08af4bb0e5e3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e44e8cf2cedb2ffc6d921133c287a250c343a77
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jun 19 18:34:51 2020 +0200

    glsl: don't expose imageAtomicIncWrap for signed image
    
    The spec says that it's only allowed for unsigned ones.
    Same from imageAtomicDecWrap.
    
    Fixes: fc0a2e5d017 ("glsl: add EXT_shader_image_load_store new image functions")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5688>
    (cherry picked from commit 233af4a412db87a9b8430104a58c1b6adb704b1c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fea7026b49586f139162ace876034d4c5607bc4
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jun 19 18:29:19 2020 +0200

    glsl: reject size1x8 for image variable with floating-point data types
    
    Fixes: 8d07d66180b ("glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5688>
    (cherry picked from commit 0c8873d85db371dea9ec34fefc6fec531aa404b9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d826d63fbe22031e1cd67113251b3b83f0141b7
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Jul 7 18:00:55 2020 -0400

    freedreno/a2xx: fix compressed textures
    
    Two problems:
    * Multiply has higher priority than shift
    * rsc->layout.format isn't initialized for a2xx
    
    Fixes: 5a8718f01b397 ("freedreno: Make the slice pitch be bytes, not pixels.")
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5796>
    (cherry picked from commit 344e764b01202d9894c793d393d060dc5530145b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33a9a040a7cfc9fe15f9722c9230cc8b0fb90976
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Fri Jul 10 12:32:35 2020 +0200

    .pick_status.json: Update to fd20e986249f88129d81353d79dd248d7664953b



More information about the mesa-commit mailing list