Mesa (staging/18.2): 24 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 2 08:59:42 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e1b0a085347997c9482501f11fd048c28f4e0ba
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Oct 1 14:29:20 2018 -0400

    radeonsi: NaN should pass kill_if
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c24f60cca7f0af51094afdfbac490d425a91cb8
Author: Maxime <berillions at gmail.com>
Date:   Mon Sep 24 08:46:22 2018 +1000

    vulkan: Disable randr lease for libxcb < 1.13
    
    Since the Randr lease code was added, compiling against libxcb 1.12 no
    longer works.
    
    CC: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108024
    Fixes: 7ab1fffcd2a504024b16e408de329f7a94553ecc
    Tested-By: Maxime <berillions at gmail.com>
    Fixes: 7ab1fffcd2a504024b16 "vulkan: Add EXT_acquire_xlib_display [v5]"
    (cherry picked from commit dd333c66bdcb11c0d7c522642761490aced2b7ab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c34a42189c0171012dd8131f366a7a93f119553
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Sun Sep 23 18:24:18 2018 +0200

    st/nine: Increase maximum number of temp registers
    
    With some test app I hit the limit.
    As we allocate on demand (up to the maximum),
    it is free to increase the limit.
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7ae2509ce06d9d3da44de3f25afc7370e2330030)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec9175a804d8022fd474e1873867b5af224ace19
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Sat Sep 15 21:32:53 2018 +0200

    st/nine: Avoid redundant SetCursorPos calls
    
    For some applications SetCursorPosition
    is called when a cursor event is received.
    
    Our SetCursorPosition was always calling
    wine SetCursorPos which would trigger
    a cursor event.
    
    The infinite loop is avoided by not calling
    SetCursorPos when the position hasn't changed.
    Found thanks to wine tests.
    
    Fixes irresponsive GUI for some applications.
    
    Fixes: https://github.com/iXit/Mesa-3D/issues/173
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit dcfde02bb0f0b9fdd8d45a22540683fe0aaab9ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98fd4107c464567bb7508676a263c64f66d7d412
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Fri Jan 27 23:13:29 2017 +0100

    st/nine: Clamp RCP when 0*inf!=0
    
    Tests done on several devices of all 3 vendors and
    of different generations showed that there are several
    ways of handling infs and NaN for d3d9.
    
    Tests showed Intel on windows does always clamp
    RCP, RSQ and LOG (thus preventing inf/nan generation),
    for all shader versions (some vendor behaviours vary
    with shader versions).
    Doing this in nine avoids 0*inf issues for drivers
    that can't generate 0*inf=0 (which is controled by
    TGSI's MUL_ZERO_WINS).
    
    For now clamp for all drivers. An ulterior optimization
    would be to avoid clamping for drivers with MUL_ZERO_WINS
    for the specific shader versions where NV or AMD don't
    clamp.
    
    LOG and RSQ being already clamped, this patch only
    clamps RCP.
    
    Fixes: https://github.com/iXit/Mesa-3D/issues/316
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7ee5e5e239a5528c6eed2d1bb47b48434de74a6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4c8c67f31ee6da763b100a96d837c422764f76c
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Sat Sep 22 12:38:11 2018 +1000

    radeonsi: add a workaround for bitfield_extract when count is 0
    
    This ports the fix from 3d41757788ac. Both LLVM 7 & 8 continue
    to have this problem.
    
    It fixes rendering issues in some menu and loading screens of
    Civ VI which can be seen in the trace from bug 104602.
    
    Note: This does not fix the black triangles on Vega for bug
    104602.
    
    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104602
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107276

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18913d2aaefe7a27e71dac64c35edd564c8fd790
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Sep 13 20:36:15 2018 +0100

    vulkan/wsi/display: check if wsi_swapchain_init() succeeded
    
    Fixes: da997ebec929421939553 "vulkan: Add KHR_display extension using DRM [v10]"
    Cc: Keith Packard <keithp at keithp.com>
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit bde3102c0dc3e33d2605d013205e381ff6d93ace)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74bb9aeae96477287b0673d39b0bdeb0734cda5b
Author: Andres Rodriguez <andresx7 at gmail.com>
Date:   Tue Sep 25 02:30:34 2018 -0400

    radv: only emit ZPASS_DONE for timestamp queries on gfx queues
    
    A ZPASS_DONE packet doesn't make sense for the compute queue. It will
    result in a gpu hang.
    
    This change resolves a gpu hang for SteamVR+Vega.
    
    Cc: mesa-stable at lists.freedesktop.org
    Fixes: 1f616a840eac02241c585d28e9dac8f19a297f39 "radv: emit a dummy ..."
    Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit ec1fcf92ae7e445d74e69f6973041fd12112b1fa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dadb3952dfecb70b6df820dd90746548b8d29be1
