URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ae4e4629b99ad3517891172dc6650c543726c1
Author: Dylan Baker <[email protected]>
Date:   Wed Feb 22 18:26:16 2023 -0800

    VERSION: bump for 23.0.0

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a8dfe7e1f63e8248562f8a54209ddc8d7b4181
Author: Jesse Natalie <[email protected]>
Date:   Tue Feb 7 11:17:03 2023 -0800

    microsoft/clc: Set features that are used by CL tests
    
    Reviewed-by: Karol Herbst <[email protected]>
    (cherry picked from commit e9ab33c9a18fa8160f38cffab19733d405455026)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21467>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=785cf852962aba988215aa15031ab5269a58a6cb
Author: Faith Ekstrand <[email protected]>
Date:   Fri Feb 10 16:21:19 2023 -0600

    nir/deref: Preserve alignments in opt_remove_cast_cast()
    
    This also removes the loop so opt_remove_cast_cast() will only optimize
    cast(cast(x)) and not cast(cast(cast(x))).  However, since nir_opt_deref
    walks instructions top-down, there will almost never be a tripple cast
    because the parent cast will have opt_remove_cast_cast() run on it.
    
    Reviewed-by: Jesse Natalie <[email protected]>
    (cherry picked from commit af9212dd82b8885e0d94921e8500b90561faa5e0)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21467>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d55de21f0f67071daa64c0b67978aca007df0178
Author: Jesse Natalie <[email protected]>
Date:   Tue Feb 7 11:16:11 2023 -0800

    clc: Include opencl-c-base.h with LLVM 15 (using builtins)
    
    Reviewed-by: Karol Herbst <[email protected]>
    (cherry picked from commit b27d8ee2e916290a49943586726521ad2378a45f)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21467>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2fb52d61a7d02e4b514744fce7a5dd52f48bbad
Author: Marek Olšák <[email protected]>
Date:   Wed Feb 1 08:00:01 2023 -0500

    glthread: ignore non-VBO vertex arrays with NULL data pointers
    
    This can happen when an attrib is enabled, but the shader doesn't use it,
    so it's ignored by mesa/state_tracker, and should be ignored here as well.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8138
    
    Acked-by: Timothy Arceri <[email protected]>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21039>
    (cherry picked from commit efb531fcb5a53e46d12517c8a08c07a453f334fe)
    
    Conflicts:
        src/mesa/main/glthread_draw.c

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dfc7eaeb2be6c6302ee2719e1dc17e6178749f3
Author: Marcin Ślusarz <[email protected]>
Date:   Mon Jan 30 17:09:26 2023 +0100

    intel/compiler/mesh: use slice id of task urb handles in mesh shaders
    
    When mesh shader is spawned on a different slice than the originating
    task shader, then input task urb handle can come from a different
    slice, so masking this information off will load data from the current
    slice, instead of the one where real data are.
    
    Reviewed-by: Caio Oliveira <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21007>
    (cherry picked from commit dd9bf86725bac3123902d6a85643e6ca567eff56)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3c6a52cf12d682af324a3ef4f91df21e84a58d4
