Mesa (22.1): 66 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 27 17:25:16 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53fe3ea095f2d98a6f7529181faf54d7d6ab0986
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Apr 27 10:23:21 2022 -0700

    VERSION: bump for 22.1.0-rc3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=276d23b4bc3bc219d3c29f4e1c42e89ab773cd5b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 26 23:52:52 2022 -0400

    zink: ci update
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cd82ee2566a142c2fe7533a365c4ea6f6202b6f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 15:46:28 2022 -0400

    zink: fix up swapchain depth buffer geometry during fb update
    
    due to desync between the frontend and the driver, the size that the
    depth buffer was created with may not match the size of the swapchain if
    the window is being resized very quickly, so just go ahead and clobber
    the existing depth buffer with a series of very illegal internal object
    replacements to make everything match up
    
    do not try at home.
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=939a0cf876507684c40d6fb523336c767ef455cd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 15:43:40 2022 -0400

    zink: fix/improve swapchain surface info updating
    
    if the swapchain is updated, the base surface info needs to be updated
    so that the surface info used for the framebuffer is updated
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c074592f3d07cf7e224f716f29434be801b558f4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 15:41:30 2022 -0400

    kopper: add DISPLAY_TARGET bind for depth buffer
    
    this doesn't affect functionality and is only used for validation
    in the driver
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63d75ac797ec5e3c8a82b4bbf3d335e4b1362bb9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 14:32:59 2022 -0400

    kopper: copy a bunch of code for texture_from_pixmap
    
    seems to work?
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e3b01c515cbe13b799617607f055c4275a2cfb8
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 14:15:17 2022 -0400

    kopper: store whether screen has dmabuf support
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7830bf87318c31a90bf8857b8d31af7944c97f9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 14:14:45 2022 -0400

    kopper: move drawable geometry updating up in function
    
    no functional changes
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e34284b7dc4f551192be9eef7a8dcd4cf3911647
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 10:41:46 2022 -0400

    kopper: always fetch and store drawable info
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16179>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bad73e09592e4aac2ab3597345d314e8ebbe2daa
Author: Sidney Just <justsid at x-plane.com>
Date:   Thu Apr 21 12:55:38 2022 -0700

    wgl: support kopper
    
    this is semi transposed from the dri version of kopper and mostly ignores
    what wgl tries to do in order to let zink drive everything
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=888b4de9d4fc4174cd9dcfd670e3f85d75179c6c
Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:50:39 2022 -0400

    zink: support win32 wsi
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a1b1a072936e30a11eb3dde6a229b2f6ab68574
Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:49:59 2022 -0400

    kopper: add win32 loader interface
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88b07e972b2461eea0b0b25aa7655ec40880db51
Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:48:30 2022 -0400

    zink: support VK_KHR_win32_surface
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38fd735a72ef7fbb3e78bc0f79d594f8aaabc8e4
Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:47:58 2022 -0400

    wgl: add zink to the list of auto-loaded drivers
    
    it's a legitimate driver!
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ae788a9374213684b98a7b4c76df3832323a777
Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:47:22 2022 -0400

    wgl: add a flag to determine if running on zink
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=68998c0c9aff7feb33613153f69f380ac8b5ff8e
Author: Daniel Stone <daniels at collabora.com>
Date:   Wed Apr 20 22:15:10 2022 +0100

    ci: Also disable Windows container builds when down
    
    Unlike all the other test configurations, we also want to drop the
    Windows container build when our Windows machines aren't available.
    Missed in !16055.
    
    Signed-off-by: Daniel Stone <daniels at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16185>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a53885999310c857ba49554d2faa4e662d61f8a
