Mesa (21.1): 47 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 28 16:14:39 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eb41d49a6abb3e3b3fca526043654996b2bc3fa
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Apr 28 09:12:23 2021 -0700

    VERSION: bump for 21.1.0-rc3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb4d89a85ee8c51b4a5a72b522a228e71481fce1
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Apr 26 17:35:21 2021 +0200

    zink: fix shader-image requirements
    
    I mixed up the EXT and ARB version of the extensions; we actually do
    require shaderStorageImageWriteWithoutFormat as well here.
    
    Thanks to Ilia Mirkin for pointing this out.
    
    It also seems I got really confused about what was required when writing
    the docs, so let's fix that as well.
    
    Fixes: 341332b23af ("zink: correct image cap checks")
    Fixes: ecac7f3da1a ("docs: add missing zink-requirement")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10463>
    (cherry picked from commit 4ec8533f69a3514030b493dfdb40ef92bda5982d)
    
    Conflicts:
    	docs/drivers/zink.rst

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dff02e24c47331a58b6a3574c6ad22d0f077a7a4
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 21 14:11:44 2021 +0200

    radv: fix various CMASK regressions on GFX9
    
    This fixes a bunch of MSAA related CTS regressions. This restores
    previous behaviour on GFX9 but it should be fixed properly.
    
    Cc: 21.1 mesa-stable
    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/10374>
    (cherry picked from commit a854a9fa623d3269eeebdc34c06ae442a65e2e41)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ba683d4901346b18e7a2626595ef15aa6eb6a13
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Apr 20 05:40:46 2021 -0400

    radeonsi: make the gfx9 DCC MSAA clear shader depend on the number of samples
    
    because different DCC equations are used.
    
    Fixes: 3120113ee77 - radeonsi: implement DCC MSAA 4x/8x fast clear using DCC equations on gfx9
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10343>
    (cherry picked from commit 1f8fa964120218cb408cc9df493f31d38ae7c9af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c575dae37a2efbe0ed4dbadf190c6473040f3321
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Apr 25 11:49:26 2021 +0200

    android: amd/common: add nir include path
    
    $(MESA_TOP)/src/compiler/nir include path is added
    for both clarity and build errors preventive reasons
    
    Cc: 21.0 21.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10443>
    (cherry picked from commit a02328395de5b2eff4485fdaf9321bf1087c28fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=734c940bb4f388ed86fcbd7608c43a558a205a49
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Apr 25 15:48:28 2021 +0200

    android: gallium/radeonsi: add nir include path
    
    Since generated nir headers are included, it makes sense to include nir path
    
    Fixes the following building error:
    
    FAILED: out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_radeonsi_intermediates/si_shader_nir.o
    ...
    In file included from external/mesa/src/gallium/drivers/radeonsi/si_shader_nir.c:26:
    external/mesa/src/amd/common/ac_nir.h:29:10: fatal error: 'nir.h' file not found
             ^~~~~~~
    1 error generated.
    
    Cc: 21.0 21.1 <mesa-stable at lists.freedesktop.org>
    Fixes: 1c702a82397b ("ac: move ac_lower_indirect_derefs() outside of the LLVM dir")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10443>
    (cherry picked from commit e213bfd3304856b671ef62fb5d144a8f5673cf78)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a840d01c57a5f84a3f78dad902efefac83bc80d7
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Thu Apr 22 11:58:35 2021 +0200

    nir/lower_clip_disable: Fix store writemask
    
    We're storing into the array element, not the whole variable.
    
    Fixes: fb2fe80 ("nir: add lowering pass for clip plane enabling")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7274>
    (cherry picked from commit 77fcb01f7f0e9301c994fbae71f8019b32e012db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a1b6f7cc4cc8af28aed57aecda7ed7e67a49bff
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Thu Apr 22 15:52:05 2021 +0200

    ir3: Prevent oob writes to inputs/outputs array
    
    Don't setup inputs and outputs if we aren't using
    load_input/store_output intrinsics. While it's mostly harmless, there
    may be more outputs than expected which would lead to an oob write of
    the outputs array when setting the register id to INVALID_REG.
    
    Also be more paranoid with asserts to catch this.
    
    Fixes: a6291b1 ("freedreno/ir3: rework setup_{input,output} to make struct varyings work")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7274>
    (cherry picked from commit decfea2f4e8128afeb6d4bb0d0c9c0740a01f766)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=269e8b5ff51fb336f52b4d5ee42d30fb38657d25
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Apr 27 09:39:32 2021 -0700

    .pick_status.json: Update to ee9b744cb5d1466960e78b1de44ad345590e348c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=891eeea222b49bdf4dec2901bbe233ab645233ad
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri Jul 10 13:26:16 2020 -0500

    anv: Use the same re-order mode for streamout as for GS
    
    This makes the vertex order of TRISTRIP and TRISTRIP_ADJ primitves
    consistent between XFB output and GS input.  Technically, the Vulkan
    spec allows us to XFB out in whatever order we want but being consistent
    with GS inputs is probably nicer to apps.
    
    Fixes: 36ee2fd61c8 "anv: Implement the basic form of VK_EXT_transform_feedback"
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10460>
    (cherry picked from commit 22b8bcda2c42cb6a8a9d6cc4f3aa20c8d18041b8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8d30fa9ecaaa5b0c9bf14a8eac025ba551425b3
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Apr 21 15:37:59 2021 +0200

    zink: correct image cap checks
    
    PIPE_CAP_IMAGE_LOAD_FORMATTED doesn't depend on
    shaderStorageImageExtendedFormats or
    shaderStorageImageWriteWithoutFormat.
    
    PIPE_SHADER_CAP_MAX_SHADER_IMAGES enables
    GL_EXT_shader_image_load_store, which *does* require
    shaderStorageImageExtendedFormats. Having
    shaderStorageImageWriteWithoutFormat and
    shaderStorageImageReadWithoutFormat isn't enough to support this.
    
    It *might* be possible to lower extended formats to format-less
    reads or writes, but we don't currently do that, so we should
    just correct the test for now.
    
    Fixes: 3f9a6d333b3 ("zink: export shader image caps using features")
    Fixes: 5282210c0b9 ("zink: check correct caps for PIPE_CAP_IMAGE_LOAD_FORMATTED")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10456>
    (cherry picked from commit 341332b23af84e8e77cc7d71de92b2edfa0eb2b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5edae4604e6af456cb0a0e2aa3c2fb79f302971f
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Apr 20 12:45:44 2021 +0200

    zink: do not require vulkan memory model for shader-images
    
    The claim that we require vulkan memory model's MakeAvailable and
    MakeVisible semantics for image writes isn't accurate. This would be
    required *if* we were already using the Vulkan memory model.
    
    But we're using the GLSL450 memory model in those cases, which has no
    such requirements.
    
    This means that any problems on RADV due to the lack of these semantics
    are RADV bugs, and should be fixed in RADV instead.
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10345>
    (cherry picked from commit 95d9d811c91076d50385b2fbd330335b68688c69)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dfe95bb25bf410c98c2d43700708246102f5c54
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Apr 26 11:45:32 2021 +0100

    radv: disable VK_FORMAT_R64_SFLOAT
    
    This format was enabled by accident, isn't useful, and doesn't work.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4701
    Cc: 21.1 <mesa-stable>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10450>
    (cherry picked from commit 816ec3ecb4667a509c4ded1972151c00907f7f5d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f2f212b15174da2cb373ed34a1ee2bea6cc158
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Fri Apr 23 20:39:50 2021 +1000

    mesa: fix incomplete GL_NV_half_float implementation
    
    All of the VertexAttrib* functions were missing.
    
    Fixes: ef66e02a408c ("src/mesa: add GL_NV_half_float extension support (v2)")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10431>
    (cherry picked from commit a02a0df2a264c20fd6ac7f4faaddcea89e572da6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26dcb7f86322ba0e13dc56fd89f91e5057c01161
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Mon Apr 26 19:05:39 2021 +0200

    .pick_status.json: Update to 72eca47c660b6c6051be5a5a80660ae765ecbaa5

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f999b5107051e74f408aabb7fb31c9a5a0f2541b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Apr 22 17:46:39 2021 -0700

    tgsi_exec: Fix NaN behavior of min and max
    
    Modern shader APIs, like DX10 and GLSL 1.30, want min() and max() to
    "cleanse" NaN.  If one source is NaN, the other value should be chosen.
    If both sources are NaN, the result may be either.
    
    There are many cases where TGSI is generate from NIR, and many
    optimizations in NIR expect this behavior.  Not meeting these
    expectations can lead to unexpected results.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Fixes: ffe58739da9 ("Softpipe: import TGSI tree. Not hooked-up yet.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10419>
    (cherry picked from commit 939bf7a4198cecff57510b7fe5d38ef9b5dd22be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3521f76806747d4382d4ddd6778b3ce4e4cd9350
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Apr 22 17:41:57 2021 -0700

    tgsi_exec: Fix NaN behavior of saturate
    
    Modern shader APIs, like DX10 and GLSL 1.30, want saturate or
    clamp(..., 0.0, 1.0) to "cleanse" NaN.  If the source is NaN, the
    result should be zero.
    
    There are many cases where TGSI is generate from NIR, and many
    optimizations in NIR expect this behavior.  Not meeting these
    expectations can lead to unexpected results.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Fixes: 56c30bf17b9 ("tgsi: Saturate modifier obeys ExecMask. Implement NVIDIA [-1;+1] saturate mode.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10419>
    (cherry picked from commit d1c0f62b4296799014a0a7ad09b8baae8961c974)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=975ab701d77739a9434d6d5fa7a9b0721a1ff951
Author: Icecream95 <ixn at disroot.org>
Date:   Thu Apr 22 11:08:49 2021 +1200

    pan/decode: Allow frame shader DCDs to be in another BO than the FBD
    
    Fixes: 96b71a59c0a ("panfrost: Decode pre/post frame DCDs")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10422>
    (cherry picked from commit 1cc9b28a768d6e88034a888dd3c91ec7e0816d83)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=695def8e078a18be42483437a4be1b7c998dbaee
Author: Icecream95 <ixn at disroot.org>
Date:   Thu Apr 22 07:13:39 2021 +1200

    panfrost: Fix shader texture count
    
    Instead of using num_textures, determine the texture count from the
    last bit set in textures_used.
    
    Fixes ADDR_RANGE_FAULTs when draw_textured_quad writes only stencil.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10422>
    (cherry picked from commit c7076e03e51bc578f61286ac4f4b91635aa3667e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6cf74e6377d79a684e316e9e20f6bac4dd75e2
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 22 19:14:47 2021 -0400

    panfrost: Fix formats converting uninit from AFBC
    
    If no slices were valid (the resource is uninitialized), we were reading
    a bogus PIPE_FORMAT_NONE format from the blit.dst.format. Fix this --
    and guard against scope similar issues -- by hoisting the blit
    assignments out of the loop so they're valid.
    
    Fixes: 9d0ad7fd2e1 ("panfrost: Patch the gallium driver to use pan_image_layout_init()")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10415>
    (cherry picked from commit c220976fd077c09bbc485ff9a29091895bd39fdf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0614e11356b9fb3b4035ed4e1ea6b9ec9063253
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 23 11:54:22 2021 +0200

    radv: make sure CP DMA is idle before executing secondary command buffers
    
    Buffer copies with CP DMA aren't synced.
    
    Fix dEQP-VK.memory.pipeline_barrier.transfer_src_transfer_dst.65536
    flakes on GFX10+.
    
    Fixes: e8707961134 ("radv: prefer CP DMA for GTT buffer copies/clears on dGPUs due to slow PCIe")
    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/10427>
    (cherry picked from commit 3d979c9169508b4f8e2bb0e925dde22dc34ed9bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71a46b9a9dcf5c4e0bf8b8d1f03422a347584408
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 21 16:06:30 2021 +0200

    radv/winsys: fix resetting the number of padded IB words
    
    The number of padded words is per IB, so it should be reset.
    
    Found with Valgrind and dEQP-VK.api.command_buffers.record_many_draws*
    
    Cc: 21.1 mesa-stable
    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/10376>
    (cherry picked from commit f9e9b21e10cd3e26c4210bbf646f246a52444426)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cebc8191a81a77f6d2b20475a0e65a9860bf1d8c
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 21 15:58:27 2021 +0200

    radv/winsys: fix allocating the number of CS in the sysmem path
    
    Found with Valgrind and dEQP-VK.api.command_buffers.record_many_draws*.
    
    Cc: 21.1 mesa-stable
    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/10376>
    (cherry picked from commit ec0d3701cda87c05c155412f0f948caaed72f864)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db1b07411014f3dac29a3a826ae1f10cc41c255e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 20 13:09:09 2021 +0200

    radv: fix emitting default depth bounds state on GFX6
    
    GFX6 has no CLEAR_STATE.
    
    One step towards Vulkan conformance on these old chips.
    
    Cc: 21.1 mesa-stable
    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/10347>
    (cherry picked from commit a12b844d40187c582c47dddfeecf91d4dd1643df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b74e7421b3e3bc308afe369be3fb26776725b928
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 15:13:02 2021 -0400

    zink: when performing an implicit reset, sync qbos
    
    resetting a query pool+qbo dumpsters the existing qbo results,
    so these need to be copied to the new qbo if they exist, and then the query
    id needs to be updated to match the expected result offset so everything
    keeps working as expected
    
    Fixes: 00fc85a0119 ("zink: reset queries when suspending if >50% of total pool is used")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10268>
    (cherry picked from commit 79790e276f61f23217badd80c51add755dfe18ac)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3234ef853855d5197c788566b6cfa3afde58627c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 15:10:30 2021 -0400

    zink: only reset query on suspend if the query has previously been stopped
    
    if the query has never been stopped, then doing an implicit reset here does
    nothing except give the gpu more work
    
    Fixes: 00fc85a0119 ("zink: reset queries when suspending if >50% of total pool is used")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10268>
    (cherry picked from commit 55b2b9b389a82cb0fd2e82cfb63ac1ac3a687358)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95994bc0b112ddeb1dfecb24d3fadff824a63ddb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 19 18:28:13 2021 -0400

    zink: use cached memory for staging resources
    
    I think at one point before staging resource flagging was less reliable
    this method made sense, but now it's worse
    
    Fixes: 6ff6d01c377 ("zink: don't use cached mem for staging resources")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10363>
    (cherry picked from commit e34dc0840bf318cdd6524bcb8671ae4b849e4039)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=246c6ec7ab6183e1046cddd8eda8c7cea4e2d423
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 22 23:04:47 2021 -0400

    zink: restore previous semaphore (prev_sem) handling
    
    this was accidentally lost during refactoring
    
    Fixes: fa36a16c684 ("zink: make timeline semaphores per-screen")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10421>
    (cherry picked from commit 67d22bd8e0b764c69f60e361a3a1425750823ff3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a693bc1b99235d7b61613ac0b326c4bc15b51f72
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 08:40:34 2021 -0400

    zink: track persistent resource objects, not resources
    
    this is broken after the backing object split because resources themselves
    no longer have guaranteed lifetimes
    
    Fixes: 616720d6aec ("zink: track resource_object usage instead of resource usage")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10270>
    (cherry picked from commit de31a510cc508dcc4826b1e9217a81e6fb1bb8ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b34892630d19582dcd403a9bd613b9b60a27377
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 22 09:05:46 2021 -0400

    softpipe: ci updates
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10398>
    (cherry picked from commit 90315b14d1031c91e1021ded6bd3f183a976abf2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ebbd4c65411893225d6350b2fe512e21058adeb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 22 08:44:53 2021 -0400

    softpipe: fix streamout queries
    
    these need to always use the query index in order to access the correct
    vertex stream
    
    Fixes: ddb9ad363d9 ("softpipe: add support for indexed queries.")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10398>
    (cherry picked from commit fa2b32b3b141cda001a345f993de180af8852ad8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d28c2b08643cc35a319a621409cbb0f84765daf
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 21 19:50:23 2021 -0400

    softpipe: fix render condition checking
    
    always casting this to a u64 is invalid if the value is just a bool,
    and it even generates ASAN/valgrind errors about uninitialized reads
    
    Fixes: 41450b03a8e ("softpipe: implement conditional rendering")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10398>
    (cherry picked from commit 8dbb022b8a93e99a6909ef58299f3649de26b854)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a24924bb60e27bbb0d8057a6eccd8f4e0a911de7
Author: Icecream95 <ixn at disroot.org>
Date:   Wed Apr 7 23:43:05 2021 +1200

    pan/bi: Skip nir_opt_move/sink for blend shaders
    
    Otherwise the dual-source input load is moved further down in the
    shader, so the registers can get clobbered before then.
    
    Fixes text not being visible in Alacritty.
    
    Fixes: 52863f2e60f ("pan/bi: Enable all nir_opt_move/sink optimizations")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10089>
    (cherry picked from commit ab3a72cc2057beb90acb5346c48baa29d6d2fa52)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a8e3ca3be947fec21181ed1e0f641ce3fcc6f2a
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sat Apr 24 14:28:53 2021 +0200

    .pick_status.json: Update to 7e905bd00f32b4fa48689a8e6266b145662cfc48

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=315df0a7d73956696cb4d6426e2da33ef3c050e3
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun Mar 28 10:27:20 2021 +0200

    r600: don't set an index_bias for indirect draw calls
    
    The bug #4657 mixed up which commit was actually responsible for
    the regression, so re-apply this patch.
    
    The indirect draw call already encodes the index bias so that no
    additional encoding in the hardware is needed in this case.
    
    This fixes a regression with a number of tests from
       dEQP-GLES31.functional.draw_indirect.random.*
    
    Fixes: c6c532faa8cf172715b38783ec7175b626a63944
      "gallium/u_vbuf: use updated pipe_draw_start_count while using draw_vbo"
    
    Closes #4671
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10388>
    (cherry picked from commit 0cae8d372e644a1d89ec5685781435159ee2d285)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac7b6c9dc87fe49d1897e2bd3b9334d47a178a67
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Tue Apr 20 23:57:12 2021 +0200

    Revert "r600: Don't advertise support for scaled int16 vertex formats"
    
    This reverts commit 00a1521529ccb4f7527c6d55a471ef18d1b000d1.
    
    While the commit fixed some GLES cts tests it introduced heavy regressions
    that made the driver unusable.
    
    Closes #4680
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10388>
    (cherry picked from commit 0934467fd91b7c29da171902b7f0eef6baee4ca5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecba845c0d4ed12a1a5cbeb7524730601a76c493
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Thu Apr 22 09:21:59 2021 -0500

    intel/compiler: Don't insert barriers for NULL sources
    
    Normally, we never see NULL in a source.  However, starting with
    eab1c55590b1, we can with a SHADER_OPCODE_SEND if it only has the first
    payload.  We were inserting barriers which adds unnecessary scheduling
    dependencies and takes a lot of compile time because inserting a single
    barrier is an O(n) operation.
    
    All the extra O(n) can have a surprisingly large effect.  This cuts the
    runtime of dEQP-VK.binding_model.buffer_device_address.set3.depth3.
    basessbo.convertcheckuv2.store.single.std140.frag by a factor of 20x for
    a debug build.
    
    Shader-db results on ICL:
    
        total instructions in shared programs: 19918983 -> 19921610 (0.01%)
        instructions in affected programs: 884074 -> 886701 (0.30%)
        helped: 1688
        HURT: 817
        helped stats (abs) min: 1 max: 163 x̄: 4.23 x̃: 1
        helped stats (rel) min: 0.02% max: 12.50% x̄: 1.08% x̃: 0.61%
        HURT stats (abs)   min: 1 max: 2674 x̄: 11.95 x̃: 2
        HURT stats (rel)   min: 0.11% max: 70.22% x̄: 1.71% x̃: 1.03%
        95% mean confidence interval for instructions value: -1.97 4.06
        95% mean confidence interval for instructions %-change: -0.28% -0.06%
        Inconclusive result (value mean confidence interval includes 0).
    
        total cycles in shared programs: 976503324 -> 975884809 (-0.06%)
        cycles in affected programs: 82581703 -> 81963188 (-0.75%)
        helped: 4144
        HURT: 5010
        helped stats (abs) min: 1 max: 79294 x̄: 311.31 x̃: 8
        helped stats (rel) min: <.01% max: 53.69% x̄: 2.00% x̃: 0.51%
        HURT stats (abs)   min: 1 max: 92266 x̄: 134.04 x̃: 8
        HURT stats (rel)   min: <.01% max: 218.09% x̄: 3.25% x̃: 0.53%
        95% mean confidence interval for cycles value: -119.85 -15.29
        95% mean confidence interval for cycles %-change: 0.68% 1.07%
        Inconclusive result (value mean confidence interval and %-change mean confidence interval disagree).
    
        total spills in shared programs: 10659 -> 12014 (12.71%)
        spills in affected programs: 441 -> 1796 (307.26%)
        helped: 7
        HURT: 12
    
        total fills in shared programs: 11551 -> 14429 (24.92%)
        fills in affected programs: 993 -> 3871 (289.83%)
        helped: 8
        HURT: 11
    
        total sends in shared programs: 1025832 -> 1025353 (-0.05%)
        sends in affected programs: 2241 -> 1762 (-21.37%)
        helped: 105
        HURT: 1
        helped stats (abs) min: 1 max: 87 x̄: 4.57 x̃: 2
        helped stats (rel) min: 5.56% max: 54.72% x̄: 11.37% x̃: 10.00%
        HURT stats (abs)   min: 1 max: 1 x̄: 1.00 x̃: 1
        HURT stats (rel)   min: 100.00% max: 100.00% x̄: 100.00% x̃: 100.00%
        95% mean confidence interval for sends value: -7.39 -1.65
        95% mean confidence interval for sends %-change: -12.95% -7.70%
        Sends are helped.
    
        LOST:   93
        GAINED: 109
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4648
    Fixes: eab1c55590b1 "intel/fs: Support SENDS in SHADER_OPCODE_SEND"
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10412>
    (cherry picked from commit 134af5ada240d163fee91c2d8cbf5128590d7c86)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce04ac4e54d6c4e84e9ebeca8e47b806a34a6ccc
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Apr 21 10:14:13 2021 +0200

    zink: do not read outside of array
    
    We need to bounds-check *before* we index the array, otherwise we peek
    beyond the end of it.
    
    Caught by Valgrind.
    
    Fixes: dd29a7e5b0e ("zink: move descriptor barrier handling to main update function")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10367>
    (cherry picked from commit a6a198da2196743edda3f01054543909f5da4f8d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e430e991dbf5943d7595b5f19f7d658598d53c8b
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Tue Apr 20 13:55:23 2021 +0200

    aco: Mark VCC clobbered for iadd8 and iadd16 reductions on GFX6-7.
    
    On GFX6-7, the 8 and 16-bit integer add reductions use the 32-bit v_add
    instruction, which clobbers the VCC register.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10346>
    (cherry picked from commit 74c467d9886cbb588d9e8f0ac23775d4b9d780bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec959d85e92a948707fbc71100b893bcfe8e9405
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri Apr 16 19:07:15 2021 +0200

    gallium/u_threaded: offload begin/end_intel_perf_query
    
    Fixes: 206495cac4e ("iris: Enable u_threaded_context")
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Acked-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9922>
    (cherry picked from commit 59bbf885e97ab1cc17446ff6a46c4cda501cfd46)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a205d583c4c4105c1d138da21565e7ea39673b57
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri Apr 16 19:07:12 2021 +0200

    gallium/u_threaded: implement INTEL_performance_query hooks
    
    Fixes: 206495cac4e ("iris: Enable u_threaded_context")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4528
    
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Acked-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9922>
    (cherry picked from commit e6aa5b96a8d751b5a5c8a98bca16679cd809b10e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38b948b5dc42cfcc3b5653b962cad611c50abe2c
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Apr 22 12:46:10 2021 +1000

    lavapipe: fix mipmapped resolves.
    
    I updated CTS and found
    EQP-VK.renderpass.suballocation.multisample_resolve.b8g8r8a8_unorm.samples_4_resolve_level_*
    was failing.
    
    Fixes: b38879f8c5f5 ("vallium: initial import of the vulkan frontend")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10400>
    (cherry picked from commit 32a2978949a9781d72215aa8308ec216e6c6e561)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e45f8434e328123dcadf2adacec88ca5b032b1cc
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue Apr 20 21:46:53 2021 +0300

    spirv: fixup pointer_to/from_ssa with acceleration structures
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: ed907e5d84cba4 ("spirv: Add support for OpTypeAccelerationStructureKHR")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10357>
    (cherry picked from commit 0bb29c07a4fd262db891005897b0662720ddbccf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9711344bd2f4a1e2667c19b631d656359e8d4e3
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Thu Apr 22 22:33:23 2021 +0200

    .pick_status.json: Update to 35a28e038107410bb6a733c51cbd267aa79a4b20

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e3547af957ec5ebbdb89427b5cf305a6135cf43
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 20 14:40:05 2021 -0400

    Revert "zink: force scanout sync when mapping scanout resource"
    
    This reverts commit 874535752b497bd8ab49cf97add6de2ed9b16f81.
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    
    Fixes: 874535752b4 ("zink: force scanout sync when mapping scanout resource")
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10358>
    (cherry picked from commit 82710b8fc4fbdb08da7db02f8a64fadb8d43525f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=368b5e4561124d44ce299c6d2c2cf2ea59ee39f1
Author: Gustavo Padovan <gustavo.padovan at collabora.com>
Date:   Tue Apr 13 13:56:02 2021 -0300

    traces-iris: fix expectation for Intel GLK
    
    glmark2/buffer-columns=200:interleave=true:update-dispersion=0.9:upd...
    was missing the expectation checksum.
    
    Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10238>
    (cherry picked from commit e8bc0a28a4a90793c49ab1530628f91a4daa4579)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09d505a3ab740e6221d3571fa369fb00e9189e12
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Apr 21 22:20:44 2021 +0200

    .pick_status.json: Mark 8acf361db4190aa5f7c788019d1e42d1df031b81 as denominated



More information about the mesa-commit mailing list