Author: Sebastian Wick <[email protected]>
Date:   Mon Feb 20 19:28:02 2023 +0100

    loader: do not check the mesa DRI_Mesa version if it was not found
    
    Signed-off-by: Sebastian Wick <[email protected]>
    Fixes: 1026d2934419 ("dri: Introduce internal Mesa DRI driver loader 
extension.")
    Reviewed-by: Emma Anholt <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21429>
    (cherry picked from commit f4ce19063c2e8f2b9f4567e8b468896f957d3d8b)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3491da20432b7a694e10d00faebb76eba9c293f2
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Feb 20 11:03:42 2023 -0500

    driconf: add zink glthread disable for a game
    
    ref #8333
    
    fixes #8328
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21424>
    (cherry picked from commit 50a65e2e2b4d30eead16a1d214a0b575763de04b)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=89e9c440424ccd4e8ecc437efc5fd659db89b76c
Author: Sviatoslav Peleshko <[email protected]>
Date:   Fri Feb 17 23:08:36 2023 +0200

    driconf/anv: Apply limit_trig_input_range WA to Rise of the Tomb Raider
    
    During its Ambient Occlusion calculations the game ends up calculating
    sin/cos of some pretty big values, for which HW produces completely bogus
    results (e.g. cos(3929491.25) ~= -0.011, while correct would be ~0.923).
    
    Limit the arguments to the reasonable (-2*Pi; 2*Pi) range with the
    limit_trig_input_range WA.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8292
    Signed-off-by: Sviatoslav Peleshko <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21396>
    (cherry picked from commit 42dba8ebc555bc7ba2e7a86d19eabf4c6d7a3f7f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=925f9f19dd1012a8df0068f4be7320e24dc1fb5d
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Feb 21 09:41:37 2023 -0500

    kopper: fix loop iterating for msaa texture creation
    
    the pipe_resource template values need to always be initialized or
    else texture creation fails and rendering is broken
    
    fixes #8331
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21450>
    (cherry picked from commit b43d32b77d000d8bce560360c93cb9845af62662)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fdfa9d9bbca09697efa0bc1e40ed13a978f716a
Author: Charmaine Lee <[email protected]>
Date:   Tue Feb 14 03:47:39 2023 +0200

    svga: use upload buffer if texture has pending changes
    
    When establishing a texture transfer map, if there is any pending changes 
on the
    texture, instead of trying direct map with DONTBLOCK first, just
    use the upload buffer path.
    
    Fixes piglit tests gen-teximages, arb_copy_images-formats
    
    Cc: mesa-stable
    
    Reviewed-by: Neha Bhende <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21393>
    (cherry picked from commit 1b9b060f0eee19da426daffe37de30a9200b15b2)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da8139e5e4e4b409b3c152f06ad888b817c17052
Author: Charmaine Lee <[email protected]>
Date:   Fri Feb 3 21:24:19 2023 -0500

    svga: fix compatible formats for shareable surfaces
    
    Add typeless format to the compatible format lists for shareable surfaces.
    
    Fixes webgl benchmark crash in eglCreateImage running from firefox on 
Fedora 37.
    
    Cc: mesa-stable
    
    Reviewed-by: Martin Krastev <[email protected]>
    Reviewed-by: Jose Fonseca <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21393>
    (cherry picked from commit 3a359385cb1560fde560edc74f7a070ef1e3d953)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1e25936085ca738aace7f4c8dd6594ea47fbb41
Author: Charmaine Lee <[email protected]>
Date:   Wed Feb 8 14:01:14 2023 -0500

    svga: fix resource_get_handle from resource created without SHARED bind flag
    
    When an EGLImage is created from a 2D texture and used for texture sharing,
    the texture surface might not have been created with the SHARED bind flag.
    To allow these surfaces for sharing, this patch sets the USAGE SHARED bit
    for surfaces that can be potentially used for sharing even when the SHARED
    bind flag is not originally set. Instead of unconditionally enabling the
    SHARED bind flag for all surfaces and unnecessarily bypass the surface cache
    optimization, this patch only enables the USAGE SHARED bit for surfaces
    that also have the RENDER TARGET bind flag.
    When the surface handle is inquired and if the surface is currently
    marked as cachable, we will need to unset the cachable bit so
    the surface handle will not be recycled again.
    
    This patch fixes an assertion in svga_resource_get_handle() when the
    EGL_MESA_image_dma_buf_export extension is used in webgl benchamrk running
    from firefox in Fedora 37.
    
    Cc: mesa-stable
    
    Reviewed-by: Martin Krastev <[email protected]>
    Reviewed-by: Jose Fonseca <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21393>
    (cherry picked from commit 75b7296fc36d302a4901da93f4cd3e51e6e6f8f1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09c6627fa3b11bebc52b43c7548522e443ebe9e3
Author: Timothy Arceri <[email protected]>
Date:   Wed Feb 15 23:14:13 2023 +1100

    glsl: isolate object macro replacments
    
    Here we use a leading space to isolate them from
    the code they will be inserted into. For example:
    
        #define VALUE -1.0
        int a = -VALUE;
    
    Should be evaluated to int a = - -1.0; not int a = --1.0;
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7932
    
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <[email protected]>
    Reviewed-by: Tapani Pälli <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21352>
    (cherry picked from commit 3a9edfc4943d28894b0a39b6ee3350e57a979d79)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=34170edbb6b1f726c449dd498d43f90169408414
Author: Timothy Arceri <[email protected]>
Date:   Wed Feb 15 23:13:06 2023 +1100

    glsl: add _token_list_prepend() helper to the parser
    
    This will be used in the following patch.
    
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <[email protected]>
    Reviewed-by: Tapani Pälli <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21352>
    (cherry picked from commit 6e29dce291c45ee0460ddefb34d86b0859f5ce03)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bb13b2df23412222e90a4be5886f5bb7ff92d16
Author: Marek Olšák <[email protected]>
Date:   Fri Feb 3 10:34:09 2023 -0500

    mesa: ignore indices[i] if count[i] == 0 for MultiDrawElements
    
    Cc: mesa-stable
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21039>
    (cherry picked from commit e2ad086f485b82e59b37dd87e7e6e6393bb62257)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4e3154973088991f10ef41eb07fd5eade6355da
Author: Dylan Baker <[email protected]>
Date:   Wed Feb 22 10:11:59 2023 -0800

    .pick_status.json: Update to dd3b67b9746f1d0f2766d6c39bb23e59d6548aba

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b8579c7ab2ed7399c7955a0794eb55e744ea3ba
Author: Emma Anholt <[email protected]>
Date:   Wed Feb 8 21:32:10 2023 -0800

    hasvk: Fix SPIR-V warning about TF unsupported on gen7.
    
    It's supported now.
    
    Fixes: d82826ad4446 ("anv: Implement VK_EXT_transform_feedback on Gen7")
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21228>
    (cherry picked from commit ed62eec58b145f9992e1411c6ce972eb588e3dfc)
    
    Conflicts:
        src/intel/ci/hasvk-hsw-fails.txt
    
    Stable:
        Removed non-existant CI files

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ead567ce7bf8faad41f1b729525dcee52c374ba
Author: Timur Kristóf <[email protected]>
Date:   Wed Feb 1 01:02:09 2023 +0100

    radv: Call nir_lower_array_deref_of_vec in radv_lower_io_to_scalar_early.
    
    This fixes an issue when a vector component of an arrayed output has a 
deref.
    
    Signed-off-by: Timur Kristóf <[email protected]>
    Reviewed-by: Rhys Perry <[email protected]>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8197
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21028>
    (cherry picked from commit e13074d76312ca95648460629aef7021ee7482d1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddf8ae7b1aa69650d2a37f62d63a1ff6eb9cadf3
Author: Konstantin Seurer <[email protected]>
Date:   Tue Feb 14 10:55:44 2023 +0100

    radv: Make accel struct meta state initialization thread safe
    
    Fixes: 0d5570b ("radv: Always compile accel structure shaders on demand.")
    Reviewed-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21268>
    (cherry picked from commit 2ef5acedc259994c3dcb09feb2f173d636a1e125)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af1ae57d156c27427e847dee07927770fe35a423
Author: Lionel Landwerlin <[email protected]>
Date:   Fri Feb 17 11:35:56 2023 +0200

    intel/perf: also add the oa timestamp shift on MTL
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 90c86fe63e94 ("intel: add MTL performance metrics")
    Reviewed-by: Tapani Pälli <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21378>
    (cherry picked from commit 14266d3c2d8d078db01be2d2837c81ce5f9b530e)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5a40f4d23c0c124e4146970aae60ae491ff96e2
Author: Samuel Pitoiset <[email protected]>
Date:   Thu Feb 9 16:07:56 2023 +0100

    radv/amdgpu: only set a new pstate if the current one is different
    
    AMDGPU pstate is per context but if there is multiple AMDGPU contexts
    in flight, the kernel can return -EBUSY.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21222>
    (cherry picked from commit 6d73841d34f6a715a7c1ca3387fea3c3456b1615)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52519519760bc573c0a9df3ad3fafc1faa2873ee
Author: Samuel Pitoiset <[email protected]>
Date:   Thu Feb 9 15:16:47 2023 +0100

    Revert "radv: acquire pstate on-demand when capturing with RGP"
    
    This change is wrong for two reasons:
    - it hangs most of the time maybe, because changing PSTATE when the
      application is running is broken somehow
    - it increases the time between triggering and generating the capture
      considerably, because there is a delay for changing PSTATE
    
    This restores previous logic where PSTATE is set to profile_peak at
    logical device creation. Though, it also re-introduces an issue with
    multiple logical devices (kernel returns -EBUSY) but this will be
    fixed in the next commit.
    
    This fixes GPU hangs when trying to record RGP captures on my NAVI21.
    Note that profile_peak is only required for some RDNA2 chips (including
    VanGogh).
    
    Cc: mesa-stable
    This reverts commit 923a864d94517462698c529bdc0e5c056d37b4e1.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21222>
    (cherry picked from commit 663877e8943d074e6ac520a8312f221e6a45e629)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1690c1e041aff0b3a98461381d821f6bc70ce405
Author: Italo Nicola <[email protected]>
Date:   Thu Feb 16 22:12:04 2023 +0000

    panfrost: fix tiny sample_positions BO memory leak
    
    Fixes a 4KB memory leak that happens once per-device creation.
    
    Cc: mesa-stable
    Signed-off-by: Italo Nicola <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Tested-by: Chris Healy [email protected]
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21372>
    (cherry picked from commit e787ddf2981b224bcf22c310f6bcb116aa1dff81)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de40ab9921bf158f953fd42a1a7925d652f16050
Author: Dylan Baker <[email protected]>
Date:   Fri Feb 17 11:06:28 2023 -0800

    .pick_status.json: Update to 4459668b6e74094b93f13da377077c4f26c9b7b9

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=07b9046128367d8a35d75f3c9f9a373a48783698
Author: Faith Ekstrand <[email protected]>
Date:   Tue Feb 14 10:25:54 2023 -0600

    nir/from_ssa: Move the loop bounds check in resolve_parallel_copy
    
    We loop, effectively, over two stacks: ready and to_do and finish only
    when both are empty.  In the case where ready is empty, we pull one off
    of to_do, add a copy to a temporary, and push it onto the ready stack.
    Previously, we assumed that we would never get to the temporary copy
    case if to_do has exactly one entry because that would imply that there
    was only one copy left which means there can't possibly be a cycle to
    break.  This was true until c7fc44f9ebbe ("nir/from_ssa: Respect and
    populate divergence information") which changed things such that
    temporary copies sometimes get added in the case where a convergent
    value is copied both to convergent and divergent destinations.
    
    This patch adjusts our loop iteration to always attempt to clear the
    ready stack before checking if there's anything left on the to_do stack.
    I also added an assert to make the exit condition more clear.
    
    Fixes: c7fc44f9ebbe ("nir/from_ssa: Respect and populate divergence 
information")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8037
    Reviewed-by: Kenneth Graunke <[email protected]>
    Reviewed-by: Daniel Schürmann <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21315>
    (cherry picked from commit 4e09d37f3bd4b2f5837040cb1695d151672944e1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8eb3e6d1a31e34549ce70ac544cc228d7fbc2cb1
Author: Faith Ekstrand <[email protected]>
Date:   Mon Feb 13 17:32:35 2023 -0600

    nir/from_ssa: Only re-locate values that are destinations
    
    There is an optimization in the parallel copy algorithm where, after a
    copy has been performed, we can treat the destination as the new source
    for future copies of the same source.  In particular, consider the
    following parallel copy: A -> B, C -> A, A -> C.  In this case, after we
    have done the A -> B copy, we can make note that the value in A is now
    in B and emit the sequence: A -> B, C -> A, B -> C.  This allows us to
    resolve the swap cycle between A anc C without allocating a temporary
    register because we know B is also a copy of A.
    
    When one of the registers involved is convergent and the other is
    divergent, this optimization is problematic because, while convergent to
    divergent copies are fine, we can't re-use the divergent copy in later
    copies if any of those copies are to a convergent variable.  We could,
    but it would require a read_first_invocation which would get messy.  In
    In c7fc44f9ebbe ("nir/from_ssa: Respect and populate divergence
    information"), we attempted to deal with this by limiting the rename
    optimization to the case where the divergence matched.
    
    The problem is that we did the re-name part whenever the divergence
    matched but only marked it as ready if the thing being copied was a
    destination.  (We actually left two instances of loc[a] = b, one which
    always happened and one which only happened if we also wanted to flag
    the source as being ready to use as a destination.)  While this
    technically doesn't cause any problems, it may result in more inter-mov
    dependencies which hurts instruction scheduling.  For example, if we had
    the parallel copy A -> B, A -> C, A -> D, we now end up emitting the
    sequence A -> B, B -> C, C -> D which has many more data hazards between
    instructions caused by the constant shuffling.
    
    This commit restores the original logic in which we only perform the
    rename optimization if the rename would free up a register we will later
    use as a destination.  This isn't entirely optimal as it still doesn't
    prove that there is a cycle involved first, but it should lead to a
    reduction in unnecessary dependencies.
    
    No shader-db changes on SKL or DG2
    
    Fixes: c7fc44f9ebbe ("nir/from_ssa: Respect and populate divergence 
information")
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21315>
    (cherry picked from commit 5afba073c6ba047e7c0e8e8824855566d15cba35)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=db645ee39030502fdcf9a712e467c73177ba5440
Author: Dylan Baker <[email protected]>
Date:   Thu Feb 16 12:41:52 2023 -0800

    .pick_status.json: Update to 4e09d37f3bd4b2f5837040cb1695d151672944e1

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed32fa0d74d7a573c1ce282d5839b85f4522f417
Author: Emma Anholt <[email protected]>
Date:   Mon Feb 13 13:20:22 2023 -0800

    Revert "freedreno/a5xx: Fix clip_mask"
    
    This reverts commit 2dfebf34874b5365156d254c2c1ba2ecc5262deb.
    
    It causes GPU hangs in piglit tests like
    [email protected]@execution@clipping@vs-clip-vertex-enables, for reasons I'm
    totally unclear on.  The commit was not necessary, because the frontend
    lowering already handles disabled clip planes by storing 0.0 to the
    corresponding clipdist array element in that shader variant.  Add a note
    to that effect.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21298>
    (cherry picked from commit 5c246e21b71a1676705440bce767535dc502d748)
    
    Conflicts:
        src/freedreno/ci/freedreno-a530-fails.txt

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d515593a40d35c06e5ef0bc796c5da6a08a142a6
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 15 10:10:26 2023 -0500

    vulkan/wsi: avoid deadlocking dri3 when polling deleted windows for events
    
    upcoming xserver releases will emit PresentConfigureNotify with this
    flag set when a window is destroyed, ensuring drivers
    don't poll infinitely and deadlock
    
    fixes #6685
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <[email protected]>
    Reviewed-by: Michel Dänzer <[email protected]>
    Acked-by: Daniel Stone <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21339>
    (cherry picked from commit 819cbf329a56f1e72a4192b727c7a6d44ad2c2d7)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4990da4a0f60ad3415a83d4407785b03bd98471
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 15 10:10:26 2023 -0500

    dri3: avoid deadlocking when polling deleted windows for events
    
    upcoming xserver releases will emit PresentConfigureNotify with this
    flag set when a window is destroyed, ensuring drivers
    don't poll infinitely and deadlock
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/116
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <[email protected]>
    Reviewed-by: Michel Dänzer <[email protected]>
    
    Acked-by: Daniel Stone <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21339>
    (cherry picked from commit 91de576a7f67c953b7a69fd45e1eb3b2a0dde996)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cee00b887ae8dc7ba94c10d300adaecd0bd272e
Author: Konstantin Seurer <[email protected]>
Date:   Tue Feb 14 20:43:46 2023 +0100

    radv: Hash VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_* flags
    
    Found by inspection.
    
    Fixes: 687a82d ("radv/rt: Handle no-null shader flags")
    Reviewed-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21320>
    (cherry picked from commit cf9e1b953cab2356a29da9244263be077cf162ad)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0bbed4db1e1553c04f107ef5ae9bcaa03a97b22
Author: Michel Dänzer <[email protected]>
Date:   Wed Feb 15 12:40:39 2023 +0100

    frontend/dri: Initialize callbacks in dri_swrast_kms_init_screen
    
    This was missed in the commit below.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8232
    Fixes: 7d5b1cd02c4d ("frontend/dri: move callbacks from the VTable into 
dri_screen, dri_drawable")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21333>
    (cherry picked from commit 3e9c13148218fc3dd38d9979f31032c275678226)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b972c025fec33e9a11d4fc0749ad65e5c803d951
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date:   Fri Feb 10 19:38:33 2023 -0500

    amd/surface: fix base_mip_width of subsampled formats
    
    base_mip_width is used in si_compute_copy_image when the
    SI_IMAGE_ACCESS_BLOCK_FORMAT_AS_UINT flag is used.
    
       width = tex->surface.u.gfx9.base_mip_width;
    
    This will be incorrect if we don't adjust it. For instance,
    with a 260x256 image, surf_pitch and base_mip_width are
    320 before surf_pitch is updated to be 192.
    
    Both need to match, or computing the width from base_mip_width
    leads to incorrect result.
    
    Cc: mesa-stable
    
    Reviewed-by: Bas Nieuwenhuizen <[email protected]>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21253>
    (cherry picked from commit affa8a9fb2f3ed02ab812bf8f991783683fd408d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=66f888c1e1beb82cf6157c69fa93f65a6587beae
Author: Chia-I Wu <[email protected]>
Date:   Tue Feb 14 21:51:55 2023 -0800

    turnip: fix a null descriptor set dereference
    
    Fixed
    
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.other.null_descriptor_set_in_monolithic_pipeline.
    
    Fixes: cb3872f2cdc ("tu: Implement VK_EXT_descriptor_buffer")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21328>
    (cherry picked from commit bac6062d10d7665cf7de192aafd70a03263ba751)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=80aeef9a50cb777addf5350e6dc3c3b1e39eb312
Author: Chia-I Wu <[email protected]>
Date:   Tue Feb 14 21:22:48 2023 -0800

    turnip: fix a major leak with GPL LTO
    
    This allows dEQP-VK.pipeline.pipeline_library.* to run to finish.
    
    Fixes: e9f5de11d40 ("tu: Initial implementation of 
VK_EXT_graphics_pipeline_library")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21328>
    (cherry picked from commit bce8e7f2ae5e898575ae183773182073468b0cc0)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c7fd2bca19c3d27131b8e7a18d63036ec352b33
Author: Constantine Shablya <[email protected]>
Date:   Tue Feb 14 15:03:51 2023 +0200

    anv,hasvk: flush what UNIFORM_READ flushes on SHADER_READ
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8287
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21310>
    (cherry picked from commit 09501fe5a7d049d6850c5e4e88d76d77f00c33f5)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dace9adafb30c8e6503797bcf6a9f99b3ceb1d4e
Author: Nanley Chery <[email protected]>
Date:   Fri Feb 10 14:28:41 2023 -0800

    iris: Drop iris_cache_flush_for_render
    
    Before dropping this function, handle the two callers of this function:
    
    * The call in iris_blorp.c is redundant. The required cache flushes are
      already handled by the callers of blorp functions. Delete this.
    
    * The call in iris_resolve.c is still providing a benefit because it
      calls iris_emit_buffer_barrier_for internally. Inline the needed
      barrier.
    
    Cc: 23.0 <mesa-stable>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21303>
    (cherry picked from commit 5d24682aaeb7cf15655483a8a55f306975677996)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4afae42a4d25479990b601083faf6ce0bb542f
Author: Nanley Chery <[email protected]>
Date:   Mon Feb 13 17:52:58 2023 -0800

    iris: Flush caches for aux-mode changes more often
    
    Memory accesses can get corrupted when there's a disagreement between:
    * the aux-mode of existing cache lines for a surface and
    * the aux-usage in that surface's RENDER_SURFACE_STATE object
    
    We have already prevented hardware from seeing this conflict for
    rendering operations, but due to how the L3 is shared among multiple
    clients in gfx12 (e.g., sampler engine, render engine, etc.), we need to
    expand the scope of the existing solution. Now, before any access of a
    compressible resource, we make sure to flush the prior aux-mode from the
    caches.
    
    The majority of changes here refactor things for use in a new function,
    flush_previous_aux_mode. The remaining change calls that function from
    within iris_resource_prepare_access.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6558
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7625
    Cc: 23.0 <mesa-stable>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21303>
    (cherry picked from commit 7c367bef0d593962a613dfb7de4d678f94574d36)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e3530f45a14853964c4af852c7a76c4c0427c8
Author: Nanley Chery <[email protected]>
Date:   Mon Feb 13 16:45:02 2023 -0800

    iris: Update comment in iris_cache_flush_for_render
    
    Update the comment to reflect the fact that iris no longer switches
    between CCS_E and CCS_D.
    
    Cc: 23.0 <mesa-stable>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21303>
    (cherry picked from commit ad9c0b7a84c5f73a53a4b8f99a48f83d3e833b20)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a983470b874b5d4a8c8867316373f3bb4992f42
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Feb 14 10:10:20 2023 -0500

    zink: block LINEAR filtered blits for zs formats
    
    this is illegal, and the u_blitter path has to be taken to guarantee
    enough accuracy that the strictest piglit tests pass
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21314>
    (cherry picked from commit f0e1512673d07530f4631c9664c868698c512ac4)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=25e614486e4cf279d84aae377cf5127748b5513c
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Feb 8 20:48:25 2023 +0200

    intel/fs: bound subgroup invocation read to dispatch size
    
    This is to avoid out of bound register accesses (potentially leading
    to hangs) when the dispatch size is smaller than when is reported in
    the NIR subgroup_size.
    
    v2: Implement bounding with a mask (since workgroup sizes are powers of 2) 
(Faith)
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 530de844ef4d ("intel,anv,iris,crocus: Drop subgroup size from the 
shader key")
    Reviewed-by: Faith Ekstrand <[email protected]>
    Reviewed-by: Kenneth Graunke <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21282>
    (cherry picked from commit 9ac192d79dbef726983d704c3e965e3b058769f6)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=14c0675135992b2b683388a0e68b661db1a5d58f
Author: Georg Lehmann <[email protected]>
Date:   Thu Jan 5 17:20:42 2023 +0100

    aco: Don't use vcmpx with DPP.
    
    V_CMPX+DPP returns 0 with reads from disabled lanes, unlike V_CMP+DPP 
(RDNA3 ISA doc, 7.7)
    
    Fixes: baab6f18c91 ("aco: Optimize branching sequence during SSA 
elimination.")
    Reviewed-by: Timur Kristóf <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20537>
    (cherry picked from commit 4fbcd046ceb7c1b20cd6d664b29881a7e0f5eef8)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8405d14633e5683d36aa37d2ec39e111be80543b
Author: Erik Faye-Lund <[email protected]>
Date:   Thu Feb 9 09:06:53 2023 +0100

    zink: remove incorrect trailing comma
    
    A trailing comma in a list is not valid JSON. Let's drop it.
    
    Fixes: f7b2dbb2bdc ("zink: relax bresenhamLines requirement for 
non-strictLine drivers")
    Acked-by: Mike Blumenkrantz <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21211>
    (cherry picked from commit b68f13bc9078e8d86edc06e081bb146f8b9b3ad6)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbad1555855d6bc2d9fdbe9e61aab32c5a9b6d91
Author: Michel Dänzer <[email protected]>
Date:   Thu Feb 9 18:27:23 2023 +0100

    anv/grl: Use union for reinterpreting integer as float
    
    Fixes strict aliasing violations flagged by GCC 12:
    
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h: In function ‘float 
as_float(uint32_t)’:
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h:182:13: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
      182 |     return *reinterpret_cast<float*>(&i);
          |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h: In function ‘float3 
as_float3(int3)’:
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h:187:13: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
      187 |     return *reinterpret_cast<float3*>(&i3);
          |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h:187:13: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h: In function ‘float4 
as_float4(int4)’:
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h:192:13: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
      192 |     return *reinterpret_cast<float4*>(&i4);
          |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/intel/vulkan/grl/include/GRLOCLCompatibility.h:192:13: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
    
    Fixes: 5f948503e40c ("anv: Import GRL")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21236>
    (cherry picked from commit 53ce756eebef47a37ababc6c3c701752b6451366)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba02305bfd513c852ff03b31a03b3db67f32e135
Author: Marcin Ślusarz <[email protected]>
Date:   Mon Jan 30 17:18:04 2023 +0100

    anv: enable task redistribution
    
    Disabling is no longer needed after "intel/compiler/mesh: use
    slice id of task urb handles in mesh shaders".
    
    This reverts commit 4eaecd79657f0cd99f6536fd55a7a14958d6624b.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7141
    
    Reviewed-by: Caio Oliveira <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21007>
    (cherry picked from commit 75e5d458a006838f5222eb1fac5852c31c71d97f)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=971a99fb6dd202d9caf8b7796c4f138301c999c6
Author: Samuel Pitoiset <[email protected]>
Date:   Wed Feb 8 11:38:25 2023 +0100

    radv: disable DCC for mipmaps on GFX11
    
    It seems broken but can't really figure out why and DCC levels aren't
    interleaved on GFX11. Skipping DCC initialization for levels seems to
    also fix it but seems safer to disable completely, as a hotfix.
    
    Fixes DCC issues with Hi-Fi Rush, Sonic Frontiers, Hogwarts Legacy
    and probably more.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8230
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21186>
    (cherry picked from commit 5d41d8258a71fa352d8129bf33ce877046a9313c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f7d65b0f1d65815f2a4d9437f8c4a51a902d16c
Author: Dave Airlie <[email protected]>
Date:   Tue Feb 14 10:58:45 2023 +1000

    crocus: switch gen4/5 tiling flags to follow suggestions.
    
    Fixes: 6043f66dd332 ("crocus: disable Y tiling for render targets 
properly.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21300>
    (cherry picked from commit 6d3c79fa4c8d539b5ad133996632cbe6c1137477)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e57dfe766dbdc95e47ae0d29e30afd60834bf530
Author: Dylan Baker <[email protected]>
Date:   Thu Feb 16 09:11:14 2023 -0800

    .pick_status.json: Update to e050a00b9f4d057e93f61f79019b5cf8bcd04e49

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=416a1c41b30effc4fd336cf46bfd2070d78cb03f
Author: Dylan Baker <[email protected]>
Date:   Wed Feb 15 16:07:35 2023 -0800

    .pick_status.json: Mark 6af3a12e700065ca4b8b3a5d12b97a75142dd185 as 
denominated

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2378cb093d5323d209c4c516e28cf7bda92b10c4
Author: Vincent Davis Jr <[email protected]>
Date:   Wed Dec 28 16:28:01 2022 -0600

    gbm/backend: fix gbm compile without dri
    
    Commit introduces a fix that allows for gbm to be built with an empty
    backend. There are situation especially in a Yocto/OE cross compilation
    environment where you want to build with an empty backend. The particular
    situation is as such:
    
    The mesa-gl recipe is the preferred provider for virtual/libgbm, 
virtual/libgl,
    virtual/mesa, etc... But the x11 DISTRO_FEATURE in't included this leads to 
build
    errors such as:
    
    | /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o: in function 
`find_backend':
    | backend.c:(.text.find_backend+0xa4): undefined reference to 
`gbm_dri_backend'
    | /../../../ld: 
src/gbm/libgbm.so.1.0.0.p/main_backend.c.o:(.data.rel.ro.builtin_backends+0x4):
                    undefined reference to `gbm_dri_backend'
    | collect2: error: ld returned 1 exit status
    
    Issue should be replicable by setting -Ddri3=disabled and -Dgbm=enabled
    
    Add fix to bypasses compilation issue by excluding gbm dri backend. If
    HAVE_DRI || HAVE_DRIX not specified.
    
    Acked-by: David Heidelberg <[email protected]>
    Signed-off-by: Vincent Davis Jr <[email protected]>
    (cherry picked from commit 842ca284650f066e58706741a7d22d67b5088e60)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20821>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4edf52da3d0d3a8807181e23a4330fb687716d94
Author: Chia-I Wu <[email protected]>
Date:   Fri Feb 10 16:39:46 2023 -0800

    radv: fix a hang with binning on CHIP_RENOIR
    
    Using (6, 16) for (context_states_per_bin, persistent_states_per_bin)
    causes gpu hang in RDR2 benchmark on CHIP_RENOIR.  Follow radeonsi and
    use (3, 8) instead.
    
    (cherry picked from commit 4e03cfa3c65f39188d71a26ea55e507eab0b7796)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21302>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4367c9eef8785b790dae37de1f646c1519e4a9e4
Author: Sil Vilerino <[email protected]>
Date:   Wed Feb 8 12:04:03 2023 -0500

    d3d12: Video Encode - Fix ID3D12CommandAllocator leak
    
    Reviewed-by: Jesse Natalie <[email protected]>
    (cherry picked from commit 727afda21f5a748768ce3e21e9da8c0b4c350654)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21312>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=960c5906439589dbe0860193b6fb8d0fb60ddfea
Author: Alan Coopersmith <[email protected]>
Date:   Fri Feb 3 13:12:38 2023 -0800

    util/disk_cache: Handle OS'es without d_type in struct dirent
    
    Needed to build on Solaris
    
    Fixes: f58e6fee745 ("util/disk_cache: delete more cache items in one go 
when full")
    Signed-off-by: Alan Coopersmith <[email protected]>
    Reviewed-by: Eric Engestrom <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21110>
    (cherry picked from commit 289eb50abf89289af7cd76fa948d33c5cb5b28bf)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a5d669479e74e798d4f75d37fbda2666202b2e3
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 8 15:36:51 2023 -0500

    zink: always use NEAREST for zs blits
    
    LINEAR is illegal, and swapping filtering at this point still
    seems to be conformant given questionable GL spec requirements for
    LINEAR zs filtering
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21203>
    (cherry picked from commit 067545eb9af79414054e4bef3ab48af003758663)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a558cbb128fbd882f794394ce07ab4a3c08ac31
Author: SoroushIMG <[email protected]>
Date:   Mon Feb 13 14:38:26 2023 +0000

    zink: free resource objects' views array during destruction
    
    since the array is not ralloc managed, it has be explicitly freed.
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21285>
    (cherry picked from commit 96849363eba081321176f8ad3ce303677a531eae)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=973758c14c51879db27def3330b6e6b05a6c39ed
Author: SoroushIMG <[email protected]>
Date:   Sun Feb 12 17:05:15 2023 +0000

    zink: allocate program shader caches from the program's mem ctx
    
    these will now be freed when the program itself is freed.
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21285>
    (cherry picked from commit b3ed037ca8d8cb28deb9a160411257d54c57f8e1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b5ada45d096103bf8fe2af8f4adaa09db4e55c2
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 10 09:36:30 2023 -0500

    zink: fix descriptor pool free iterating
    
    these arrays are sparsely allocated, and using pop() on them will
    fail to access some elements
    
    Fixes: cf7c17a7af3 ("zink: rework descriptor pool overflow")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21246>
    (cherry picked from commit ffd91ee7a87f588ea9d1f2f6ced4a59bde142cb2)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=371d727ba04ee741e208ad4dac67a475386f58ea
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 10 09:01:48 2023 -0500

    zink: sync LTO compiles for GPL pipelines on shader free
    
    this avoids invalid access
    
    affects:
    KHR-Single-GL46.arrays_of_arrays_gl.InteractionStorageBuffers2
    
    Fixes: 41ffb15de56 ("zink: implement async gfx precompile")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21246>
    (cherry picked from commit 16c019142ba449818623e0af08b1fb4ceec51ef3)
    
    Conflicts:
        src/gallium/drivers/zink/zink_compiler.c

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cccaffa0f1bd4ecde3c14d9a0572e14a290073bd
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Feb 9 16:10:56 2023 -0500

    zink: unref image buffer descriptors on unbind
    
    Fixes: 7ab5c5d36d2 ("zink: use EXT_descriptor_buffer with 
ZINK_DESCRIPTORS=db")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21229>
    (cherry picked from commit 128192bffb85226cfd434bb1ae28724514048e68)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=51c6a868a5dd5f9069a49d2e21c480dbeaee7f5a
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Feb 9 15:53:32 2023 -0500

    zink: unset gfx shader read when unbinding shader images
    
    this otherwise will never be unset
    
    Fixes: 50e764fa50d ("zink: track gfx/compute descriptor barrier info")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21229>
    (cherry picked from commit ee53b07c0ab16c0944cd96e3dc5d4d49d9198bac)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=27f9e5cf930a4110f87e40b7de307f6d193bcc9a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 10 08:20:01 2023 -0500

    zink: add newlines to some debug printfs
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21239>
    (cherry picked from commit cd446b87e1f5ec2c5f1273627c611325595d1971)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2042faafdc7286a1ffafffd026a8c03b4f70d26b
Author: SoroushIMG <[email protected]>
Date:   Thu Nov 10 22:46:49 2022 +0000

    zink: relax bresenhamLines requirement for non-strictLine drivers
    
    non-strictLine Vulkan drivers use either parallelogram or bresenham
    rasterization for default line modes.
    This method of rasterisation produces close enough results that it
    in practice is GL/GLES spec compliant (at least cts wise).
    Don't emit a feature missing warning for this case.
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20985>
    (cherry picked from commit f7b2dbb2bdc366dd294407c5653654ad6059e2ac)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78c325d34641456cf36d901d1b2767ee4833d2f0
Author: Lionel Landwerlin <[email protected]>
Date:   Mon Feb 13 09:18:28 2023 +0200

    anv/hasvk: handle a SAMPLED_READ/STORAGE_READ access flags
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Cc: mesa-stable
    Reviewed-by: Faith Ekstrand <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21277>
    (cherry picked from commit eb5d7056e04460be3b1152234ea7c8c21104fe04)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=81091996a60262beb6c1c74ec4340950da28016a
Author: Hans-Kristian Arntzen <[email protected]>
Date:   Sun Feb 12 16:20:26 2023 +0100

    radv: Implement VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT.
    
    Signed-off-by: Hans-Kristian Arntzen <[email protected]>
    Fixes: 46e0c77 ("radv: implement VK_EXT_descriptor_buffer")
    Co-authored-by: Georg Lehmann <[email protected]>
    Reviewed-by: Timur Kristóf <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21271>
    (cherry picked from commit e40ed0f88b58133a90532830dc9d38fe676a7898)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7646514b0eb7b63bbe35302421b702f9c3224900
Author: Hans-Kristian Arntzen <[email protected]>
Date:   Sun Feb 12 16:02:26 2023 +0100

    radv: Fix missing VK_ACCESS_2_SHADER_SAMPLED_READ_BIT.
    
    Cannot be used for SSBO, so ignore SCACHE invalidation.
    
    Signed-off-by: Hans-Kristian Arntzen <[email protected]>
    Fixes: 8df17163c78 ("radv: implement vkCmdWaitEvents2KHR")
    Reviewed-by: Timur Kristóf <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21271>
    (cherry picked from commit 7efabfbbe4f5ae442e62803a7e173bd2bf20001a)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f477ac5b3abe901840a8292d8fa2f5e120ccd56
Author: Hans-Kristian Arntzen <[email protected]>
Date:   Sun Feb 12 15:40:31 2023 +0100

    radv: Fix invalid 64-bit shift.
    
    For sync2 bits, overflow can happen.
    Use BITFIELD64_BIT to align with ANV.
    
    Signed-off-by: Hans-Kristian Arntzen <[email protected]>
    Fixes: 8df17163c78 ("radv: implement vkCmdWaitEvents2KHR")
    Reviewed-by: Timur Kristóf <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21271>
    (cherry picked from commit 97aa8d9547ec00109853f1a4a43e4abfad7f6aa7)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=67b957b0a4f9e7984e3c03eb32c70014351c2212
Author: Michel Dänzer <[email protected]>
Date:   Wed Feb 8 17:36:35 2023 +0100

    glsl/standalone: Do not pass memory allocated with ralloc_size to free
    
    Pointed out by GCC:
    
    In function ‘load_text_file’,
        inlined from ‘standalone_compile_shader’ at 
../src/compiler/glsl/standalone.cpp:491:38,
        inlined from ‘main’ at ../src/compiler/glsl/main.cpp:98:45:
    ../src/compiler/glsl/standalone.cpp:358:17: error: ‘free’ called on pointer 
‘block_195’ with nonzero offset 48 [-Werror=free-nonheap-object]
      358 |             free(text);
          |                 ^
    In function ‘ralloc_size’,
        inlined from ‘load_text_file’ at 
../src/compiler/glsl/standalone.cpp:352:31,
        inlined from ‘standalone_compile_shader’ at 
../src/compiler/glsl/standalone.cpp:491:38,
        inlined from ‘main’ at ../src/compiler/glsl/main.cpp:98:45:
    ../src/util/ralloc.c:117:18: note: returned from ‘malloc’
      117 |    void *block = malloc(align64(size + sizeof(ralloc_header),
          |                  ^
    
    Fixes: a9696e79fb3a ("main: Close memory leak of shader string from 
load_text_file.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21215>
    (cherry picked from commit 49a6bdde8ef1da38df3f15e8478c8cad116eab46)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f34f0a0c203d684e8928a3b6df36f714e608f4ee
Author: Michel Dänzer <[email protected]>
Date:   Wed Feb 8 16:48:43 2023 +0100

    glsl/standalone: Fix up _mesa_reference_shader_program_data signature
    
    Drop the unused ctx parameter, to match the main Mesa code.
    
    Fixes ODR violation flagged by -Wodr with LTO enabled:
    
    ../src/mesa/main/shaderobj.h:74:1: error: 
‘_mesa_reference_shader_program_data’ violates the C++ One Definition Rule 
[-Werror=odr]
       74 | _mesa_reference_shader_program_data(struct gl_shader_program_data 
**ptr,
          | ^
    ../src/compiler/glsl/standalone_scaffolding.cpp:76:1: note: type mismatch 
in parameter 1
       76 | _mesa_reference_shader_program_data(struct gl_context *ctx,
          | ^
    ../src/compiler/glsl/standalone_scaffolding.cpp:76:1: note: 
‘_mesa_reference_shader_program_data’ was previously declared here
    ../src/compiler/glsl/standalone_scaffolding.cpp:76:1: note: code may be 
misoptimized unless ‘-fno-strict-aliasing’ is used
    
    Fixes: 717a720e9c95 ("mesa: drop unused context parameter to shader program 
data reference.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21215>
    (cherry picked from commit bf67f32d4b4214ef23311b7ff5f1ef21ae84fa24)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e24e133d980e961f68a94e8c93fda37473ab5f4
Author: Bas Nieuwenhuizen <[email protected]>
Date:   Tue Jan 10 16:12:34 2023 +0100

    nir: Apply a maximum stack depth to avoid stack overflows.
    
    A stackless (or at least using allocated memory for stack) version
    might be nice but for now this works around some games compiling
    large shaders and hitting stack overflows.
    
    CC: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21231>
    (cherry picked from commit 0a17c3afc5e0491d7ea334241bb230c64a015f83)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=55d8d729e5c1763c73ba3e81ba8ed43425447414
Author: Sviatoslav Peleshko <[email protected]>
Date:   Thu Feb 9 17:56:32 2023 +0200

    anv: Handle VkAccelerationStructureBuildRangeInfoKHR::transformOffset
    
    Previously it was not actually handled. This meant that all geometries
    with the same transform buffer were using the same (first) transformation
    matrix.
    
    Fixes: f3ddfd81 ("anv: Build BVHs on the GPU with GRL")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7575
    Signed-off-by: Sviatoslav Peleshko <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21227>
    (cherry picked from commit 9b2ddd2c5ecd6b60752db3bb6d507611c8b6d9d8)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=edfb8a6c328d585aa7be546d0a53c10f01e40388
Author: Danylo Piliaiev <[email protected]>
Date:   Tue Feb 7 16:52:53 2023 +0100

    turnip: Disable draw states after dyn renderpass in all cases
    
    Draw states were not disabled after a dynamic renderpass which
    spans several command buffers, the next renderpass if started in
    the same command buffer wouldn't emit the full draw state,
    since TU_CMD_DIRTY_DRAW_STATE was not set by previous renderpass.
    
    The issue could be observed when corrupting all regs at cmdbuf start in:
     dEQP-VK.dynamic_rendering.primary_cmd_buff.random.seed7_geometry
    
    Fixes: cb0f414b2aed88f48b2593dad833844be2f5f42b
    ("tu: Add support for suspending and resuming renderpasses")
    
    Signed-off-by: Danylo Piliaiev <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21148>
    (cherry picked from commit 2d20564a6aaf8e5802ae1d3d425a4a496124b976)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=894c9564b234ece49066d57c9ddd16f2dda87571
Author: Danylo Piliaiev <[email protected]>
Date:   Mon Feb 6 14:56:35 2023 +0100

    tu: Prevent using stale value of GRAS_SC_CNTL in sysmem clear
    
    cc: mesa-stable
    
    Signed-off-by: Danylo Piliaiev <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21148>
    (cherry picked from commit 388e4ea7333972251dbe8ce91d15ad4001589f35)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a591eb9f70ea3f7d5b0505b88da574197ed0b974
Author: Danylo Piliaiev <[email protected]>
Date:   Fri Feb 3 17:02:52 2023 +0100

    tu: Prevent using stale value of RB_UNKNOWN_88D0 on BLIT
    
    Fixes: def56b531c86f529bc32d1834ccb479457717db7
    ("tu: Support GMEM with layered rendering and multiview")
    
    Signed-off-by: Danylo Piliaiev <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21148>
    (cherry picked from commit 981f1d88a18b552b5fbb2c524016dfdc481b8e46)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb2d4a09e9016a98e5ea0840da27a7f4fda52efe
Author: Eric Engestrom <[email protected]>
Date:   Wed Jan 18 18:50:39 2023 +0000

    panfrost: drop no-longer-needed libglsl
    
    Fixes: 551c2aadd4d85e922aa6 ("pan/bi: Remove standalone compiler")
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Signed-off-by: Eric Engestrom <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21240>
    (cherry picked from commit 5a2326f9b2c75f406ea2bc17a1074e7cfb7fe401)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e82390ad702d11302d0390556352088f936b234c
Author: Dave Airlie <[email protected]>
Date:   Thu Feb 9 12:59:53 2023 +1000

    crocus: disable Y tiling for render targets properly.
    
    The old code would disallow linear targets as well which would confuse
    things with reimporting dma-bufs.
    
    Fixes: 32728dc66e36 ("crocus: introduce main resource configuration 
helper.")
    Acked-by: Faith Ekstrand <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21209>
    (cherry picked from commit 6043f66dd3329c92681fc4be5a1e54e522c1cb80)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e682aca897fc1f48a972758e00365386b036e45c
Author: Tapani Pälli <[email protected]>
Date:   Wed Nov 23 09:22:36 2022 +0200

    iris: disable preemption for 3DPRIMITIVE during streamout
    
    This is required by Wa_16013994831.
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19947>
    (cherry picked from commit db6c374919ea16be6f9a6f96d5c9e866c62c556c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2175529deb6f18a0739e6f4eb07dd3a56253513a
Author: Lionel Landwerlin <[email protected]>
Date:   Wed Feb 8 14:11:07 2023 +0200

    intel/fs: fix mesh indirect movs
    
    The size in src[2] is in byte and needs to cover any possible data
    accessed in src[0] by the indirection. That way the register
    allocation is aware of what cannot be spilled for the instruction to
    execute on valid data.
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: 70ace2bbcd ("intel/compiler: Implement Task Output and Mesh Input")
    Reviewed-by: Marcin Ślusarz <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21188>
    (cherry picked from commit ebc4893947c187c1a3f28508053633edf7d314a2)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f4a189bbad6fabf19535c392af509814149e3ec
Author: Tatsuyuki Ishi <[email protected]>
Date:   Wed Feb 8 21:19:26 2023 +0900

    radv: Fix missing rbplus_allowed check for dynamic PS epilogs.
    
    This created really mysterious bugs on gfx10.
    
    Fixes flickering in a bunch of DXVK games, most visibly Overwatch 2.
    
    Fixes: eb07a11b8f4 ("radv: add support for compiling PS epilogs on-demand")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8258
    Reviewed-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21189>
    (cherry picked from commit a36efe3e196e4be6ce0a32f4ddd23864c550d73c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b509d4b4c2999ce08ea22b6747fe272d2cd5c0da
Author: Tapani Pälli <[email protected]>
Date:   Mon Feb 6 14:50:16 2023 +0200

    intel/blorp: disable REP16 for gfx12+ with R10G10B10_FLOAT_A2
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <[email protected]>
    Reviewed-by: Nanley Chery <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21137>
    (cherry picked from commit 88cadf145451b3a5fd89b5937238abf95821c5cf)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7c93849e58c3d8ea7d1476983b0aacb911a80b5
Author: Georg Lehmann <[email protected]>
Date:   Tue Feb 7 21:33:48 2023 +0100

    aco: don't allow output modifiers for v_cvt_pkrtz_f16_f32
    
    Cc: mesa-stable
    Reviewed-by: Rhys Perry <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21174>
    (cherry picked from commit b63aa2bb8ee6c6a255ea6d573b71af12d5dd166d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5f66f72cc847beca2c5bfe430ef6f65138813fa
Author: Timur Kristóf <[email protected]>
Date:   Wed Feb 1 13:07:42 2023 +0100

    ac/nir/ngg: Include culled primitives in query.
    
    Vulkan spec 18.8. Primitives Generated Queries:
    
    When a generated primitive query for a vertex stream is active,
    the primitives-generated count is incremented every time a
    primitive emitted to that stream reaches the transform feedback
    stage, whether or not transform feedback is active.
    
    We can see the order of stages in chapter 27 Fixed-Function
    Vertex Post-Processing, which shows that the transform feedback
    stage is before rasterization (and therefore culling).
    
    Conclusion is that culled primitives should be included
    in the primitives generated query.
    
    This commit makes sure to emit the primitives generated query
    code before culling and uses the input primitive count passed
    to the current wave instead of the exec mask after culling.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <[email protected]>
    Reviewed-by: Samuel Pitoiset <[email protected]>
    Reviewed-by: Qiang Yu <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21037>
    (cherry picked from commit 3a819bd22ec5a7eea2e0e337977cbc0af9e38032)
    (cherry picked from commit 18f0d33423b6635d0157a2eca46155ff0c2fe4b1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=27c1986b0179cd088e4973bded6d700328874be1
Author: Dylan Baker <[email protected]>
Date:   Fri Feb 10 06:08:29 2023 -0800

    .pick_status.json: Update to bd848ac92d9d77d72a1edb5645488639df91937e

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfb66993098ab508b932b5c37d1888e0bd7c2971
Author: Konstantin Seurer <[email protected]>
Date:   Tue Jan 31 17:03:15 2023 +0100

    radv: Fix creating accel structs with unbound buffers
    
    If the buffer hasn't been bound to memory yet, we will dereference a
    NULL pointer in radv_CreateAccelerationStructureKHR.
    
    cc: mesa-stable
    
    Closes: #8199
    Reviewed-by: Friedrich Vock <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21221>

Reply via email to