Mesa (staging/22.1): 23 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 1 18:10:31 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db1d9e0858b19d625d75ff2e257cb80f736adf3a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 27 17:28:02 2022 -0400

    zink: drop largePoints requirement
    
    this is not required by any version of GL, so don't pretend it's needed
    
    cc: mesa-stable
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16758>
    (cherry picked from commit 4b5bb2131866d5ee24d2ee5bb3f890eb11bee6bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97a5969089fc1dbcb38d05b15cf50a39e5106655
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 27 17:26:13 2022 -0400

    zink: drop wideLines requirement
    
    this is not a requirement for any version of GL, so don't pretend it's
    a requirement
    
    cc: mesa-stable
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16758>
    (cherry picked from commit 63a9e0a98610199f6dc1f38cc6e44cbdeda62694)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbc299e67d9582c50c87e9acbf1e245c6bd2f23c
Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Wed May 25 16:12:19 2022 +0200

    aco: fix spilling of phis without temp operands
    
    These were spilled unconditionally.
    
    Cc: mesa-stable
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16708>
    (cherry picked from commit 8e41c66639f20671957ffd8cacd7c7328920848e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c644cc27c4ed06d9c77e972db214a2f602caeb2f
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue May 31 07:20:55 2022 +0200

    editorconfig: remove pl-rule
    
    Fixes: 721b880e4cf ("script: drop get_reviewer.pl")
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16786>
    (cherry picked from commit 61a5034950a60451bd891e4b37f7e8cf4c8c58ae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bb1028233d5cc2fccf880e763d3b16084ecc1fb
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue May 31 07:19:27 2022 +0200

    editorconfig: remove m4-rule
    
    Fixes: 95aefc94a94 ("Delete autotools")
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16786>
    (cherry picked from commit 799bf3d6861aa688d54249646d41ce0bb2b7a86d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2eb8aea918265470b9835d5619a4138bded8fc2
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue May 31 07:17:20 2022 +0200

    editorconfig: remove html-rule
    
    Fixes: 44a4e34d52e ("docs: remove doxygen support")
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16786>
    (cherry picked from commit 12aa3b82dcbfa7512908cd67b0832a027e39589e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76fb460ab5cf57d8f30d76af98ba87f110b92895
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue May 31 07:15:37 2022 +0200

    editorconfig: remove scons-ism
    
    Fixes: 6e6cd7d93cc ("scons: Remove.")
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16786>
    (cherry picked from commit 7a088d3583db84fd73256bc3ff6c1660800812bf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9c13ac3d33b54089f67605ee87ed38bb7f8a399
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon May 30 09:13:17 2022 -0400

    zink: make swapchain kill message more descriptive
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16776>
    (cherry picked from commit 9f7029169bc0fd1b0a0f2419b8aba9a1a4461c8e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f22aa6cd649ab7847a2ed4a12bcc4d857fa126cc
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 27 13:53:07 2022 -0500

    glsl/nir: Stop leaking varyings_info
    
    Fixes: 34b3b92bbee1 ("nir/xfb: move varyings info out of nir_xfb_info")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16750>
    (cherry picked from commit 36d8a2f1d7ed0b1778756481940a73f348de9367)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24f3f2c4aa930748fe9433a050b23eff23990b74
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu May 26 14:48:47 2022 -0400

    st/pbo_compute: use different calc for non-3d compute buffer sizing
    
    this avoids looking at irrelevant 3d pixelstore params like
    GL_PACK_IMAGE_HEIGHT when they don't apply, which will cause the storage
    buffer to be incorrectly sized and break the operation
    
    Fixes: e7b95619596 ("gallium: implement compute pbo download")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16728>
    (cherry picked from commit 70fb3a47003a956fa68825b3c617bbbfe9d24178)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=877372824bc46348587d9af083591879b470d723
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 27 17:03:29 2022 -0400

    zink: emit spirv cap for subgroup vote ops
    
    cc: mesa-stable
    
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16757>
    (cherry picked from commit aaf0d4490ea4e036e0c75cbe2494e2f4ffda398a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0387258afeacac3248a7abefb8945091ce2e447
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 27 16:16:04 2022 -0400

    zink: require draw params ext/cap in ntv if drawid is used
    
    cc: mesa-stable
    
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16757>
    (cherry picked from commit 591da8cf5d6bd87067059228bbf8dac83922e47e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41741a439b35a51b71e553838e4032627c653970
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri Apr 22 16:37:37 2022 -0500

    nir: Handle register sources in lower_phis_to_regs_block
    
    During certain control-flow manipulation passes, we go out-of-SSA
    temporarily in certain areas of the code to make control-flow
    manipulation easier.  This can result in registers being in phi sources
    temporarily.  If two sub-passes run before we get a chance to do
    clean-up, we can end up doing some out-of-SSA and then a bit more
    out-of-SSA and trigger this case.  It's easy enough to handle.
    
    Fixes: a620f66872c2 ("nir: Add a couple quick-and-dirty out-of-SSA helpers")
    Fixes: 79a987ad2a1e ("nir/opt_if: also merge break statements with ones after the branch")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6370
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16111>
    (cherry picked from commit 4a4d6cdc80bb4e153bf263d1fed919a5026cff2a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4450f815461dac98e68f0b93bc01c4583a180b6f
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun May 29 14:25:37 2022 -0400

    mesa: Drop dead #include "sparc/sparc.h"
    
    sparc.h was removed in when the classic drivers were removed. It only
    contained a prototype for _mesa_init_all_sparc_transform_asm() which
    wasn't even called by context.c. Remove the #include to fix the build on
    sparc.
    
    Fixes: e030d5ba8ac ("mesa: Delete libmesa_classic")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6425
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16765>
    (cherry picked from commit 27f3fb5699e35cdaca29cd7309c4ac9a2fd21ff6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b08e0bb1c2257e2c86294ac55299fbe62ba9b18f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed May 11 15:10:22 2022 +0100

    aco/ra: fix usage of invalidated iterator
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 58bd9a379ef ("aco/ra: fix live-range splits of phi definitions")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16454>
    (cherry picked from commit cd2b4c319aa49f9e995ae7825393a661e40b6e64)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c80587e406d9f9dec63cec605ddee969aa006979
Author: Konstantin Seurer <konstantin.seurer at gmail.com>
Date:   Thu May 26 13:24:45 2022 +0200

    radv: Fix handling of primitiveOffset
    
    VkAccelerationStructureBuildRangeInfoKHR spec:
    If the geometry uses indices, primitiveCount × 3 indices are consumed from VkAccelerationStructureGeometryTrianglesDataKHR::indexData, starting at an offset of primitiveOffset. The value of firstVertex is added to the index values before fetching vertices.
    
    If the geometry does not use indices, primitiveCount × 3 vertices are consumed from VkAccelerationStructureGeometryTrianglesDataKHR::vertexData, starting at an offset of primitiveOffset + VkAccelerationStructureGeometryTrianglesDataKHR::vertexStride × firstVertex.
    
    Meaning: We always add firstVertex * vertexStride
    to the vertex address and add primitiveOffset
    either to the vertex address or the index address,
    depending on wether indices are used.
    
    Also add missing handling with instances.
    
    Fixes: 0dad88b ("radv: Implement device-side BVH building.")
    Signed-off-by: Konstantin Seurer <konstantin.seurer at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16719>
    (cherry picked from commit 9be00573c4cc04614e902a11fe9128191c70d280)
    
    Conflicts:
    	src/amd/vulkan/radv_acceleration_structure.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b272a6f4b569081ab4d86a763ea63d07c191cfd1
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 13 17:09:52 2022 -0500

    anv: Don't disable the fragment shader if XFB is enabled
    
    It turns out that we need a fragment shader for streamout.  Whh?  From
    Lionel's reading of simulator sources, it seems the streamout unit is
    looking at enabled next stages.  It'll generate output to the clipper in
    the following cases :
    
     - 3DSTATE_STREAMOUT::ForceRendering = ON
     - PS enabled
     - Stencil test enabled
     - depth test enabled
     - depth write enabled
     - some other depth/hiz clear condition
    
    Forcing rendering without a PS seems like a recipe for hangs so it's
    probably better to just enable the PS in this case.
    
    Fixes: 36ee2fd61c8f ("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/16506>
    (cherry picked from commit 0d28de212a4b71749f3e0bef8768aa58c0ca354d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df28869e2b019c6d6b5247187086f527e46c77a3
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 13 17:06:50 2022 -0500

    anv: Handle the null FS optimization after compiling shaders
    
    Actually compile and cache the no-op fragment shader but remove it from
    the pipeline if we determine it's a no-op.  This way we always have it
    even if it's not strictly needed.
    
    Fixes: 36ee2fd61c8f ("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/16506>
    (cherry picked from commit 73b3efcd59ade6b9dc8c4cce994d7fbe5c1f0cac)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8cb93beb1737162f86870a2cc93ee5007f9ddb8
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 13 17:01:06 2022 -0500

    anv: Drop alpha_to_coverage from the NULL FS optimization
    
    Starting with Ivy Bridge, we implement alpha-to-coverage by writting
    gl_SampleMask with a pattern based on alpha.  This will show up in
    wm_prog_data::uses_omask so we don't need to look at the key.
    
    Fixes: 36ee2fd61c8f ("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/16506>
    (cherry picked from commit 9fe6caf4e707bad36c60262b5f28407309f922c7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6afe665e7efcdede3bcf51e891ee8109c84d64e
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 13 16:54:26 2022 -0500

    intel/fs: Copy color_outputs_valid into wm_prog_data
    
    Fixes: 36ee2fd61c8f ("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/16506>
    (cherry picked from commit 1b9248e761d7ff04415326de18f8fc2468bcbcd3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=007cccd08fa453ef6c4ec27e8b8675ff519b3118
Author: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu at amd.com>
Date:   Sat May 21 23:04:21 2022 +0530

    vulkan/wsi: fix extra free if buffer_blit_queue
    
    In wsi_destroy_image(), if buffer_blit_queue then
    do not call extra free. This will fix assert in
    debug release and accessing out of allocated memory.
    
    Fixes:
      7bd5aa111cf
      ("vulkan/wsi: add a private transfer pool to exec the DRI_PRIME blit")
    
    Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu at amd.com>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Samuel Pitoiset's avatarSamuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16649>
    (cherry picked from commit 1a8b03732fd08f594fb81d575335db93949a6193)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a00277f94b2133454a7be88335f9b35c88923bd6
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 20 12:39:03 2022 -0400

    zink: only warn once for SRGB fb without KHR_swapchain_mutable_format
    
    Fixes: 4bb45bcd168 ("zink: add error logging for SRGB framebuffer without KHR_swapchain_mutable_format")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16642>
    (cherry picked from commit c97aee426ec614cf5d6fc98bb201697b8c7f5796)
    
    Conflicts:
    	src/gallium/drivers/zink/zink_context.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc1b2661f3a7ccba186e76ea236cc699f13ecb8d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Jun 1 09:41:27 2022 -0700

    .pick_status.json: Update to 5067a26f4432ae5e9690e70ef2498ea24798593e



More information about the mesa-commit mailing list