Author: Leo Liu <leo.liu at amd.com>
Date:   Tue Sep 18 16:19:57 2018 -0400

    radeon/uvd: use bitstream coded number for symbols of Huffman tables
    
    Signed-off-by: Leo Liu <leo.liu at amd.com>
    Fixes: 130d1f456(radeon/uvd: reconstruct MJPEG bitstream)
    Cc: "18.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
    (cherry picked from commit 3e7b5e5db2f332e258d01c855137476e8fd4a44f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45ce3ede802ef1de1fb9dae8966a30de9d05cade
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri Jul 20 15:56:21 2018 +0100

    nvc0: fix bindless multisampled images on Maxwell+
    
    NVC0_CB_AUX_BINDLESS_INFO isn't written to on Maxwell+ and it's too small
    anyway.
    
    With these changes, TXQ is used to determine the number of samples and
    the coordinate adjustment information looked up in a small array in the
    driver constant buffer.
    
    v2: rework to use TXQ and a small array instead of a larger array with an
        entry for each texture
    v3: get rid of the small array and calculate the adjustments in the shader
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Fixes: c2ae9b40527 ('nvc0: implement multisampled images on Maxwell+')
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit b473fcc9a39d0e1cdc1b9d2cd34ea8da2f9fc382)
    
    Squashed with:
    
    nv50/ir: fix link-time build failure
    
    Seems this fixes linking problems that occur in some situations.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 6ca1402c117856b55d044be1e82224db30ed1b02)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6db732b45438352082f868fb98d688e484cc436
