Mesa (20.2): 45 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 28 02:23:01 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dae7b5156f2a51a5e52fe830b7d01bf6c46fb2be
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Aug 27 18:49:32 2020 -0700

    VERSION: bump for 20.2.0-rc3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2a441c6a206d41f598a3c7a64ab90576ae660a7
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Aug 17 11:28:07 2020 +0100

    aco: fix non-rtz pack_half_2x16
    
    We were using the wrong conversion opcode. The high bits are also not
    zero'd on GFX10, which can cause v_cvt_pk_u16_u32 to clamp.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: df645fa369d ('aco: implement VK_KHR_shader_float_controls')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6346>
    (cherry picked from commit 9c1e0d86a813af7609acf42cfe6bec7401d6405f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=831473e56e378f985615ecc2683e7cdaf74047c3
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Tue Aug 18 10:41:31 2020 +0300

    glsl: Eliminate out-of-bounds triop_vector_insert
    
    Section 5.11 (Out-of-Bounds Accesses) of the GLSL 4.60 spec says:
    
     "In the subsections described above for array, vector, matrix and
      structure accesses, any out-of-bounds access produced undefined
      behavior.... Out-of-bounds writes may be discarded or overwrite
      other variables of the active program."
    
    Fixes crashes when dereferencing gl_ClipDistance and gl_TessLevel*, e.g:
    
      int index = -1;
      gl_ClipDistance[index] = -1;
    
    When LowerCombinedClipCullDistance is true.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6363>
    (cherry picked from commit e802bff69ee74983215d0c2b7e213fca6d68a97d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3510789c294c2eeca336002e63b4771a9a61bf3
Author: Pierre Moreau <dev at pmoreau.org>
Date:   Tue May 5 13:16:55 2020 +0200

    clover/spirv: Remove unused tuple header
    
    Fixes: 21473865050 ("clover/spirv: Add functions for parsing arguments, linking programs, etc.")
    Signed-off-by: Pierre Moreau <dev at pmoreau.org>
    Reviewed-by: Serge Martin <edb at sigluy.net>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5038>
    (cherry picked from commit a9ca73730e4bba775463ca75949660abbf59b73f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a1539017446c18f1c211b3731c93b3e8686c9c4
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:41:37 2020 -0400

    panfrost: Free batch->dependencies
    
    On glmark2-es2 -bterrain:
    
    594.05KB leaked over 9282 calls from:
        panfrost_batch_update_bo_access
          at ../src/gallium/drivers/panfrost/pan_job.c:462
          in /home/alyssa/rockchip_dri.so
        panfrost_batch_add_bo
          at ../src/gallium/drivers/panfrost/pan_job.c:560
        panfrost_batch_add_bo
          at ../src/gallium/drivers/panfrost/pan_job.c:519
          in /home/alyssa/rockchip_dri.so
        panfrost_batch_add_resource_bos
          at ../src/gallium/drivers/panfrost/pan_job.c:569
        panfrost_batch_add_fbo_bos
          at ../src/gallium/drivers/panfrost/pan_job.c:588
          in /home/alyssa/rockchip_dri.so
        panfrost_create_batch
          at ../src/gallium/drivers/panfrost/pan_job.c:126
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit 1cb47f8eea0af26b9573ac973ae3d9852cbabe6a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83c32b9d900eb7d600645a2130de32962a934778
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:31:42 2020 -0400

    panfrost: Use memctx for sysvals
    
    8.74KB leaked over 52 calls from:
        0xffffbb5b9fc3
          in ??
        _mesa_hash_table_init
          at ../src/util/hash_table.c:163
          in /home/alyssa/rockchip_dri.so
        _mesa_hash_table_create
          at ../src/util/hash_table.c:186
        _mesa_hash_table_u64_create
          at ../src/util/hash_table.c:701
          in /home/alyssa/rockchip_dri.so
        panfrost_nir_assign_sysvals
          at ../src/panfrost/util/pan_sysval.c:130
          in /home/alyssa/rockchip_dri.so
        midgard_compile_shader_nir
          at ../src/panfrost/midgard/midgard_compile.c:2905
          in /home/alyssa/rockchip_dri.so
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit 680fb05f99d701d2156d231f6b5ae614b146c7ce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4c5c7cbf5421890723b9c9766f3a280725ba2aa
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:26:40 2020 -0400

    pan/mdg: Free previous liveness
    
    Before we drop the reference.
    
    160 calls with 0B peak consumption from:
        0xffffbd9d2fc3
          in ??
        pan_compute_liveness
          at ../src/panfrost/util/pan_liveness.c:127
          in /home/alyssa/rockchip_dri.so
        mir_compute_liveness
          at ../src/panfrost/midgard/midgard_liveness.c:55
          in /home/alyssa/rockchip_dri.so
        midgard_opt_dead_code_eliminate
          at ../src/panfrost/midgard/midgard_opt_dce.c:118
          in /home/alyssa/rockchip_dri.so
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit 8dd38e5a3e68d67d6050f8bcba28cf3514ef1eef)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f41a82869f95ff6d411d7f36fda71656b182f849
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:23:13 2020 -0400

    panfrost: Free hash_to_temp map
    
    No need to put it on the context, we can keep it local in mir_squeeze
    and drop when we're done.
    
    15.77KB leaked over 85 calls from:
        0xffffaed3bfc3
          in ??
        _mesa_hash_table_rehash
          at ../src/util/hash_table.c:368
          in /home/alyssa/rockchip_dri.so
        hash_table_insert
          at ../src/util/hash_table.c:403
          in /home/alyssa/rockchip_dri.so
        find_or_allocate_temp
          at ../src/panfrost/midgard/mir_squeeze.c:48
          in /home/alyssa/rockchip_dri.so
        find_or_allocate_temp
          at ../src/panfrost/midgard/mir_squeeze.c:35
          in /home/alyssa/rockchip_dri.so
        mir_squeeze_index
          at ../src/panfrost/midgard/mir_squeeze.c:76
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit 62637a913ab67dc3ade1af3c2d4ae724ab677836)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e26c08622be963dad6e1486c925a7c25e9a6605a
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:10:25 2020 -0400

    panfrost: Free NIR of blit shaders
    
    After we compile from NIR to a native binary, we can throw away the NIR.
    
    17.47KB leaked over 104 calls from:
        0xffff87dcafc3
          in ??
        _mesa_hash_table_init
          at ../src/util/hash_table.c:163
          in /home/alyssa/rockchip_dri.so
        _mesa_hash_table_create
          at ../src/util/hash_table.c:186
        nir_lower_vars_to_ssa_impl
          at ../src/compiler/nir/nir_lower_vars_to_ssa.c:717
          in /home/alyssa/rockchip_dri.so
        nir_lower_vars_to_ssa
          at ../src/compiler/nir/nir_lower_vars_to_ssa.c:817
        optimise_nir
          at ../src/panfrost/midgard/midgard_compile.c:504
          in /home/alyssa/rockchip_dri.so
        midgard_compile_shader_nir
          at ../src/panfrost/midgard/midgard_compile.c:2895
          in /home/alyssa/rockchip_dri.so
        panfrost_build_blit_shader
          at ../src/panfrost/lib/pan_blit.c:103
          in /home/alyssa/rockchip_dri.so
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit da6d0e3facfe0eb5c7db2d75d6992643d929caff)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e0565c262479ce078d37e891da9d629ecea0fe5
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 18 08:07:15 2020 -0400

    panfrost: Free cloned NIR shader
    
    Fixes heaptrack leak:
    
    19.37KB leaked over 63 calls from:
        0xffff92bbefc3
          in ??
        nir_alu_instr_create
          at ../src/compiler/nir/nir.c:442
          in /home/alyssa/rockchip_dri.so
        clone_alu
          at ../src/compiler/nir/nir_clone.c:277
          in /home/alyssa/rockchip_dri.so
        clone_instr
          at ../src/compiler/nir/nir_clone.c:495
          in /home/alyssa/rockchip_dri.so
        clone_block
          at ../src/compiler/nir/nir_clone.c:544
        clone_cf_list
          at ../src/compiler/nir/nir_clone.c:594
        clone_function_impl
          at ../src/compiler/nir/nir_clone.c:672
          in /home/alyssa/rockchip_dri.so
        nir_shader_clone
          at ../src/compiler/nir/nir_clone.c:744
          in /home/alyssa/rockchip_dri.so
        panfrost_shader_compile
          at ../src/gallium/drivers/panfrost/pan_assemble.c:154
          in /home/alyssa/rockchip_dri.so
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit 9146f596ed1e8854a2a6c9137396a902bc92946c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e834ac4863376f90c30f8b2cf3fa2b10ef19133b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 17 19:57:54 2020 -0400

    panfrost: Fix blend leak for render targets 5-8
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Fixes: 375d4c2c74d ("panfrost: Extend blending to MRT")
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>
    (cherry picked from commit ba4fc67812cd052a4c89cac0f376326f52da1fda)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7a4d89b194baca049ace747b19087acd466f191
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue Aug 18 15:16:37 2020 +0300

    anv: null check for buffer before reading size
    
    v2: move assignment under existing check (Nanley)
    
    Fixes: b9a05447a19 ("anv: dynamic vertex input binding stride and size support")
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6369>
    (cherry picked from commit 709dffa856682b706e516dd324e2f5129a127e8e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d74b2bf797bcaf9913ff909314ccd76e3a848598
Author: Karol Herbst <kherbst at redhat.com>
Date:   Sat Mar 7 16:17:48 2020 +0100

    nv50/ir/nir: fix global_atomic_comp_swap
    
    Fixes: 20d0ae464c4a ("nv50/ir: implement global atomics and handle it for nir")
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Reviewed-by: Pierre Moreau <dev at pmoreau.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6367>
    (cherry picked from commit b283fb335b2736ffe53c6d7d075c1b14dbcadce7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99540aa4faa4c56e230b9f8650f6cd7adec33213
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Aug 14 11:52:57 2020 -0700

    freedreno/ir3: Fix assertion failures dumping CS high full regs.
    
    The *2 here would bump into the *2 in regset, causing assertion failures
    dumping CS programs.  Just set the mergedregs flag on a6xx, and don't
    duplicate the mergedregs logic.  If you're dealing with new HW where we
    don't know if mergedregs is set, you may need to tweak the flag during
    disasm setup for the stats to make sense.
    
    Fixes: f7bd3456d79a ("freedreno: deduplicate a3xx+ disasm")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6323>
    (cherry picked from commit a27823ef2cd617db8a57d6c1c645a220ac83ee21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc698d8ce740c7a0da31eaabdfbd5a57237267af
Author: Rob Clark <robdclark at chromium.org>
Date:   Tue Aug 18 15:12:06 2020 -0700

    freedreno/a6xx: fix occlusion query with more than one tile
    
    We need to emit epilogue after each tile, not just after the last tile.
    
    Fixes: 13fc03f4c0e ("freedreno/a6xx: Avoid stalling for occlusion queries")
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6376>
    (cherry picked from commit 7e3a788bd30664e178e1e928719bc8b9bef3a46d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99d5727d2d84c94f94c2e1c79807de781341929a
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sat Aug 8 19:21:58 2020 +0200

    egl/x11_dri3: enable & require xfixes 2.0
    
    Cc: 20.2 <mesa-stable>
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Acked-by: Michel Dänzer <mdaenzer at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6132>
    (cherry picked from commit eae181e3eb9cabd98a78e8440c81cd08e8a26778)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=748a7e1a44bb6b5f390e7385c2f6b849b870438b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Aug 13 17:15:11 2020 -0400

    pan/mdg: Ensure barrier op is set on texture
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Fixes: 92c808cd475 ("pan/mdg: eliminate references to ins->texture.op")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6321>
    (cherry picked from commit 06c31031e7e87d83747e3f531f8fd5264c03dc08)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c47874d45663d32be866598a62694f24c3e15d0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Aug 13 19:08:38 2020 -0400

    panfrost: Fix WRITES_GLOBAL bit
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Fixes: dce7722ef89 ("panfrost: Handle writes_memory correctly")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6321>
    (cherry picked from commit 39bf1fb3221c0ab79e4609ca3588e2eeb9e3e2da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ea9fbf6cbf3c4bcd859281ba6c0ed549047444a
Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Tue Aug 4 13:45:39 2020 +0300

    android: freedreno: Another build fix
    
    During build on Android 10, build error occurred:
    
    '''
    [ 26% 456/1718] Gen Header: libfreedreno_registers_32 <= a3xx.xml.h
    FAILED: out/target/product/pinephone/gen/STATIC_LIBRARIES/libfreedreno_registers_intermediates/registers/adreno/a3xx.xml.h
    /bin/bash -c "PATH=/usr/bin:\$PATH python3 external/mesa3d/src/freedreno/registers/gen_header.py external/mesa3d/src/freedreno/registers/adreno/a3xx.xml > out/target/product/pinephone/gen/STATIC_LIBRARIES/libfreedreno_registers_intermediates/registers/adreno/a3xx.xml.h"
    Traceback (most recent call last):
      File "external/mesa3d/src/freedreno/registers/gen_header.py", line 470, in <module>
        main()
      File "external/mesa3d/src/freedreno/registers/gen_header.py", line 446, in main
        xml_file = sys.argv[2]
    IndexError: list index out of range
    '''
    
    Align build rules with meson fixes it.
    
    Fixes: 62ebd342 ("freedreno/registers: split header build into subdirs")
    Signed-off-by: Roman Stratiienko <r.stratiienko at gmail.com>
    Acked-by: Rob Clark <robdclark at gmail.com>
    Acked-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6170>
    (cherry picked from commit 8626d4cbef0bc4fa85f7bef3ef015a8247c8483d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb2e75ec7dd83b01f9b0c1b12a74b280f9844f4a
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 19 15:27:51 2020 +1000

    llvmpipe/cs: update compute counters not fragment shader.
    
    This was updating the wrong counters.
    
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Fixes: a6f6ca37c82bb6810971 ("llvmpipe: add initial shader create/bind/destroy variants framework.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
    (cherry picked from commit e137bbb87fa8ce9a4ab1f24bba26f12c1f65cbc9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6a1444ed1bba9acb6dd84031d17b708b6ead604
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Aug 17 10:51:32 2020 -0500

    spirv: Don't emit RMW for vector indexing in shared or global
    
    Anything that fails the is_external_block check is getting the
    vtn_local_load/store path which does read-modify-write which isn't
    correct if the variable mode can be written cross-workgroup.
    
    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/6372>
    (cherry picked from commit b479de8537ad34ec56d61f87d53a327a175eab36)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39cec65c22001798079553be13e19574dec68d11
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Aug 9 00:51:15 2020 +0200

    radv: Fix handling of attribs 16-31.
    
    We really need to update the enum for consistency, but that involves
    a bunch of GL & bitfield work which is error-prone, so since this is
    a fix for stable lets do the simple things.
    
    Confirmed that nothing in radv/aco/nir/spirv uses MAX_VERT_ATTRIB
    except the one thing I bumped.
    
    CC: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6120>
    (cherry picked from commit f038b3a136175c0afcc6545b886238a7b5dcf515)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b09d4ca9564f7070ccb239d5283ded27ce7ed1c
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Jul 30 02:49:33 2020 +0200

    radv: Override the uniform buffer offset alignment for World War Z.
    
    Game does the equivalent of a
    
    ALIGN(..., minUniformBufferOffsetAlignment >> 4)
    
    which breaks when said alignment is <16 with a SIGFPE.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6120>
    (cherry picked from commit 0067f8992002b44bf75f98fae43886c5a6227075)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17f9aa36b6e6eb713f0ea872fe3054a036c2257e
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Jul 30 02:33:01 2020 +0200

    driconf: Support selection by Vulkan applicationName.
    
    This adds applicationName + version through like engineName.
    
    Rationale: A game (World War Z) includes the store name in the
    executable name, so has multiple executable names.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6120>
    (cherry picked from commit a1d4721e21b4d386e242714acc414c6f7e1294eb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=801e3a72bc4df0ede82d7f64a6c7419303c31685
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 20 13:45:09 2020 +1000

    llvmpipe: enable GL 4.5
    
    This passes conformance on both the master and 4.6.0 (with patches)
    branches. I'll be submitting results shortly from the 20.2.x branch
    this lands in.
    
    Cc: "20.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6044>
    (cherry picked from commit f9e773b92059f4c13735fa3214d5c505f9e06d66)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79e81a38b543ea3b02a30c2fb0e6894a7097d79
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Aug 21 12:54:03 2020 -0700

    .pick_status.json: Update to ca7d66e847d08914cec0a5e003b400da9c0a2695

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=522e62ac5b31f2be576cb80fd364353250f68aba
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Mon Aug 17 12:02:22 2020 +0300

    spirv: Only require bare types to match when copying variables
    
    OpCopyMemory doesn't care about mismatched decorations, only about
    matching types.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3418
    Fixes: bf1a1eed882980a1cd08482386e3a001ce64a5a4
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6344>
    (cherry picked from commit b6ebf6eba958651321a8e332677877c0fe7ee7ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cdfbd3a07004d96e6480adbd7e0bfb8da7a43f6
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Wed Aug 12 14:28:48 2020 +0200

    nir: Fix i64tof32 lowering
    
    The round-to-nearest-even implementation found in lower_2f() is incorrect
    for any value having a significand that is not directly representable
    and whose non-representable part lies between 1 and half the minimum
    representable value. In this case, the significand is rounded up instead
    of being rounded down.
    
    Fixes: 936c58c8fcce ("nir: Extend nir_lower_int64() to support i2f/f2i lowering")
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Tested-by: Jesse Natalie <jenatali at microsoft.com>
    Acked-by: Matt Turner <mattst88 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6290>
    (cherry picked from commit 199bea0fd80e65178a9d12c705a9f0aaf0a36ceb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81b1dcf83a9a708787d4c62b10caf987240d75f1
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 20 13:41:34 2020 +1000

    llvmpipe/blit: for 32-bit unorm depth blits just copy 32-bit
    
    Don't have the shader do a 32-bit unorn to float conversion,
    the values don't remain accurate then.
    
    Fixes:
    GTF-GL45.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_multisampled_to_singlesampled_blit
    for 32-bit unorm depth buffers.
    
    Cc: "20.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6044>
    (cherry picked from commit 2e40b2c15503759b7320c79bfe7ae9b9dadfb43f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2891ddb99694864e2b9ce905559d776f9056a936
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Aug 13 15:19:07 2020 -0400

    panfrost: Set STRIDE_4BYTE_ALIGNED_ONLY
    
    It isn't clear to me why, but this breaks in some cases (such as some
    dEQP cases where the blob does a translate too).
    
    This reverts commit 9f2997dad061ee38e06f654f524dffbffc5b2a4b.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Cc: mesa-stable
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6326>
    (cherry picked from commit e03622e50fcebbcc32b2fd403b1a729c73cb49d5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9024558ba9b999e670d7797354cd6215766f660
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Mon Aug 10 10:16:39 2020 +0200

    ac/llvm: handle static/shared llvm init separately
    
    Having a single init function works as expected for shared llvm, but
    when using a static llvm only one llvm will get initialized.
    
    This commit introduces 2 separate init function:
    - shared llvm = single public init function
    - static llvm = one init function for each module using llvm
    
    Fixes: 50d20dc055d ("ac/llvm: export ac_init_llvm_once in targets")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3376
    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/6253>
    (cherry picked from commit b7c04b1790fb69e2f0f942a286c76b3efef85eab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=750bb69ba47a2bda7a83a3b97a24234b0345b01c
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Aug 16 22:38:22 2020 +0200

    radv: Use getter instead of setter to extract value.
    
    Oops ...
    
    Fixes: 64768111c30 "radv: Handle slightly different image dimensions."
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3417
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6337>
    (cherry picked from commit 50b039590e19d07607ae0714ebffeed6d4f182d5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43b0e51f43455cf01b336879fced33f4b079e122
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Aug 12 15:48:42 2020 +1000

    llvmpipe: only read 0 for channels being read
    
    KHR-GL45.robust_buffer_access_behavior.vertex_buffer_objects
    on the CTS 4.6.0 branch and this fixes it.
    
    Roland identified that if the vertex format doesn't contain channels
    then we shouldn't be overriding them to 0, so RGB fetch out of bounds
    should return 0 for RGB, but the A channel should still be getting back
    1.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6287>
    (cherry picked from commit 430e3310e2aed924dc4e0729644e629007d73ef7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9aa25a340c37329bca897d9f051a5a149efbf903
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Aug 12 15:00:34 2020 +0200

    anv: don't fail userspace relocation with perf queries
    
    This is a left over from the earlier version of
    VK_KHR_performance_query where we used kernel relocs to implement
    multi passe queries.
    
    We're using self modifying batches now so we shouldn't need any
    relocation.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 2001a80d4a81f2 ("anv: Implement VK_KHR_performance_query")
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6291>
    (cherry picked from commit 031f9e17d2c387a64770246c2e5801a233a8ea3c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb55aca266ac65ed8a289ab8db2a5d6e066bce6c
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon May 4 17:04:00 2020 +0200

    radv: When importing an image, redo the layout based on the metadata.
    
    When importing a DMA-BUF, the image layout created in vkImageCreate may
    not match the imported BO's. To make this work we redo the layout based
    on the metadata of the imported image.
    
    The original patch did a delayed allocation just as for AHB, but that
    does not work for images that are not imported (but e.g. exported only).
    
    Original patch by Simon Ser <contact at emersion.fr>
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2801
    CC: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6274>
    (cherry picked from commit d19bc94e4eb94a2c8cbdb328c9eaa2faf1ba424c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed256fd8042b2383b8d0ebc1631abbecdc56073e
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Thu Aug 13 10:33:29 2020 -0700

    u_debug_stack_test: Fix MSVC compiling by using ATTRIBUTE_NOINLINE
    
    Fixes: d0d14f3f ("util: Add unit test for stack backtrace caputure")
    
    Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6303>
    (cherry picked from commit 58af31186a806c8f18cf92dad454bb5f46daa9e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66fc0ad7d6a3fd2ea664a34c19743e7e4d8e8b41
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Tue Aug 11 17:01:31 2020 -0700

    iris: Don't call SET_TILING for dmabuf imports
    
    Calling SET_TILING on a DMA buffer with the gen12 CCS modifier can fail
    unnecessarily. The main surface in the BO is Y-tiled, but the CCS portion is
    linear and can have a stride that's not a multiple of 128B. Because SET_TILING
    is called on the CCS plane with I915_TILING_Y, the ioctl will sometimes reject
    the stride.
    
    SET_TILING was originally used in b6d45e7f748e9ff7e198391f5ce5d1253101fedb to
    fix an assertion failure in iris_resource_from_handle. Assigning the BO's
    tiling_mode field is sufficient to avoid the failure.
    
    Fixes: c19492bcdb9 ("iris: Handle importing aux-enabled surfaces on TGL")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6296>
    (cherry picked from commit c111e9099ceada50a2437e6e2e2a0f7cc6597448)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9adbc862f7ee2f4b5b7687526cd3823ca6977338
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Tue Aug 11 16:25:37 2020 +0200

    nir/lower_idiv: Port recent LLVM fixes to emit_udiv
    
    This change fixes off-by-one results in corner cases such as
    0xffffffff / 0x11111111. For details refer to LLVM bug 46212.
    
    Fixes: 8b98d0954e6 ('nir/lower_idiv: add new llvm-based path')
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6281>
    (cherry picked from commit 8277334f3978463ec8631e2b98e3d2a37d113496)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a19dd637e8bff0678552f22d0fe1585a343f6a33
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Aug 8 16:39:09 2020 -0400

    radeonsi: disable NGG culling on gfx10.3 because of hangs
    
    Fixes: a23802bcb9a - ac,radeonsi: start adding support for gfx10.3
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6282>
    (cherry picked from commit 2b78cb2e0039f09d9820a1a9166a49f168c9959d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a65c5978975da0091eea4e70d9697d8776d2d72d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Aug 18 07:31:17 2020 -0700

    .pick_status.json: Update to 6d28270968e0728bf8bdf48a6abd261c50d9ef07

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55ef5d5a227bd7eb115b9fe048d7e06277430b91
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Mon Jul 27 18:00:41 2020 +0300

    anv/nir: Unify inputs_read/outputs_written between geometry stages
    
    inputs_read/outputs_written are used for a shader stage to
    determine the layout of input and output storage. Adjacent stages must
    agree on the layout, so adjacent input/output bitfields must match.
    
    Most of the time, cross-stage optimizations make that happen anyway,
    but there are some cases (with special values like clip distances and
    point size) where this doesn't happen.
    
    Fixes crashes in dEQP-VK.subgroups.*.framebuffer.*_tess_eval
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3210
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6102>
    (cherry picked from commit 2701f887fc376202577ad942c20a7284b12823f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4dc1baf77306d95c97179567b744f5713a95ff8
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Aug 11 10:00:42 2020 +0200

    radv: fix emitting the border color pointer on the compute queue
    
    This was just missing.
    
    Fixes: 57e796a12a8 ("radv: Implement VK_EXT_custom_border_color")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: John Galt <johngaltfirstrun at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6276>
    (cherry picked from commit 638a09b827f1e7b561e878612890fc0ebcdb1613)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11edf2e35774499e2baf2e2c353964801506f967
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Aug 8 21:26:12 2020 -0700

    util: Fix memory leaks in unit test.
    
    Fix warnings reported by Coverity Scan.
    
    Resource leak (RESOURCE_LEAK)
    leaked_storage: Variable bt1 going out of scope leaks the storage
    it points to.
    leaked_storage: Variable bt2 going out of scope leaks the storage
    it points to.
    
    Fixes: d0d14f3f6481 ("util: Add unit test for stack backtrace caputure")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6246>
    (cherry picked from commit 96cfc684e63238a7aeabc8893fb04fe5f3781a66)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d14d91a808acd79c6fa7cb65efa1c24f6f06bbb
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Jun 22 15:19:38 2020 -0700

    dri_util: Update internal_format to GL_RGB8 for MESA_FORMAT_B8G8R8X8_UNORM
    
    Port the change done for RGBX8888 in
    02a1f95386b43bf46cd1c8297d0955242f554fa2.
    
    If XR24 images are considered to be VIEW_CLASS_24_BITS-compatible, it's
    reasonable to assume that XB24 images would be as well.
    
    Fixes: bf576772ab4d ("dri_util: add driImageFormatToSizedInternalGLFormat function")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6095>
    (cherry picked from commit 8abf59ff98863634321e3e0d60035277e58e92e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dc972d4b66c2d1e4ccb5f18efb82a042848437a
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 12 10:12:24 2020 -0700

    .pick_status.json: Update to 61042b1bdb199f98dd34085ed29a8c492ed9b2a3



More information about the mesa-commit mailing list