Mesa (staging/20.1): 35 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 16 17:31:43 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e60a00a35653ef8d7eddc1905a66a74026ed843d
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Sep 16 19:27:48 2020 +0200

    VERSION: bump to release 20.1.8

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcab33fce7907b0f19f0e9b3d0ccc477ac23b667
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Sep 16 19:24:14 2020 +0200

    docs: add release notes for 20.1.8

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a766857a447a2271480b0f5d857f7e10da022e4
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Sep 2 12:07:00 2020 +0200

    radeon/vcn: set dec->bs_ptr = NULL on unmap
    
    To avoid using a dangling pointer.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1308
    Cc: mesa-stable
    Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6556>
    (cherry picked from commit 7d853966df4f6d0ded845a6ba2b2af7c46404157)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dc3d4c6485a95288ceec59fffd93a17509d1388
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Sep 2 11:58:12 2020 +0200

    r600/uvd: set dec->bs_ptr = NULL on unmap
    
    To avoid using a dangling pointer.
    See https://gitlab.freedesktop.org/mesa/mesa/-/issues/1308
    
    Cc: mesa-stable
    Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6556>
    (cherry picked from commit eb60849ea2484c6ba09843ce1c29ba161fa6d02e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0634a167ca9a5850bf02d91d0ef869bf4c79eae
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jul 7 11:08:50 2020 +0200

    mesa/st: release debug_output after destroying the context
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3230
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2218
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5789>
    (cherry picked from commit 25baceafd3dfbc288fe05876c7c088549e46d9d4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94047baebe82def453bda80e10dc1cc1884a7bb1
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jul 7 11:06:21 2020 +0200

    mesa: add bool param to _mesa_free_context_data
    
    The param controls whether _mesa_destroy_debug_output should be called or not.
    No functional changes; this will be used by the next commit.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5789>
    (cherry picked from commit 7f0b6a5df8e360e52a97f59948dda927fe9df15e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0831f06c2d9b45890c62b6a7cd226524fa29c1d8
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jul 7 11:00:58 2020 +0200

    mesa: rename _mesa_free_errors_data
    
    Use the _mesa_init_XXX / _mesa_destroy_XXX pattern to clearly associate
    the 2 functions.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5789>
    (cherry picked from commit e6f7b4312f5f924c8da74d8989ef4ebec7466240)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e1aa8daa313e0eff4837799e3aac330a8ff83a4
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Sat Sep 12 13:20:06 2020 +0200

    aco: Fix emit_boolean_exclusive_scan in wave32 mode.
    
    Use the lane mask instead of s2 for the register class.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6699>
    (cherry picked from commit efa1c760d15fb645bed9d6c83e73a770b2fe0bd6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94faf66ad29e4ea9858f96bf71c76cf3cb84fb7f
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sun Mar 29 02:16:06 2020 -0700

    anv, iris: Set MediaSamplerDOPClockGateEnable for gen12+
    
    This has been shown to help performance on TGL and DG1. This could be
    applied to gen9+, but we still need to show if it helps with those
    platforms.
    
    Rework:
     * Make change in src/intel/vulkan/genX_cmd_buffer.c too. (Ken)
     * Keep mask as 3 for gen < 12
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6684>
    (cherry picked from commit 20a4235c4c96592e13648da494ca446288ac9a2f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3fe502bfe41fac1da7133366477ebc5bd2c10de
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Thu Sep 10 10:08:41 2020 +0800

    radeonsi: fix max syncobj wait timeout
    
    syncobj wait takes int64_t timeout and won't clamp it
    in kernel code, so we have to pass in INT64_MAX instead
    of OS_TIMEOUT_INFINITE which is UINT64_MAX. Otherwise
    syncobj wait with OS_TIMEOUT_INFINITE case just return
    fail.
    
    Fixes: c638301b42b "radeonsi: fix syncobj wait timeout"
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6676>
    (cherry picked from commit ef980ac0c1cd65993ba0c1d20e1c09b45bfef99d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e6f14e6115faf8e579a2d47adee037827fa0cab
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Tue Sep 8 07:33:59 2020 -0700

    blorp: Fix alignment test for HIZ_CCS_WT fast-clears
    
    Remove the extra logical ORs in the ternary operation.
    
    Fixes: 5425fcf2cb3 ("intel/blorp: Satisfy HIZ_CCS fast-clear alignments")
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6650>
    (cherry picked from commit 1eff389bd3ee17c340d9047051f559f0ac4e44b5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cd618104a7f47f642e94ce5f6beaa72111b2ed4
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Sep 8 05:37:36 2020 +1000

    gallivm: disable brilinear for lod bias and explicit lod.
    
    This allows GL 4.5 CTS to pass in full with no flags, other than
    that I'm not sure if it's a good or bad idea.
    
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6638>
    (cherry picked from commit b0722cb670156ef7d8d1ada4afaf8bf5cd5b9dba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5531f571b50f448f48690a087c35639f8ec395b
Author: Icecream95 <ixn at keemail.me>
Date:   Wed Sep 9 18:22:00 2020 +1200

    pan/mdg: Fix spilling of non-32-bit types
    
    The source argument for mov has index 1, not 0.
    
    Fixes a vertex shader in SuperTuxKart.
    
    Fixes: b4de9e035ac ("pan/mdg: Mask spills from texture write")
    Reported-by: macc24
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>~
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6659>
    (cherry picked from commit a4885d26915d290192f3bb5e5f50355cfa266a59)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a57ecd7fe7ca6718f0c132babcf78b28191868a3
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Sep 8 18:36:47 2020 -0500

    nir: More NIR_MAX_VEC_COMPONENTS fixes
    
    A couple of these probably aren't strictly necessary but they won't
    hurt.  The one that's particularly tricky is a fixed-length array in
    nir_search.h.  However, to avoid blowing up the binary size of
    nir_opt_algebraic by about 2x, we just assert that only small ops are
    used.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6655>
    (cherry picked from commit d86e38af2c6c9e7f70b31fb6482a875c6d10427c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfdefc942242dcdd4203ae4236b15f7ecedebf82
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 3 14:46:24 2020 -0700

    freedreno: Make the pack struct have a .qword for wide addresses.
    
    Storing a precomputed iova in reg packing wasn't possible because you'd
    truncate to 32 bits.  Making it be .qword makes it possible.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
    (cherry picked from commit 3b3772d6e694da91ead40c144292f5a93b2aa42e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76bb05414ff148d981415cf4d275af992fb5564a
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Jun 1 18:01:05 2020 -0500

    spirv: Run repair_ssa if there are discard instructions
    
    SPIR-V's OpKill is a control-flow instruction but NIR's discard is not.
    Therefore, it can be valid SPIR-V to have
    
        if (...) {
            foo = /* something */
        } else {
            discard;
        }
        use(foo);
    
    without any phi between the definition of foo and its use.  This is not
    true in NIR, however, because NIR's discard isn't considered
    control-flow.  Arguably, this is a NIR bug but making discard control-
    flow is a very deep change that can have serious ans subtle
    side-effects.   The easier thing to do is just fix up the SSA in case we
    have an OpKill which might have gotten us into the above case.
    
    Fixes dEQP-VK.graphicsfuzz.vectors-and-discard-in-function with the new
    NIR dominance validation pass enabled.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5288>
    (cherry picked from commit 7cedc4128a1f9d8ecae00ff41ccf1b63e4f3ebd0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f524454b0243d040eddb204536490a86f044245d
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Sep 7 11:33:44 2020 +0100

    nir/opt_if: fix opt_if_merge when destination branch has a jump
    
    Fixes a case where opt_if_merge created code like:
    if (...) {
       break;
       loop {
          ...
       }
    }
    which caused opt_peel_loop_initial_if to complain that the loop pre-header
    wasn't a predecessor of the loop header. This patch prevents this
    (invalid, I think) unreachable code from being created.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3496
    Fixes: 4d3f6cb9739 ('nir: merge some basic consecutive ifs')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6633>
    (cherry picked from commit 6cef8040672e84393e59ed6efa9953c95f5f8c92)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0987370f2c6ef4c9bdd0c3d6b62f4188135f29d
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Sep 7 21:06:52 2020 +0200

    radeonsi: Work around Wasteland 2 bug.
    
    Confirmed by an user on AMD HW that this driconf flag works
    around the issue.
    
    Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1535
    CC: mesa-stable
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6637>
    (cherry picked from commit 9b3491870fcf76028a2eef42a95e35a4732a5bd4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7a64ae923165abfd261dc954aa8dc9018d1e34b
Author: Michel Zou <xantares09 at hotmail.com>
Date:   Tue Sep 1 09:22:27 2020 +0200

    swr: fix build with mingw
    
    Reviewed-by: Jan Zielinski <jan.zielinski at intel.com>
    Tested-by: Prodea Alexandru-Liviu <liviuprodea at yahoo.com>
    Cc: mesa-stable
    
    closes #3454
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6532>
    (cherry picked from commit 2c94a9788e79e5b5ea17c581ab49bc4c2aaf9a0c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a3404c54738a64ada9cbbf74d0cebc7f5dbd482
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Thu Sep 3 17:39:41 2020 +0800

    radeonsi: fix syncobj wait timeout
    
    syncobj wait takes absolute timeout value.
    
    Fixes: 162502370c7 "winsys/amdgpu: implement sync_file import/export"
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6579>
    (cherry picked from commit c638301b42bc6ea1a623c2a53646047197fb8030)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8127c7cfb84270ad91972f9bb854cd774c83bb6
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Aug 31 23:37:37 2020 -0400

    Revert "ac: generate FMA for inexact instructions for radeonsi"
    
    This reverts commit 4b9370cb0f3a2d9030e827f847f66bdefeaf08fd.
    
    Fixes: 4b9370cb0f3a2d9030e827f847f66bdefeaf08fd
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3429
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6284>
    (cherry picked from commit f85294207f808c8f3072d63ac9e8624f9594045c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6781cc30cbf4c9ca5a812f2e65c1a4b9351850fd
Author: Andrey Vostrikov <av.linux.dev at gmail.com>
Date:   Thu Aug 27 09:32:48 2020 +0300

    egl/x11: Free memory allocated for reply structures on error
    
    This patch fixes memory leaks when reply is allocated and is not freed
    on error execution path.
    
    Found by enabling address sanitizer on simple EGL app.
    
    ```c
    
    int main()
    {
        EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
        EGLint major;
        EGLint minor;
    
        if (!eglInitialize(display, &major, &minor))
        {
            return 1;
        }
        eglTerminate(display);
        return 0;
    }
    ```
    
    Compiled with: `gcc testme.c -o testme -fsanitize=address -lasan -lEGL`
    
    Execution environment:
    - Windows 10, VMWare Player 15.5.2 build-15785246 without 3D accelaration
    - Guest OS: OpenSUSE Leap 15.2
    - Mesa 19.3.4
    
    Program output:
    
    ```sh
    ASAN_OPTIONS=fast_unwind_on_malloc=0 ./testme
    
    libEGL warning: DRI2: failed to authenticate
    ==52510==ERROR: LeakSanitizer: detected memory leaks
    
    Direct leak of 32 byte(s) in 1 object(s) allocated from:
        #0 0x7fa62315f500 in malloc (/usr/lib64/libasan.so.4+0xdc500)
        #1 0x7fa61e12d86b  (/usr/lib64/libxcb.so.1+0xf86b)
        #2 0x7fa61e12b5c7  (/usr/lib64/libxcb.so.1+0xd5c7)
        #3 0x7fa61e12cc3e  (/usr/lib64/libxcb.so.1+0xec3e)
        #4 0x7fa61e12cd4f in xcb_wait_for_reply (/usr/lib64/libxcb.so.1+0xed4f)
        #5 0x7fa61ebe02a5  (/usr/lib64/libEGL_mesa.so.0+0x202a5)
        #6 0x7fa61ebdb5ca  (/usr/lib64/libEGL_mesa.so.0+0x1b5ca)
        #7 0x7fa61ebd750c  (/usr/lib64/libEGL_mesa.so.0+0x1750c)
        #8 0x7fa61ebd7554  (/usr/lib64/libEGL_mesa.so.0+0x17554)
        #9 0x7fa61ebd1107  (/usr/lib64/libEGL_mesa.so.0+0x11107)
        #10 0x400856 in main (/home/user/testme+0x400856)
        #11 0x7fa622ad8349 in __libc_start_main (/lib64/libc.so.6+0x24349)
        #12 0x4006e9 in _start (/home/user/testme+0x4006e9)
    
    SUMMARY: AddressSanitizer: 32 byte(s) leaked in 1 allocation(s).
    ```
    
    Signed-off-by: Andrey Vostrikov <av.linux.dev at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6611>
    (cherry picked from commit 42420730d1cc88c5b4f1518365e9c273d7d4a120)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c6bff5523f6c5c6a164a45e674f0380212a845c
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Aug 24 20:00:10 2020 +0100

    aco: fix byte_align_scalar for 3 dword vectors
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: fe08f0ccf94a7315bded5868b4f6a8bae744de79
       ('aco: add byte_align_scalar() & trim_subdword_vector() helper functions')
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4710>
    (cherry picked from commit 8faf85f68770ee3e060bb74c87e857070f336a02)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1433c1b1e1539b05758a242e2b3a3f94fb3b5f6
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Tue Sep 1 22:09:43 2020 +0200

    meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER
    
    55765f80 replaced this with a check for the header itself.
    
    Fixes: 55765f80b9ce7cce4ec6 ("util/u_thread: include pthread_np.h if found")
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Jonathan Gray <jsg at jsg.id.au>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6548>
    (cherry picked from commit 0f4d09443eba0c5a219c943940ff970f3d583f56)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59bd16ee861f5ff53bd3c4d25b7bc0a6ad672c8e
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed Jul 17 13:19:43 2019 -0700

    iris: Fix aux assertion in resource_get_handle
    
    iris_resource_get_handle currently asserts that the resource has an aux
    state that is suitable for sharing. However, the caller of this function
    can pass a flag to specify that it will handle flushing/resolving the
    resource as needed for sharing. Take this flag into account when
    asserting the state of the aux buffer.
    
    Fixes: e81392868e6 ("iris/resource: Drop redundant checks for aux support")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/128
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1371>
    (cherry picked from commit 3cf6325e724dbc20076629983dd1fed5ecac533a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db89c572095cec39b54b16d980560715a60c56c8
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 19:15:01 2020 +0200

    amd/common: Fix various non-critical integer overflows
    
    The result of 0xf << 28 is a signed integer and hence overflows into the sign
    bit. In practice compilers did the right thing here, since the intent of the
    code was unsigned arithmetic anyway.
    
    Cc: mesa-stable
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit 93c8777ace8453f4cbc879d0829e582cf151066f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c19a2cfda5497cbbd22e52495bece2ea70e059b
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 18:28:36 2020 +0200

    aco: Fix integer overflows when emitting parallel copies during RA
    
    32-bit shifts were accidentally used before this change despite the intended
    output being 64 bits.
    
    This was observed when compiling Dolphin's ubershaders.
    
    Cc: mesa-stable
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit 2182bbf84f0f19846a47f0438ec702f4d862731e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=489e07d86dec93397d2e7bbed90daadb38a3c1a9
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Wed Sep 2 18:13:57 2020 +0200

    radv: Fix various non-critical integer overflows
    
    The result of 0xf << 28 is a signed integer and hence overflows into the sign
    bit. In practice compilers did the right thing here, since the intent of the
    code was unsigned arithmetic anyway.
    
    These conditions were observed in:
    * dEQP-VK.pipeline.image.suballocation.sampling_type.combined.view_type.1d.format.r4g4b4a4_unorm_pack16.count_8.size.512x1
    * dEQP-VK.binding_model.descriptorset_random.sets32.noarray.ubolimitlow.sbolimitlow.sampledimglow.outimgonly.noiub.nouab.frag.ialimithigh.0
    
    Cc: mesa-stable
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6568>
    (cherry picked from commit f18fc34c4d56d6e7d511002b39a257e18d8b3af3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4089181e32bdf095eb704d42af4f8d47258cb43
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Aug 29 03:25:02 2020 +0200

    radv: Fix threading issue with submission refcounts.
    
    If decrement == 0 then:
    
    - it isn't safe to access the submission
    - even if it is, checking that the result of the atomic_sub is 0
      doesn't given an unique owner anymore.
    
    So skip it. The submission always starts out with refcount >= 1,
    so first one to decrement to 0 still get dibs on executing it.
    
    Fixes: 4aa75bb3bdd "radv: Add wait-before-submit support for timelines."
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6478>
    (cherry picked from commit 6b75262941b55960e2f73d93f85020fa6c9c2d2f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=361de93f4ffc6ece430fcf9e6450bf6af5144f65
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 2 10:13:16 2020 -0500

    intel/fs: Don't copy-propagate stride=0 sources into ddx/ddy
    
    This can come up if, for instance, the shader does a derivative of a
    uniform or flat input.  Ideally, NIR would use divergence analysis to
    get rid of the derivative in this case but it doesn't right now.  This
    fixes a crash in F1 2017.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reported-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Tested-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6564>
    (cherry picked from commit 8e8701b43a0fc1997ecdb6a9557dd3e2c1a0d398)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=022c22d1cbd45c9e7fdb76b118ce6ebe29e0282a
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 25 16:01:47 2020 -0700

    gallium/tgsi_exec: Fix up NumOutputs counting
    
    We can get duplicate declarations for an index (for example dvec3 + float
    packed into 2 vec4s, the second one won't pack into the first's array
    decl), and we'd end up stepping by the wrong amount in GS vtx/prim emit.
    
    Fixes vs-gs-fs-double, sso-vs-gs-fs-array-interleave piglit tests.
    
    Fixes: 49155c3264d0 ("draw/tgsi: fix geometry shader input/output swizzling")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>
    (cherry picked from commit 329dee14555b8c8da59e6b47a51050f2aa736596)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f6cd0afa200deb9fcffde4e6eefc43c158b5814
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Wed Sep 2 13:37:47 2020 +0300

    intel/compiler: Fix pointer arithmetic when reading shader assembly
    
    start_offset is a byte offset.
    
    Fixes: 04a995158084acbd1917b4c7e0f8d381e1c9222d
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6557>
    (cherry picked from commit 87fa645b9438ce7943ae09012f695a7a1bca3eeb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f55b4c50a51ec497f7713cb890d3ba460036fd7
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Thu Sep 10 11:45:45 2020 +0200

    .pick_status.json: Mark c8ac01af33a5bc63822915f08f89a7dbaf7d433f as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60eaaf7fb5bf4d0d8cf7b0cba01839ca5f975d8d
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Sep 2 22:52:21 2020 +0200

    .pick_status.json: Update to 123bdb61cc0be64ee29b63cf27565ec98c2a0ab8

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce21088ed1fb5f6f10ba7390bd3f4884b1c86549
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Sep 2 22:35:27 2020 +0200

    docs/relnotes: add sha256 sums to 20.1.7



More information about the mesa-commit mailing list