Author: Stuart Young <cefiar at gmail.com>
Date:   Thu Sep 20 17:12:43 2018 +1000

    docs: Update FAQ with respect to s3tc support
    
    It's just over 10 months since 17.3.0 was released with s3tc support enabled.
    Probably a good idea to update the FAQ page.
    
    v2: Incorporate feedback from Adam Jackson <ajax at redhat.com>
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Fixes: 04396a134f0 ("mesa: Import libtxc_dxtn sources")
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit c95dd966c4362ef75bab1664726533c017a9b331)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76f5b564f30e0e3789526e6ce38198dd01dd0634
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Sep 20 18:06:27 2018 +0100

    nvc0: Update counter reading shaders to new NVC0_CB_AUX_MP_INFO
    
    Fixes: 66ca7e400b8 ('nvc0: add support for programmable sample locations')
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 01fa76b70723bafdd2d3d364e521d3df13f50b82)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56acf932dee57edb237e3635429b73fa298d13bf
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Sep 17 08:56:51 2018 -0700

    meson: Don't compile pipe loader with dri support when not using dri
    
    Corrects building glx as gallium-xlib without any dri targets.
    
    v2: - fix ugly formatting
    
    Fixes: 66c94b9313a697ce8f2b222f4ba353035e4b8726
           ("meson: build gallium winsys for dri, null, and wrapper")
    
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 5dcb77e491c9416b83f568d2fda0281749ce26e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03ccb045b317925ab1c5ecec076ec029f358d90c
Author: Michal Srb <msrb at suse.com>
Date:   Thu Mar 15 17:27:57 2018 +0100

    st/dri: don't set queryDmaBufFormats/queryDmaBufModifiers if the driver does not implement it
    
    This is equivalent to commit a65db0ad1c3, but for dri_kms_init_screen. Without
    this gbm_dri_is_format_supported always returns false.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104926
    Fixes: e14fe41e0bf ("st/dri: implement createImageFromRenderbuffer(2)")
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Tested-by: Adam Williamson <adamwill at fedoraproject.org>
    (cherry picked from commit 194bf0a2e01769f4b29df06febf27ce340c1cd68)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e79c931d281a1354ec11adfc7c122a2ea4ab44d1
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 21 14:11:12 2018 -0700

    vc4: Fix sin(0.0) and cos(0.0) accuracy to fix SDL rendering rotation.
    
    SDL has some shaders that compute sin(angle) and cos(angle) for a rotation
    matrix in the VS, and angle is usually 0.0.  Our previous implementation
    had quite a bit of error around 0.0, causing single-pixel rotations at
    typical window sizes.  SDL2 has changed as of August 28th (commit
    12156:e5a666405750) to not need sin/cos in the VS, but we should still fix
    this for existing implementations or similar patterns that other programs
    may have.
    
    glsl-cos goes from 32 instructions to 36, but 9 uniforms to 7.
    glsl-sin goes from 32 instructions to 34, but 8 uniforms to 7.
    
    This seems like a fine impact to have for the bugfix.
    
    Cc: 18.1 18.2 <mesa-stable at lists.freedesktop.org>
    Fixes: https://github.com/anholt/mesa/issues/110
    (cherry picked from commit 10d5d2d527dea11f4afe300eebeaba077f169af0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be23d75fb97666330ee99a65369f3475275b1db6
Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Wed Sep 19 10:24:30 2018 -0500

    pci_ids: add new polaris pci id
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit afb7c6b301ea4275d64498a0b62a908777cb9b24)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2a66767a249ce66f64e50c2b9f6367b9b2fa318
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Sep 11 18:02:22 2018 -0400

    glsl_to_tgsi: invert gl_SamplePosition.y for the default framebuffer
    
    Fixes dEQP-GLES31.functional.shaders.sample_variables.sample_pos.correctness.default_framebuffer
    with --deqp-gl-config-name=rgba8888d24s8ms4
    
    Cc: 18.1 18.2 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit f0cd7dbcd71fb3aea358f757a4cfda80cd36674a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7796d93382a697ee7e2d03203a2aeb9a06728dc3
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Sep 21 11:36:17 2018 +0200

    radv: use the resolve compute path if dest uses multiple layers
    
    The hardware path doesn't support resolving layers, for both
    source and destination images.
    
    This fixes a reflection issue when MSAA is enabled which
    affects GTA V and probably DIRT3.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107786
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Tested-by: Gregor Münch <gr.muench_at_gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit fe3f13cc5a8b70dfb27f8b26c059272e251da390)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2607a6da52e2c5f75710c9399ec7b8cd21fce28
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Fri Aug 24 12:11:49 2018 +0200

    anv: Add support for protected memory properties on anv_GetPhysicalDeviceProperties2()
    
    VkPhysicalDeviceProtectedMemoryProperties structure is new on Vulkan 1.1.
    
    Fixes Vulkan CTS CL#2849.
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 59a8e0dbf855d390e96a88d859f0d120dfc34404)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=358c2d6923c9526ed5d0a9e6f4486bdd035142a6
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Sep 20 05:30:03 2018 -0500

    anv,radv: Implement vkAcquireNextImage2
    
    This was added as part of 1.1 but it's very hard to track exactly what
    extension added it.  In any case, we should implement it.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Dave Airlie <Airlied at redhat.com>
    (cherry picked from commit ab80889e92e2a3c2884e5da925424f9f6a88979b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=686eab66420eec742338c1b75e499367e103e82b
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Fri Sep 21 13:05:44 2018 +0200

    docs: add sha256 checksums for 18.2.1
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c8c851fe46b1924d84b04c49c60885452c4fbe2
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Fri Sep 21 12:38:01 2018 +0200

    docs: add release notes for 18.2.1
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a197eb34e663460e4318dc29c28ed7c1df51a7e
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Fri Sep 21 08:43:21 2018 +0000

    Update version to 18.2.1
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c355700fda968237ea398ded7351013287a027c
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Sep 20 19:15:58 2018 +0200

    radv: Fix driver UUID SHA1 init.
    
    Was missing the init, found by Emil.
    
    Fixes: d17443a4593 "radv: Use build ID if available for cache UUID."
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit 0a77e70d1040eb98253a172908785303c3abdbd5)




More information about the mesa-commit mailing list