Author: Daniel Stone <daniels at collabora.com>
Date:   Wed Apr 20 21:05:21 2022 +0100

    CI: Disable Windows jobs
    
    We are underprovisioned for Windows, almost certainly not running wide
    enough on the insufficient number of slots we do have, and there are
    also indications that the machine itself is having physical issues.
    
    Disable it until it's fixed.
    
    Signed-off-by: Daniel Stone <daniels at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16185>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7fe963150729ef61c77c7e531cf0ac858b449f1
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Wed Apr 20 04:21:25 2022 -0700

    ci/windows: Add a variable to globally disable jobs using windows runners
    
    Suggested-by: Daniel Stone <daniels at collabora.com>
    Acked-by: Daniel Stone <daniels at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16185>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6c77aa5585d04fa6338c3678cd875c30f5bc4d6
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Mon Apr 25 11:08:42 2022 -0500

    vulkan: Set signals[i].stageMask = ALL_COMMANDS for QueueSubmit2 wrapping
    
    My understanding of the signal masks is that they control what stages
    must complete before the semaphore is signaled.  Using 0 theoretically
    means the semaphore could be signaled immediately without waiting on
    anything.  Use ~0 instead to say it depends on everything.
    
    Fixes: 97f0a4494b97 ("vulkan: implement legacy entrypoints on top of VK_KHR_synchronization2")
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16145>
    (cherry picked from commit 02fea6c179b00bd9dad179638ee1491c1acea65a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe83982fa62a7fa6a19a5f8728cdcf9732cfd5f9
Author: Sviatoslav Peleshko <sviatoslav.peleshko at globallogic.com>
Date:   Thu Mar 31 16:44:15 2022 +0300

    anv: workaround apps that assume full subgroups without specifying it
    
    Without this we might choose 8 or 16 width, while the app assumes 32.
    With subgroup operations it may cause wrong calculations and thus bugs.
    
    Examples of such games are Aperture Desk Job and DOOM Eternal.
    
    v2: Make it a driconf option instead of applying unconditionally, move
        from brw_required_dispatch_width to brw_compile_cs
    v3: Rename allow_assuming_full_subgroups -> assume_full_subgroups.
        Include assume_full_subgroups value in anv_pipeline_hash_compute().
    v4: Move actual workaround code from brw_fs.c -> anv_pipeline.c.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6171
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko at globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15708>
    (cherry picked from commit 28ca5636f6519f70cede02742f5ba0e00e6afcd3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=893922435040cabf2363907befc9de6f2347b859
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Apr 25 19:42:30 2022 +0100

    radv: fix clearing of TRUNC_COORD with tg4 and immutable samplers
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Fixes: 15640e58d96 ("radv,aco: lower texture descriptor loads in NIR")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16148>
    (cherry picked from commit f97d82c52bec095a4592c40e19869f95fa07f561)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dd54edd121b29a2bfa05fe9afd42e14826ec40b
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Mon Apr 25 12:12:10 2022 -0500

    nir: Lower all bit sizes of usub_borrow
    
    It's not clear why this is restricted to 32-bit besides that being the
    only bit size where GLSL has an intrinsic for this.  All drivers that
    set this probably want it lowered for all bit sizes as far as I can
    tell.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6353
    Fixes: 8a3e3441802c ("nir/opt_algebraic: Fix some expressions with ambiguous bit sizes")
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16146>
    (cherry picked from commit 17557303625d95fc30b24d15b45e41d9b747aee6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7358faab52d938031cdebf94c490a36de9487ff9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 25 08:48:15 2022 -0400

    vulkan: bump layer api versions to current vk header version
    
    should probably try to keep these in sync? maybe?
    
    cc: mesa-stable
    
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16138>
    (cherry picked from commit f5bc062ffdd34f66a9c65de5e02c0c8490d576db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=100360a3077993c93ce13f4234f25c5814595e61
Author: Pavel Ondračka <pavel.ondracka at gmail.com>
Date:   Sun Apr 24 18:58:14 2022 +0200

    r300: set PIPE_BIND_CONSTANT_BUFFER for const_uploader
    
    Fixes constant uploads with nine.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5966
    CC: mesa-stable
    Signed-off-by: Pavel Ondračka <pavel.ondracka at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16125>
    (cherry picked from commit e01f86c67b0bd955758366827cb8322aa1bec263)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5634be6cb842dd6bce655ce16feae7df2a0f51ac
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Apr 22 14:16:52 2022 -0400

    winsys/amdgpu: fix a mutex deadlock when we fail to create pipe_screen
    
    Fixes: 2eb067db0fe - winsys/amdgpu: add a new winsys for the new kernel driver
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16112>
    (cherry picked from commit 4a982aa5421780a90b812e7654d4d32459d9bdbd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e1b7661e2a4cc0de11e63c548edc1dccbdbe569
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Apr 13 11:42:45 2022 +0300

    anv: skip acceleration structure in binding table emission
    
    With mutable descriptor types, we can end up in a situation where a
    binding can be, for instance, both a UBO and an acceleration
    structure.
    
    While we can promote the UBO to a binding table entry and the shader
    can use it, this isn't true of acceleration structures that have no
    surface state. In that case just skip the entry. The shader is already
    compiled to use the descriptor entry.
    
    In the non mutable case, the entry will not be created by
    anv_nir_apply_pipeline_layout.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 63e91148b7fe ("anv: Enable VK_VALVE_mutable_descriptor_type")
    Reviewed-by: Rohan Garg <rohan.garg at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15969>
    (cherry picked from commit fe413962b4dd89ec5be539b13e7cbf7f871dd04a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f11afdbf9c5baa1d3404d059019815205c60dbc9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr 22 13:58:11 2022 -0400

    zink: fix group memory barrier emission
    
    same as glslang
    
    cc: mesa-stable
    
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16108>
    (cherry picked from commit ce02eeecf4930e38b4042c02ebf61bac2be19dd0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed6d83f01b762824f5173051fa04ef1e750885f6
Author: Konstantin Seurer <konstantin.seurer at gmail.com>
Date:   Wed Apr 20 14:39:14 2022 +0200

    radv: Fix lowering ignore_ray_intersection
    
    Fixes dEQP-VK.ray_tracing_pipeline.misc.report_intersection_result
    
    Fixes: c3d82a9 ("radv: Add pass to lower anyhit shader into an intersection shader.")
    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/16056>
    (cherry picked from commit 4080f18163f4ea8cd9a7be7905752f609d6a9b77)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12eb1548bd41461b784a91db36dccc768bb5db78
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Apr 20 19:29:08 2022 +0300

    anv: fix acceleration structure descriptor template writes
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: d258b0bf0e07 ("anv: Add support for binding acceleration structures")
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16058>
    (cherry picked from commit b7828f56ba9fb885b998da55ada38d9c038bc8a5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a434c77fc3e699c29e503a790d89e32ceb1af93
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Apr 13 15:53:51 2022 +0300

    intel: fixup number of threads per EU on XeHP
    
    Computations for indexing in-memory data structures for ray queries
    depend on this.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 4f9141607f40 ("intel: Add device info for DG2")
    Acked-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15925>
    (cherry picked from commit 107acf5a4a4d742df283b45fbbe5f65bef0883fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2037211162c8be16939832d03bdafde4a8a021e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 22 10:13:56 2022 +0200

    nir: mark XFB varyings as unmoveable to prevent them to be remapped
    
    XFB varyings are considered as always active IO to prevent them to
    be removed or compacted. Though, if the NIR linker doesn't mark XFB
    varyings as unmoveable it still possible to remap other varyings to
    the same location/component.
    
    Fixes KHR-Single-GL46.enhanced_layouts.xfb_override_qualifiers_with_api
    with Zink and a bunch of other dEQP XFB tests.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6301
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Timothy Arceri  <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16092>
    (cherry picked from commit 4ebb5391acf1d0bcd24947af84ce8930a9429894)
    
    Conflicts:
    	src/gallium/drivers/zink/ci/zink-radv-fails.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=add1e87c4e2b456db9560238dce71b2163b8c284
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 22 09:50:16 2022 +0200

    nir: fix marking XFB varyings as always active IO
    
    Components need to be handled, otherwise if a shader has two XFB
    varyings at the same location, only one will be marked as always active.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Timothy Arceri  <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16092>
    (cherry picked from commit 26f74f17d9be014e70f297a0af4143970347008e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2379bc19a8b7d2fd034cd72b10107756d9bce13b
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 22 15:15:33 2022 +0200

    aco: fix load_barycentric_at_{sample,offset} on GFX6-7
    
    The computation was wrong.
    
    Fixes dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at_offset.*
    with Zink on GFX6 (Pitcairn).
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16099>
    (cherry picked from commit 6873da0e42182520a38a6f88abb3717eea12d774)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99ce005b936168960d376a302c47a132e316eb4d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Apr 26 09:05:07 2022 -0700

    .pick_status.json: Update to f329f67243d671965d73bd2243cffc4e1e68c4a3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d71e9fcb157bf174161a27f2de67ef4f482e33bd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr 22 09:05:26 2022 -0400

    glsl/nir: set new_style_shadow for sparse tex ops as necessary
    
    this needs the sparse result type, which is not the ir type
    
    Fixes: f4a972b7483 ("glsl/nir: convert sparse ir_texture to nir")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16097>
    (cherry picked from commit a6a4bf0f1eae36cb68d5c67653ac013fe0fbde8a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d8a4ce3c458dc7faa30cd7c988f5c2ce5e95f83
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 21 13:11:18 2022 -0400

    mesa/st: clamp GL_RENDERBUFFER to GL_TEXTURE_2D for sparse queries
    
    this is a legal query that cts uses, so don't just abort
    
    Fixes: b1c32a6c8c2 ("mesa: add ARB_sparse_texture query in glGetInternalformativ")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16097>
    (cherry picked from commit 272f6ede0d828f95549f26c0c47c24f08d6a6174)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e07d4a02febef82cab229f250569d458874de327
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 11:01:00 2022 -0700

    dzn: Fix the STATIC_ASSERT() in dzn_meta_blits_get_context()
    
    We care about the object key size, not the size of a pointer.
    
    Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109>
    (cherry picked from commit 1999e927b017cc3bb9ae6cd9726dd587665e8ab8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff7e8aec043460659b4e94646c70d8d0b9871aeb
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 10:57:42 2022 -0700

    dzn: Pass the dzn_event pointer to _mesa_hash_table_insert()
    
    The key is supposed to be the dzn_event pointer, not the VkEvent
    object, even if they do match in practice on 64bit builds.
    
    Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109>
    (cherry picked from commit 3328f6be062dbd197fd1efe207364bd07c153bd5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=001a5c73cc494dc359236c854ee202f0725e22a2
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 10:55:55 2022 -0700

    dzn: Add missing VKAPI_{ATTR,CALL} specifiers to BeginCommandBuffer()
    
    Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109>
    (cherry picked from commit cb9ad71d75f0b14bfbf33a61539f474322edf165)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1c167da48c7bddc4acfa6f2f9b7b4810039a5e4
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Oct 4 16:36:23 2021 -0500

    util/set: Respect found in search_or_add_pre_hashed
    
    Fixes: 491e7decad0f "util/set: add the found param to search_or_add"
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13184>
    (cherry picked from commit 21a7b0f1abbfc3ed0ebf1194ef530ca2497616e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acc3752a103c3168935d31d1b65d5400c1222e80
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Apr 22 02:16:23 2022 -0400

    ac/surface: fix an addrlib race condition on gfx9
    
    Addrlib calls GetMetaEquation, which generates and saves address equations
    in a global table that is not thread safe.
    
    Fixes: df2cbdd2e32 - amd/addrlib: expose DCC address equations to drivers
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6361
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16091>
    (cherry picked from commit c4ca059dee4c902c1a736b3f77bd938679411c0d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fddd2dbebccc79097436b97d65421f424c00463
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Apr 22 01:35:45 2022 -0400

    nir: fix an uninitialized variable valgrind warning in nir_group_loads
    
    pass_flags is only initialized for grouped loads, so change the order
    
    Fixes: 33b4eb149ea - nir: add new SSA instruction scheduler grouping loads into indirection groups
    
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16090>
    (cherry picked from commit f7a77ff9005fdb1af7678d80dac6dcf16b328c21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8ba43c8f8476c9fa80b932cb4b8df713f0f64db
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Apr 20 11:09:40 2022 +0200

    ac/surface: adjust gfx9.pitch[*] based on surf->blk_w
    
    This is the same as 8275dc1ed57, but since gfx9.pitch[...] is
    used for linear surfaces since 86262b6eac0 we need to update
    it as well.
    
    Fixes: 86262b6eac0 ("radeonsi,radv: fix usages of surf_pitch")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16053>
    (cherry picked from commit fcc499d5e1deac76126de7fd0c3297298322db07)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f53d45cbb5228c9d4bda74113bb8d5ef2db76ba2
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Sun Apr 24 21:04:51 2022 -0700

    .pick_status.json: Update to a6a4bf0f1eae36cb68d5c67653ac013fe0fbde8a

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfc3827890cf5ebab84501e32dc47be336a5019d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 15:53:35 2022 -0400

    zink: add synchronization for buffer clears
    
    cc: mesa-stable
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16098>
    (cherry picked from commit fbece25a451bb7915891851ee5c72724974ae5e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae8586067977921e99dc41af6caad46897f237c0
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Apr 21 12:41:27 2022 +0200

    radv: only apply enable_mrt_output_nan_fixup for 32-bit float MRTs
    
    This is incorrect for 32-bit integer MRTs which are clamped to the
    maximum value of the format, and returning 0 can break some shaders.
    
    This fixes a rendering issue with RAGE2.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4329
    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/16080>
    (cherry picked from commit 5121e6dd7ea9127842814239fe5a8b5dd231dd8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0776767b150193c5621a5c1c5b0a58cbe0b0558e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 14 14:28:43 2022 -0400

    zink: fix semantics mask for compute control barriers
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15959>
    (cherry picked from commit 5e931cd0e18e91d896d7cb428cbe6c4f142bc51b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5286bd22d8b576a1911d8a75cddbee0a81e057ab
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 14 14:19:02 2022 -0400

    zink: fix tcs control barriers for use without vk memory model
    
    these are translated into memory+control barriers in nir, and only
    the control barrier needs to be handled
    
    these semantics match what glslang does, so they must be right
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15959>
    (cherry picked from commit 55baf0c676a33a29aa8fb26e506e44eed598c091)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de0c61c03bbdb1c7654a5bed1f69a3bf3ac68656
Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
Date:   Wed Feb 9 12:56:35 2022 -0800

    iris: fix race condition during busy tracking
    
    The Iris code that deals with implicit tracking is protected by
    bufmgr->bo_deps_lock. Before this patch, we hold this lock during
    update_batch_syncobjs() but don't keep it held until we actually
    submit the batch in the execbuf ioctl. This can lead to the following
    race condition:
    
      - Context C1 generates a batch B1 that signals syncobj S1.
      - Context C2 generates a batch B2 that depends on something that B1
        from C1 is using, so we mark B2 as having to wait syncobj S1.
      - C2 calls submit_batch() before C1 does it.
      - The Kernel detects it was told to wait on syncobj S1 that was
        never even submitted, so it returns EINVAL to the execbuf ioctl.
      - We run abort() at the end of _iris_batch_flush().
        - If DEBUG is defined, we also print:
          iris: Failed to submit batchbuffer: Invalid argument
    
    I couldn't figure out a way to reproduce this issue with real
    workloads, but I was able to write a small reproducer to trigger this.
    Basically it's a little GL program that has lots of contexts running
    in different threads submitting compute shaders that keep using the
    same SSBOs. I'll submit this as a piglit test. Edit: Tapani found a
    dEQP test case which fails intermintently without this fix, so I'm not
    sure a new Piglit is worth it now.
    
    The solution itself is quite simple: just keep bo_deps_lock held all
    the way from update_batch_syncobjs() until ioctl(). In order to make
    that easier we just call update_batch_syncobjs() a little later. We
    have to drop the lock as soon as the ioctl returns because removing
    the references on the buffers would trigger other functions to try to
    grab the lock again, leading to deadlocks.
    
    Thanks to Kenneth Graunke for pointing out this issue.
    
    This has also been confirmed to fix a dEQP test that was giving
    intermittent failures:
      dEQP-EGL.functional.sharing.gles2.multithread.random.images.copyteximage2d.12
    
    v2: Move decode_batch() out, just to be safe (Jason).
    v3: Do it all after assembling validation_list (Ken).
    
    Cc: mesa-stable
    Fixes: 89a34cb8450a ("iris: switch to explicit busy tracking")
    Tested-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14964>
    (cherry picked from commit 3532c374de2de1655b7d56aca69588c3f5de19ee)

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

    wgl: support GL 4.6
    
    somehow we never supported anything above 4.5?
    
    cc: mesa-stable
    
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16085>
    (cherry picked from commit f8f5b5455ae17160fb979c6a16f5304461333ad5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5f6ff9d3e57fd634228eee30106a9f6aa0f170f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 15:32:05 2022 -0400

    zink: move the kopper present fence to the displaytarget object
    
    this is otherwise broken when front/back buffers share the same dt
    
    Fixes: 8ade5588e39 ("zink: add kopper api")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16070>
    (cherry picked from commit 64d5f71bbcb92b564377664371397f8d0a5b57be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9a6fb2cf2639b99c6df1b20f9eb863857003953
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Apr 22 09:00:41 2022 -0700

    .pick_status.json: Update to fbece25a451bb7915891851ee5c72724974ae5e2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2324083fe9de798ec85aff7d97e5baf3e8ac8678
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Thu Apr 21 11:00:23 2022 +0300

    nir/divergence: handle load_global_block_intel
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: dd39e311b336 ("nir: Add nir_intrinsic_{load,store}_deref_block_intel")
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16075>
    (cherry picked from commit 9f44a264623461c98368185b023d99446676e039)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08e22fff13a82895c82d0e508682acf122e7b456
Author: Filip Gawin <filip.gawin at zoho.com>
Date:   Sun Jan 23 17:41:43 2022 +0100

    r300: Print warning when stubbing derivatives
    
    Fixes: e1c640c3a43d741719864b35cbf855aa82be0611
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14669>
    (cherry picked from commit d48c10fab38217264045064b3f48ecac0c24b7bb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af570d37a7ba9213894d1264bfcfb42936965566
Author: Martin Roukala (né Peres) <martin.roukala at mupuf.org>
Date:   Tue Apr 19 10:08:13 2022 +0300

    ci/b2c: fix the generation of the IMAGE_UNDER_TEST variable
    
    The `IMAGE_UNDER_TEST` variable set in `.b2c-test` got broken with
    the merge of 7d474c1 (ci: Move most stuff out of root .gitlab-ci.yml).
    
    During the shuffling, the `MESA_BASE_TAG` and `MESA_IMAGE_TAG`
    variables were dropped, leading to `IMAGE_UNDER_TEST` being an
    unexisting container.
    
    To make this issue less likely to happen in the future, this patch
    drops the code duplication that led to `IMAGE_UNDER_TEST` to be
    the same as `MESA_IMAGE` and instead re-uses .use-debian/x86_test-vk
    to generate `MESA_IMAGE`, which we then use verbatim in
    `IMAGE_UNDER_TEST`.
    
    The renaming is `MESA_IMAGE` into `IMAGE_UNDER_TEST` there to make the
    distinction clear between the image run by gitlab-runner (what is
    usually called `MESA_IMAGE` but we instead hardcode to valve-infra's
    trigger container), and the image we are running on the test machines.
    
    Fixes: 7d474c1 (ci: Move most stuff out of root .gitlab-ci.yml)
    Signed-off-by: Martin Roukala (né Peres) <martin.roukala at mupuf.org>
    Reviewed-by: Charlie Turner <cturner at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15555>
    (cherry picked from commit c672464844eb47d6cebd6f35d28bcc66c6bd90df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a427a88f40998de7d6a9269251a2984e5d108bff
Author: Alexey Bozhenko <oleksii.bozhenko at globallogic.com>
Date:   Wed Apr 13 15:16:16 2022 +0300

    spirv: fix OpBranchConditional when both branches are the same
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6246
    
    Signed-off-by: Bozhenko Alexey <oleksii.bozhenko at globallogic.com>
    
    Fixes: 64cb143b922 ("spirv: Fix handling of OpBranchConditional with same THEN and ELSE")
    Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15929>
    (cherry picked from commit 25acf1d8697ae62a2eead1bca9e5f8ca6eb2b372)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8dc7e0d374c45c8291123b0da038edff23c5854
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Apr 21 10:23:11 2022 +1000

    util/stencil: fix stencil fallback blit shader texture types.
    
    src/gallium/auxiliary/tgsi/tgsi_scan.c:287: scan_src_operand: Assertion `info->sampler_targets[index] == target' failed.
    assert was being triggered by
    GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_multisampled_to_singlesampled_blit
    using the stencil fallback with zink.
    
    Fixes: f05dfddeb1ad ("u_blitter: fix stencil blit fallback for crocus.")
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16069>
    (cherry picked from commit 4b7ba3869be3f706efc717d40535c61d5c7a20c7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55d9bd1b648d1608a15d77d6b16babe8194fa00f
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Apr 21 09:49:31 2022 +1000

    u_blitter/stencil: take dstbox x/y into accounts for dst fb width
    
    When setting the dst framebuffer width height, it might be silly
    to constrain this beyond the dst resource, but at least constrain
    it correctly to take account of x/y offsets.
    
    This fixes some uses of this as a fallback for zink with
    GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_stencil_blit
    
    Fixes: b4c07a8a87d0 ("gallium/util: allow scaling blits for stencil-fallback")
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16069>
    (cherry picked from commit dbc264f50418306650e9ec5a0b8613fe0aabb228)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=692d9bce640626e400419b2b5879257c86efcfee
Author: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
Date:   Thu Apr 14 21:52:47 2022 +0300

    anv: Fix geometry flickering issue when compute and 3D passes are combined
    
    Call flush_pipeline_select_3d in CmdBeginRendering() to emit a dummy MEDIA_VFE_STATE
    before switching from GPGPU to 3D.
    
    Original commit with the fix:
    bc612536 ("anv: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D")
    
    Fixes: 3501a3f9ed92 ("anv: Convert to 100% dynamic rendering")
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6201
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15954>
    (cherry picked from commit 785b6579ae55e1320aa331de945366e18f41bf12)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=503440f0dc4f105aa3a7fbea4178960d77a55571
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Mar 25 12:03:08 2022 -0700

    intel/dev: Add device info for RPL-P
    
    Cc: mesa-stable
    Ref: https://patchwork.freedesktop.org/series/102701/
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16054>
    (cherry picked from commit d257494ec4d826aec8841845479215820e612917)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2af5c609be5844c7e01974900cee42a03a3f2f8c
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date:   Wed Apr 20 16:26:28 2022 +0200

    crocus: export GEM handle with RDWR access rights
    
    Without this, it is impossible to export gem handles with write access.
    
    This was fixed the same way for
    i965 (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10850) and
    iris (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10851).
    
    Cc: mesa-stable
    Reviewed-by: Dave Airlie <airlied at redhat.com>`
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16057>
    (cherry picked from commit 5c4906dc0f0b9609760dc0a18805045e568b2d0b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f335548405a1d197a49321322ccd31a30b5f7a31
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 19 16:06:44 2022 -0400

    util/draw: fix indirect draw count readback
    
    if there is an indirect count, always use it
    
    Fixes: 3eb99323172 ("aux/draw: add a util function for reading back indirect draw params")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963>
    (cherry picked from commit ec124916206fbae63ee9e3c2c73de8255c807c98)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d020c5b524d92073d17586f767112dea98edc1d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 19 16:06:44 2022 -0400

    util/draw: handle draw_count=0 when reading indirect parameters
    
    Fixes: 3eb99323172 ("aux/draw: add a util function for reading back indirect draw params")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963>
    (cherry picked from commit 07437fa3bdd88a51c497aeaa7ee4dce8c2724579)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=936c5278de4e6ccd2e65f5e05d7c603b549c0419
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr 15 10:34:03 2022 -0400

    util/draw: fix map size of indirect buffer in util_draw_indirect_read
    
    this was incorrectly calculating too small of a map region if
    the stride was less than the size of the struct
    
    Fixes: 3eb99323172 ("aux/draw: add a util function for reading back indirect draw params")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963>
    (cherry picked from commit efca37d4154496f9318064ff40e931233a4e5748)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eda70fb31947549b4dd84695fdea9edfa9f45b6
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr 15 13:25:00 2022 -0400

    zink: handle device-local unsynchronized maps
    
    this is only possible when tc determines the buffer is not in use
    and decides to return a pointer immediately, so just give back a staging
    buffer
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15979>
    (cherry picked from commit d7256043b3ac3652a070ed0384db80effc99ed96)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bd963d88bfc3808fd8e3ee129ec992b19e64e74
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Apr 21 11:20:15 2022 -0700

    .pick_status.json: Update to 9f44a264623461c98368185b023d99446676e039



More information about the mesa-commit mailing list