[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][upstream-unstable] 118 commits: docs: add sha sum for 25.0.5



Title: GitLab

Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / mesa

Commits:

  • 5db4facf
    by Eric Engestrom at 2025-04-30T19:31:46+02:00
    docs: add sha sum for 25.0.5
    
  • 73481cb3
    by Eric Engestrom at 2025-05-14T18:03:21+02:00
    .pick_status.json: Update to e7a7d9ea2e2e48171fad131a7bfa7576e02ea4e0
    
  • fb636331
    by Sagar Ghuge at 2025-05-14T18:03:32+02:00
    intel/compiler: Fix stackIDs on Xe2+
    
    For Xe2+, from Bspec 64643, bit field "StackID": The maximum number of
    StackIDs can be 2^12- 1.
    
    Cc: mesa-stable
    Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34709>
    (cherry picked from commit 821c1bfa7e1776177b0323b1d8d4b44f32361f91)
    
  • 9a7b1304
    by Mel Henning at 2025-05-14T18:03:32+02:00
    nak: Remove hfma2 src 1 modifiers
    
    This fixes a compilation issue in Marvel Rivals where the legalization
    logic and the encoding logic don't line up, which results in an
    assertion failure on this instruction:
    
        r17 = hfma2 r17.xx -r18.xx 0x3c003c00
    
    The fix here is a little overly restrictive because it turns out we
    actually do have modifiers for all 3 sources. Those modifiers will
    be added in later commits.
    
    Fixes: 567cae69c3ef ("nak: Add 16-bits float operations")
    Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34750>
    (cherry picked from commit 1ff7135691d9fd3e0135ef5a13f6c95ad259094c)
    
  • 13d50cfb
    by Karmjit Mahil at 2025-05-14T18:03:32+02:00
    tu: Fix segfault in fail_submit KGSL path
    
    Fixes: ec268fa5b66 ("tu/kgsl: Support u_trace and perfetto")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34749>
    (cherry picked from commit 9dfd4a091c83d7a393f3ceac0607cc71e5df0ae8)
    
  • cbc3b69d
    by Eric Engestrom at 2025-05-14T18:03:32+02:00
    .pick_status.json: Mark eeffb4e674d10db9aefebeca91c2d87c1676b81e as denominated
    
  • 162f668a
    by Connor Abbott at 2025-05-14T18:03:32+02:00
    freedreno: Add compute_lb_size device info
    
    This is really a guess except for a6xx and later, however it shouldn't
    change behavior from before.
    
    Fixes: 5879eaac185 ("ir3: Increase compute const size on a7xx")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34746>
    (cherry picked from commit 156ab5839d045ea291a47789014ce61ddbad0804)
    
  • f6303aac
    by Connor Abbott at 2025-05-14T18:03:32+02:00
    freedreno/a6xx: Define CONSTANTRAMMODE
    
    While we're here, give SP_CS_UNKNOWN_A9B1 a better name.
    
    Fixes: 5879eaac185 ("ir3: Increase compute const size on a7xx")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34746>
    (cherry picked from commit 57986ae5ec57820e4e06d7674f1496de58f4fd0e)
    
  • 6a2668c1
    by Connor Abbott at 2025-05-14T18:03:32+02:00
    freedreno/a6xx, turnip: Set CONSTANTRAMMODE correctly
    
    This should fix hangs when using more than 256 constants on a7xx.
    
    Fixes: 5879eaac185 ("ir3: Increase compute const size on a7xx")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34746>
    (cherry picked from commit 80bcbc0e924f7e021bcca155fa12501a2d6fb467)
    
  • 69bf3fd9
    by Connor Abbott at 2025-05-14T18:03:33+02:00
    ir3: Take LB restriction on constlen into account on a7xx
    
    On a7xx, the max constlen for compute is increased to 512 vec4s or 8KB,
    however the size of the LB was not increased beyond 40KB. A quick
    calculation shows that 8KB of consts multiplied by 2 banks plus the
    API maximum of 32KB shared memory would exceed 40KB. This means that
    we can't always use a constlen of 512, and sometimes have to fall back
    to 256 when a lot of shared memory is in use.
    
    In the future, we can use similar calculations to figure out how much
    "extra" shared memory is available for the backend to spill to, but we
    currently don't support spilling to shared memory.
    
    Fixes: 5879eaac185 ("ir3: Increase compute const size on a7xx")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34746>
    (cherry picked from commit ea9d694a7b363d66dd9e57bc0f55c5fd903632b2)
    
  • d6726769
    by Mike Blumenkrantz at 2025-05-14T18:03:33+02:00
    egl: fix sw fallback rejection in non-sw EGL_PLATFORM=device
    
    previously progress could still be made during sw fallback here,
    which would lead to unpredictable results with driver loading e.g., crashing
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34609>
    (cherry picked from commit 8a339cdebccdea0610bdd7a1ecc9a5ec63951940)
    
  • 493e8447
    by Karol Herbst at 2025-05-14T18:03:33+02:00
    r600: fix r600_buffer_from_user_memory for rusticl
    
    Not entirely sure if it's actually required, but this makes it consistence
    with r600_resource_create also calling r600_compute_global_buffer_create
    for global memory buffers.
    
    Cc: mesa-stable
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Patrick Lerda <patrick9876@free.fr>
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34623>
    (cherry picked from commit f6e3c967d9a1f1c680613d53306a415afb977247)
    
  • ac96c18f
    by Paul Gofman at 2025-05-14T18:03:33+02:00
    radv/amdgpu: Fix hash key in radv_amdgpu_winsys_destroy().
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34774>
    (cherry picked from commit 96765935e83d6014e2d5f49b4b859afdfd5cb236)
    
  • b029a79b
    by Lionel Landwerlin at 2025-05-14T18:03:33+02:00
    anv: force fragment shader execution when occlusion queries are active
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34732>
    (cherry picked from commit f7bc22e0d726d60a911270ea08fad36d8a52605c)
    
  • 160d1eb6
    by Lionel Landwerlin at 2025-05-14T18:03:33+02:00
    intel: fix null render target setup logic
    
    Or current render target cache setting is to key on the binding table
    index, meaning the HW associates a number in the range [0, 7] to a
    RENDER_SURFACE_STATE description. If you want change the render target
    0 between 2 draw calls, you need to insert a PIPE_CONTROL in between
    the 2 draw calls with pb-stall + rt-flush in order to flush an writes
    to a previous RENDER_SURFACE_STATE that has now becomed disassociated
    with the [0, 7] number.
    
    This PIPE_CONTROL taking care of the flush is dealt with in
    cmd_buffer_maybe_flush_rt_writes(). This function diffs the current
    BTI setup for render targets (first 0 to 7 BTIs) with what the next
    fragment shader wants.
    
    The issue here is we might have a render pass with 0 color attachments
    and yet in 98cdb9349a we added one pointing to the render target 0,
    but in the emit_binding_table() when we finally program the BTI, we
    check the render pass color count and program a null surface state
    instead of an actual surface state. And this leads to hangs because
    the render target cache will end up with inconsistent state data.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 98cdb9349a ("anv: ensure null-rt bit in compiler isn't used when there is ds attachment")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12955
    Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34603>
    (cherry picked from commit 63f633557ff53726b7bc8e2292f330ace8624be0)
    
  • 78d8ff86
    by José Roberto de Souza at 2025-05-14T18:03:33+02:00
    intel/tools: Fix batch buffer decoder
    
    intel_decoder_init() initializes intel_batch_decode_ctx so later
    we can call decode functions but it depends on data stored in
    brw/elk_isa_info but that was being allocated in stack
    of intel_decoder_init() then when the decode functions were executed
    it was accessing garbage at the brw/elk_isa_info memory.
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: ec2d20a70d01 ("intel/tools: Add helpers for decoder_init/disasm")
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34776>
    (cherry picked from commit 3e5a735d01700163d25b1c00ee05b97644da9cf2)
    
  • 779d8cb8
    by Rhys Perry at 2025-05-14T18:03:33+02:00
    aco: swap the correct v_mov_b32 if there are two of them
    
    Previously, this function tried to swap the instruction which is not
    v_mov_b32, so that it doesn't introduce any new OPY-only instructions. If
    both were v_mov_b32, it swapped Y. Since this makes Y opy-only, this can't
    be done if X is also opy-only.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Fixes: 408fa33c0928 ("aco/gfx12: don't use second VALU for VOPD's OPX if there is a WaR")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13101
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34841>
    (cherry picked from commit 9ca71b52aa5bc2eda1f08149f7780e59858ee27b)
    
  • 0d0cdff6
    by Timothy Arceri at 2025-05-14T18:03:33+02:00
    util/driconf: add force_gl_depth_component_type_int workaround
    
    This allow us to force mesa to use GL_UNSIGNED_INT rather than
    GL_UNSIGNED_SHORT for when chosing the texture format for
    GL_DEPTH_COMPONENT. The increased depth precision allows us to
    match the Nvidia/AMD closed drivers default behaviour.
    
    Here we also enable the workaround for the remastered tombraider
    games.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13032
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34752>
    (cherry picked from commit e0a111540f0f54c7ff0f0d0b046f184f033008f7)
    
  • 1e5005df
    by Samuel Pitoiset at 2025-05-14T18:03:33+02:00
    radv: do not clear unwritten color attachments with dual-source blending
    
    This is incorrect because the color format at slot 0 needs to be
    replicated to the slot 1. But with dual-source blending the colors
    written mask is only 0xf and this was clearing the color format at
    slot 1.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13082
    Fixes: e1483d022b2 ("radv: clear unwritten color attachments for monolithic PS earlier")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34773>
    (cherry picked from commit 55ad0fd35c600538150f4c94ca2f03024cb0076b)
    
  • 231a808f
    by Samuel Pitoiset at 2025-05-14T18:03:33+02:00
    radv: disable SINGLE clear codes to workaround a hw bug with DCC on GFX11
    
    This fixes a very weird cache-related corruption with DCC on GFX11 due
    to a hw bug according to PAL.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12932
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34790>
    (cherry picked from commit 1356d2004287354fdd959f495097ad6be4a34dcb)
    
  • cedd447a
    by Samuel Pitoiset at 2025-05-14T18:03:34+02:00
    radv: fix GPU hangs with image copies for ASTC/ETC2 formats on transfer queue
    
    Emitting compute dispatches on SDMA just hangs. It might be needed
    to switch to gang submit for these to work but fixing the GPU hang is
    more important for now.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34805>
    (cherry picked from commit 0684dc5fa89287504cb086450a55df3ca946dba5)
    
  • 9290ce48
    by Karol Herbst at 2025-05-14T18:03:34+02:00
    iris: parse global bindings for every gen
    
    This fixes OpenCL support on gen 12.5+
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34548>
    (cherry picked from commit 57ccfd0502953124df1d245d1a4e529c0fe8661c)
    
  • bffcd04b
    by Karol Herbst at 2025-05-14T18:03:34+02:00
    iris/xe: fix compute shader start address
    
    It needs to apply the offset so it selects the correct SIMD shader.
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34548>
    (cherry picked from commit fee9230bb518e9a688e65e6125d9cbe4f8ad8cff)
    
  • dae61422
    by Karol Herbst at 2025-05-14T18:03:34+02:00
    iris/xe: take the grids variable_shared_mem into account
    
    This fixes OpenCL local memory kernel arguments.
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34548>
    (cherry picked from commit 7c78c76181db01790163a1b720fbf1137b2b3499)
    
  • 99db6195
    by Mel Henning at 2025-05-14T18:03:34+02:00
    nak: Add Src::is_unmodified() helper
    
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Fixes: bad23ddb48 ("nak: Add F16 and F16v2 sources")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34794>
    (cherry picked from commit 6e72f0f81b05a02341fb68c9d6de96c33ec5ca96)
    
  • 12de3a24
    by Mel Henning at 2025-05-14T19:04:29+02:00
    nak: Check that swizzles are none
    
    wherever we check that src_mod is none.
    
    This commit simply does:
    s/src_mod.is_none()/is_unmodified()/
    across all of nak except the definition of is_unmodified() itself.
    
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Fixes: bad23ddb48 ("nak: Add F16 and F16v2 sources")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34794>
    (cherry picked from commit 9d1c38ddf11202805ac8e281ddd34940f8ad68a6)
    
  • 7826d7c4
    by Faith Ekstrand at 2025-05-14T19:04:29+02:00
    nak: Set lower_pack_64_4x16
    
    Otherwise, these can cause infinite loops in optimization because there
    aren't _split variants and the optimizer tries to combine and split
    things infinitely.
    
    Reviewed-by: Mel Henning <drawoc@darkrefraction.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34849>
    (cherry picked from commit efd1cddbe90f4af26716adfb6a6cc12eca1d71b3)
    
  • d30b008f
    by Konstantin Seurer at 2025-05-14T19:04:29+02:00
    radv: Return VK_ERROR_INCOMPATIBLE_DRIVER for unsupported devices
    
    VK_ERROR_INITIALIZATION_FAILED will fail physical device enumeration.
    Returning VK_ERROR_INCOMPATIBLE_DRIVER means that the driver can still
    be used on supported GPUs when multiple GPUs are installed.
    
    cc: mesa-stable
    
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34783>
    (cherry picked from commit 84b9c281fe82dd66f2552687cecb61a8e22809d0)
    
  • 1a4f9e6c
    by Sagar Ghuge at 2025-05-14T19:04:29+02:00
    anv: Fix untyped data port cache pipe control dump output
    
    Fixes: 845ab3d62799
    Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34855>
    (cherry picked from commit bb61a7891141cc7bbb33bfb78f870a12f7e728c0)
    
  • fe40642c
    by Timothy Arceri at 2025-05-14T19:04:29+02:00
    mesa: fix color material tracking
    
    f6c8ca06 changed this code to only set color materials mask when
    the VERT_BIT_COLOR0 bit is set instead of when color material
    is enabled. But this meant we always skipped over the
    STATE_CURRENT_ATTRIB values.
    
    Fixes: f6c8ca06f649 ("mesa: fix material inputs in ffvertex_prog.c")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7122
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34833>
    (cherry picked from commit 600892802d3c162e7547ff3cde77369a6dd6a5a4)
    
  • 5e0a552f
    by Lionel Landwerlin at 2025-05-14T19:04:29+02:00
    vulkan/runtime: fixup assert with link_geom_stages
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 9308e8d90d ("vulkan: Add generic graphics and compute VkPipeline implementations")
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34874>
    (cherry picked from commit 565ac1ee6ad26ba222fafce52da18a8fa4e8976e)
    
  • 3295247e
    by Samuel Pitoiset at 2025-05-14T19:04:29+02:00
    radv: ignore radv_disable_dcc_stores on GFX12
    
    It's not necessary because DCC is completely transparent to the
    userspace driver. Also it's causing issues with scanout.
    
    This fixes rendering issues with scanout in Indiana Jones.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12924
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34859>
    (cherry picked from commit b7d2cdd2b42c4a25eca42b609abb91db00013042)
    
  • ecf46edd
    by Gurchetan Singh at 2025-05-14T19:04:29+02:00
    gfxstream: make sure by default descriptor is negative
    
    Otherwise, another valid fd may be closed.
    
    Cc: mesa-stable
    Reviewed-by: Aaron Ruby <aruby@qnx.com
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34885>
    (cherry picked from commit 03a35024a6dae02cc1e03245d3ac8aea4756c39a)
    
  • e4d9320d
    by Robert Mader at 2025-05-14T19:04:29+02:00
    llvmpipe: Fix dmabuf import paths for DRM_FORMAT_YUYV variants
    
    Right now llvmpipe only successfully supports single-plane formats,
    limiting the number of supported YCbCr formats to a relatively small
    number.
    
    The implicit support for R8G8_R8B8 style subsampled RGB formats
    causes the most common ones, YUYV and its variants, to chain up
    to to lp_build_fetch_subsampled_rgba_aos() when importing (u)dmabufs
    with EXT_image_dma_buf_import.
    This code path currently has at least the following issues:
    1. It doesn't support the YVYU/PIPE_FORMAT_R8B8_R8G8_UNORM and
        VYUY/PIPE_FORMAT_B8R8_G8R8_UNORM, resulting in asserts/crashes.
    2. The supported cases, YUYV and UYVY, end up with sub-optimal results
        as they always return BT.601/narrow results, ignoring
        EGL_YUV_COLOR_SPACE_HINT_EXT and EGL_SAMPLE_RANGE_HINT_EXT.
    
    Stopping advertising support for those formats, as well as native support
    for PIPE_FORMAT_YUYV and PIPE_FORMAT_UYVY, results in all four variants
    taking fallback paths which happen to be much better supported.
    
    An additional effect is that YUYV and UYVY are correctly advertised as
    external only.
    
    Cc: mesa-stable
    Signed-off-by: Robert Mader <robert.mader@collabora.com>
    Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34775>
    (cherry picked from commit 4051d4ef590aae94330ad95702b17b5d756e2f7a)
    
  • ed0d06d7
    by David Rosca at 2025-05-14T19:04:29+02:00
    frontends/vdpau: Fix creating surfaces with 422 chroma
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13103
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34831>
    (cherry picked from commit f8042fa9268698815a33f28245d9d31ca19da263)
    
  • 2da50834
    by Marek Olšák at 2025-05-14T19:04:30+02:00
    nir/opt_vectorize_io: fix a failure when vectorizing different bit sizes
    
    Fixes: 2514999c9c5 - nir: add nir_opt_vectorize_io, vectorizing lowered IO
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13085
    
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34897>
    (cherry picked from commit dbef8f1791cc79da4eef6a5a78c30ae286a7ca4a)
    
  • 684d6f0d
    by Lars-Ivar Hesselberg Simonsen at 2025-05-14T19:04:30+02:00
    pan/texture: Correctly handle slice stride for MSAA
    
    Currently, we will always be setting the slice stride in the plane
    descriptor to the surface stride, as the check for multisampling is true
    even for single sampled surfaces.
    
    This change fixes this check.
    
    Fixes: db20152c8a8 ("panfrost: Handle Valhall texturing")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>
    (cherry picked from commit cc58e30847a84d699c107b14fddc6624dd1b2243)
    
  • 706783e9
    by Lars-Ivar Hesselberg Simonsen at 2025-05-14T19:04:30+02:00
    pan/texture: Set plane size to slice size
    
    Rather than setting the plane size to the full allocation minus the
    current offset, set it to the actual size of the plane.
    
    Fixes: db20152c8a8 ("panfrost: Handle Valhall texturing")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>
    (cherry picked from commit 6a9a4b3eef9a548249287e2bd91bd39e5ccc4d92)
    
  • fa1f1d83
    by Lars-Ivar Hesselberg Simonsen at 2025-05-14T19:04:30+02:00
    pan/genxml/v10: Add minus1 mod for plane width/height
    
    The width/height fields in the plane descriptors for v10 are missing
    their minus(1) modifiers.
    
    This change adds the missing modifiers, which implies also setting
    default values to 1 due to how the Two-Plane YUV Overlay interacts with
    the plane descriptors.
    
    Fixes: 486c3417691 ("panfrost: Add architecture description XML for v10")
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>
    (cherry picked from commit 254285725939c3c79cf8ef028d21d8eefa8b7cd0)
    
  • 7f17f1f0
    by Lars-Ivar Hesselberg Simonsen at 2025-05-14T19:04:30+02:00
    pan/texture/v10+: Set width/height in the plane descs
    
    We're currently not setting the v10+ width/height in the plane
    descriptors. This change ensures we do.
    
    Backport-to: 25.0
    Backport-to: 25.1
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>
    (cherry picked from commit e2aa0b756691dc7a0d2f3fed9a7c3d4e4db913e8)
    
  • 3936208f
    by Rhys Perry at 2025-05-14T19:04:30+02:00
    ac/llvm: correctly split vector 8/16-bit stores
    
    This assumes that the start of the load is 32-bit aligned.
    
    For example, a vec3 16-bit store with align_offset=2 should split off the
    first component, not the last.
    
    This probably also fixed splitting with 8-bit stores.
    
    Fixes arb_copy_buffer-overlap
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Tested-by: Michel Dänzer <mdaenzer@redhat.com>
    Backport-to: 25.0
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34903>
    (cherry picked from commit c1ecad2b1156625714a32c00f55597921ab8f642)
    
  • 161e3d94
    by Rhys Perry at 2025-05-14T19:04:30+02:00
    ac/llvm: correctly set alignment of vector global load/store
    
    For coherent/volatile access, this would be too high for vector access.
    
    Even when we didn't set the alignment, LLVM seemed to assume too high of
    an alignment for 8/16-bit vector access.
    
    Fixes generated_tests/cl/vload/vload-char-constant.cl
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Tested-by: Michel Dänzer <mdaenzer@redhat.com>
    Backport-to: 25.0
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34903>
    (cherry picked from commit d0a09b6ff7243a8e49dc192f43365c122a625c26)
    
  • 4ad08d90
    by Matthieu Oechslin at 2025-05-14T19:04:30+02:00
    r600: Take dual source blending in account when creating target mask with RATs
    
    This is properly checked when filling CB_... registers in
    evergreen_emit_image_state(), but not when generating CB_TARGET_MASK.
    It would lead to an invalid command steam if a fragment shader
    uses SSBO/Image load/store alongside dual source blending.
    
    Acked-by: Patrick Lerda <patrick9876@free.fr>
    Fixes: a6b379284365
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/622
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34333>
    (cherry picked from commit 4e68e422e0da53e022fbf1b4f0716e5ee7a50ed6)
    
  • ee0984f8
    by Mike Blumenkrantz at 2025-05-14T19:04:30+02:00
    zink: fix broken comparison for dummy pipe surface sizing
    
    this should create a new surface if the existing one is too small,
    not if it is too big
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34933>
    (cherry picked from commit ef63e3e4d211e491164fea8ec494fdf7ca71d9c8)
    
  • aaf531dc
    by Marek Olšák at 2025-05-14T19:04:30+02:00
    nir: fix gathering color interp modes in nir_lower_color_inputs
    
    Fixes: 709ebd82 ("amd: expose nir_io_mix_convergent_flat_with_interpolated")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12800
    
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34942>
    (cherry picked from commit a1ee6d6730ed72f063b56bd98fc658971f4df1e3)
    
  • 7605ff03
    by Samuel Pitoiset at 2025-05-14T19:04:30+02:00
    radv: fix SDMA copies for linear 96-bits formats
    
    The hardware requires a power of two bpe. To do that, the driver
    needs to adjust the pitch/offset/extent based on a texel scale factor
    which only applies to 96-bits formats.
    
    This fixes new VKCTS coverage.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34927>
    (cherry picked from commit 4b73d7e8174faf7cc9bfa351befc637ffe2e53c1)
    
  • 139c0689
    by Tapani Pälli at 2025-05-14T19:04:30+02:00
    mesa: add missing stencil formats to _mesa_is_stencil_format
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13070
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34931>
    (cherry picked from commit 720dae85f20c77c0feacd26d8881e5c2f65253d2)
    
  • 63e9748a
    by Eric Engestrom at 2025-05-14T19:04:30+02:00
    .pick_status.json: Mark 4b76d04f7f3348838239f184e68141df6409b67a as denominated
    
  • 4c95ff61
    by Natalie Vock at 2025-05-14T19:04:31+02:00
    radv,driconf: Add radv_force_64k_sparse_alignment config
    
    Needed by DOOM: The Dark Ages.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34944>
    (cherry picked from commit e32a90b57c8fb1e40f4f3050219213c9ba47c94c)
    
  • 45235bf7
    by Natalie Vock at 2025-05-14T19:04:31+02:00
    driconf: Add workarounds for DOOM: The Dark Ages
    
    Like other idTech games, it needs radv_zero_vram and
    radv_disable_dedicated_sparse_queue. It also needs
    radv_force_64k_sparse_alignment.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34944>
    (cherry picked from commit 4339cf0aff0d23d70a9acb6adbc92ac35a542611)
    
  • 30367ce2
    by David Rosca at 2025-05-14T19:04:31+02:00
    ac/uvd: Add ac_uvd_alloc_stream_handle
    
    Cc: mesa-stable
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34807>
    (cherry picked from commit 69455e82088fa2e0d9c95706bbb628035360274e)
    
  • 63b0a527
    by David Rosca at 2025-05-14T19:04:31+02:00
    radv/video: Use ac_uvd_alloc_stream_handle
    
    ac_uvd_alloc_stream_handle tries to avoid collisions in the case
    when PID is not unique (eg. in sandboxes like Flatpak).
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12607
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34807>
    (cherry picked from commit 5fee04bcae2f475f2e50b28e8712fb0ade72cb28)
    
  • db4b914b
    by Samuel Pitoiset at 2025-05-14T19:04:31+02:00
    radv: fix emitting dynamic viewports/scissors when the count is static
    
    In a scenario where the viewports/scissors are a dynamic state but the
    count is static (ie. updated when a graphics pipeline is bound), the
    driver wasn't considering that and it was re-emitting the previous
    number of viewports/scissors.
    
    This fixes rendering issue with Blender.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13127
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34921>
    (cherry picked from commit 9a07ccbc89711274e6c8b74eee6f3420b796d80d)
    
  • 7b3e432d
    by Samuel Pitoiset at 2025-05-14T19:04:31+02:00
    radv: remove the optimization for equal immutable samplers
    
    This optimization used to optimize the allocated space for descriptors
    when immutable samplers are equal. Though, this was basically broken :
    
    - descriptor copies were broken for combiner image sampler (or sampler)
      with equal immutable samplers because 96 bytes were copied instead of
      64 bytes (cf. the linked ticket). This could be fixed but it's not
      worth it.
    - the value returned by vkGetDescriptorLayoutSupport() was broken, it
      should have been 96 with no immutable samplers (or when they aren't
      equal)
    
    This optimization was also not applied for descriptor buffers which is
    the default for vkd3d-proton and Zink. DXVK doesn't use db but it
    doesn't use immutable samplers, so basically only native vulkan games
    would be concerned.
    
    Note that immutable samplers would still be inlined in shaders if no
    indirect access which should be 99.9% of the usecase.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11165
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34928>
    (cherry picked from commit 69ff204422b6eb474bd165177492f0c71017b5ed)
    
  • 349353dd
    by Thomas H.P. Andersen at 2025-05-14T19:04:31+02:00
    driconf: update X4 Foundations executable name
    
    'X4.exe' is the executable. But there is also a script 'X4' that is used to
    launch the game. This script is what steam uses.
    This updates driconf to match that.
    This also brings the executable in line with other configs for the game.
    
    Fixes: 5532f135664c ("driconf: override vendor id for X4 Foundations on NVK")
    Fixes: 8654a7727f87 ("driconf: set vk_zero_vram driconf for X4 Foundations")
    Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34168>
    (cherry picked from commit a87c9bc49ee426514eb617e048413ae663586f8b)
    
  • ab1edf76
    by Timothy Arceri at 2025-05-14T19:04:31+02:00
    mesa: relax EXT_texture_integer validation
    
    This updates mesa to avoid throwing an error if an attached fbo
    wont actually be drawn into.
    
    Fixes: 705978e2831e ("mesa: do integer FB / shader validation check in _mesa_valid_to_render()")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13144
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34949>
    (cherry picked from commit 1d4ebe79b5be5d32b9900ed8dd726104c1fc8888)
    
  • 64ef2406
    by Eric Engestrom at 2025-05-14T19:05:26+02:00
    docs: add release notes for 25.0.6
    
  • d0b545b3
    by Eric Engestrom at 2025-05-14T19:05:26+02:00
    VERSION: bump for 25.0.6
    
  • 5a92849e
    by Eric Engestrom at 2025-05-14T19:14:15+02:00
    docs: add sha sum for 25.0.6
    
  • 5248c792
    by Natalie Vock at 2025-05-15T14:41:56+02:00
    driconf: Fix DOOM: The Dark Ages workaround name in 25.0.x
    
    Before 25.1, it's radv_legacy_sparse_binding, not
    radv_disable_dedicated_sparse_queue.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34998>
    
  • f1810cd9
    by Lars-Ivar Hesselberg Simonsen at 2025-05-18T02:49:30+00:00
    panvk/v9+: Set up limited texture descs for storage use
    
    Storage access to images using LEA_TEX[_IMM] has limitations on some
    fields in the texture descriptors, making them incompatible with the
    descriptors required for texture access, specifically in the case
    non-zero levels.
    
    This change sets up two sets of texture descriptors for image views of
    storage images, then picks the correct one when writing the image view
    descriptors.
    
    Backport-to: 25.0
    Backport-to: 25.1
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Tested-by: Heiko Stuebner <heiko@sntech.de>
    (cherry picked from commit 7451bc3bef0b983063cb996a25a06312a751ac9b)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35025>
    
  • 2d525d5e
    by Georg Lehmann at 2025-05-25T21:27:01+02:00
    radeonsi: always lower alu bit sizes
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13072
    
    load_vs_input_from_vertex_buffer can create unsupported 16bit shifts on GFX6/7.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Reviewed-by: Qiang Yu <yuq825@gmail.com>
    
    Cc: mesa-stable
    (cherry picked from commit 33b5d8b2ec26904ec1c331dd64ee04e351fd8e0e)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35150>
    
  • 5286ddbc
    by Eric Engestrom at 2025-05-25T21:27:01+02:00
    .pick_status.json: Mark 29d7b90cfcb67ecc2ff3e422dd7b38898abb1bbe as denominated
    
  • 3ccab9e7
    by Eric Engestrom at 2025-05-28T15:22:52+02:00
    .pick_status.json: Update to 8965e60118fa17407c5bfcdca1fe2854ad2fb150
    
  • 404cfdd9
    by Lars-Ivar Hesselberg Simonsen at 2025-05-28T15:22:55+02:00
    panvk/v9+: Set up limited texture descs for storage use
    
    Storage access to images using LEA_TEX[_IMM] has limitations on some
    fields in the texture descriptors, making them incompatible with the
    descriptors required for texture access, specifically in the case
    non-zero levels.
    
    This change sets up two sets of texture descriptors for image views of
    storage images, then picks the correct one when writing the image view
    descriptors.
    
    Backport-to: 25.0
    Backport-to: 25.1
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Tested-by: Heiko Stuebner <heiko@sntech.de>
    (cherry picked from commit 7451bc3bef0b983063cb996a25a06312a751ac9b)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35025>
    
  • bf645654
    by Dave Airlie at 2025-05-28T15:22:55+02:00
    nvk: Fix compute class comparison in dispatch indirect
    
    This works by coincidence rather than design.
    
    Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34910>
    (cherry picked from commit bd7777aee60941ebf3aadfa9314236977eb262ba)
    
  • 5ac5572b
    by Samuel Pitoiset at 2025-05-28T15:22:55+02:00
    radv: fix fetching conditional rendering state for DGC preprocess
    
    This state must be fetched from the stateCommandBuffer, not from the
    current cmdbuf which executes the preprocess().
    
    Partial fix for https://gitlab.freedesktop.org/mesa/mesa/-/issues/13143
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34953>
    (cherry picked from commit e2625fa9ca161b6c9334c4ad553391d45a573d4b)
    
  • 0e296d76
    by Samuel Pitoiset at 2025-05-28T15:22:55+02:00
    radv: fix conditional rendering with DGC and non native 32-bit predicate
    
    When the hardware doesn't natively support 32-bit predication, the
    driver has a fallback which allocates a 64-bit predicate to the upload
    BO in order to copy the original value.
    
    But when conditional rendering is enabled in the stateCommandBuffer
    which is used by preprocess() and the execute() is recorded also in the
    stateCommandBuffer. If the preprocess() is recorded in a different
    cmdbuf which is submitted before the cmdbuf that contains execute(),
    the fallback (ie. alloc + COPY_DATA) will be performed after. This would
    cause the predicate value to be always 0.
    
    To fix that, keep track of the user predication VA which is the only
    VA that needs to be used by DGC because it reads 32-bit from the shader.
    
    This fixes a very weird corner case with vkd3d-proton.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13143
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34953>
    (cherry picked from commit 3ca2f71f3d7eebfaca3d48cdc840c5127cf90d48)
    
  • 2f12a5c5
    by Hans-Kristian Arntzen at 2025-05-28T15:22:55+02:00
    radv: Consider that DGC might need shader reads of predicated data.
    
    Similar to indirect draw barrier, need similar fixups for conditional
    rendering access.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    Cc: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34956>
    (cherry picked from commit e674823d5515904b07df7b778f892005aaefb655)
    
  • 014c3193
    by José Roberto de Souza at 2025-05-28T15:22:55+02:00
    anv: Implement missing part of Wa_1604061319
    
    Description of this workaround are not clear but looking at Iris
    implementation we need to emit all 3DSTATE_PUSH_CONSTANT_ALLOC_XS if
    any 3DSTATE_PUSH_CONSTANT_ALLOC_XS is emitted.
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34988>
    (cherry picked from commit 2432d6677e709de118a34ecee46d80c645198bbd)
    
  • a70e8c53
    by José Roberto de Souza at 2025-05-28T15:22:55+02:00
    anv: Enable preemption due 3DPRIMITIVE in GFX 12
    
    The issues preventing it to be enabled were fixed so now we can enable
    it but we need also to enable workaround 16013994831 back again.
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34988>
    (cherry picked from commit 3cd972a2d35cc3f00c32e6434b799ccfa9f6f5f2)
    
  • c8f01c32
    by Mel Henning at 2025-05-28T15:22:55+02:00
    nouveau/headers: Run rustfmt after file is closed
    
    If we run a subprocess while the file is still open, we may not have
    flushed the file contents to disk.
    
    Fixes: 591b5da4 ("nouveau/headers: Run rustfmt on generated files")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35008>
    (cherry picked from commit da220945931c8453c0743b681fb309fb0ab86926)
    
  • 9ad71e37
    by Mel Henning at 2025-05-28T15:22:56+02:00
    nouveau/headers: Ignore PermissionError in rustfmt
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13172
    Fixes: 591b5da4 ("nouveau/headers: Run rustfmt on generated files")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35008>
    (cherry picked from commit bfe83402969914c3db95b1708c415d72af438ac7)
    
  • eb020edc
    by David Rosca at 2025-05-28T15:22:56+02:00
    radeonsi/vce: Fix bitstream buffer size
    
    On old VCE this was being rejected by kernel because the size here
    was the buffer size, but the bitstream buffer address includes the
    offset.
    
    Fixes: 901aafb030f ("radeonsi/vce: Support raw packed headers")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13128
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34894>
    (cherry picked from commit fd1480c3dfad260ddf12e677bf03b50859c1f525)
    
  • 59e73a78
    by David Rosca at 2025-05-28T15:22:56+02:00
    radeonsi/vce: Only send one task per IB
    
    There is no need to use second task for config when creating the
    session, also it doesn't work now as we don't set the next task
    offset in task info anymore.
    
    Fixes: 9ca1cda2bec ("radeonsi/vce: Cleanup")
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34894>
    (cherry picked from commit ad96031ec6332cde23b64908df03e2b6d29e1d99)
    
  • 2e6ea1aa
    by David Rosca at 2025-05-28T15:22:56+02:00
    radeonsi/vce: Fix output quality and performance in speed preset
    
    Fixes: 544a180320d ("radeonsi/vce: Support quality presets")
    Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34894>
    (cherry picked from commit bade93c4472ffb1ac843405ee506514f4cf25446)
    
  • ad4fa975
    by Olivia Lee at 2025-05-28T15:22:56+02:00
    util/u_printf: fix memory leak in u_printf_singleton_add_serialized
    
    info->arg_sizes and info->strings were leaked because they were
    allocated in the global context.
    
    Fixes: 007f60c8b8d ("util/u_printf: add singleton implementation")
    Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34987>
    (cherry picked from commit 22fb7eaa8cdebd729f51799bb49ffacfde437775)
    
  • c8f0e53a
    by Ella Stanforth at 2025-05-28T15:22:56+02:00
    v3d/compiler: Fix ub when using memcmp for texture comparisons.
    
    We need to zero out all memory in the struct otherwise memcmp ends up comparing
    padding bytes.
    
    Cc: mesa-stable
    Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34945>
    (cherry picked from commit be3ce07f586d52a9fda7499f3cd96376d685da6c)
    
  • 35d535c7
    by Lionel Landwerlin at 2025-05-28T15:22:56+02:00
    anv: enable preemption setting on command/batch correctly
    
    The 2 helpers we're using for doing internal operations (copies,
    command generation, etc...) can work on command buffers or lower level
    batches.
    
    When working with command buffers, the helpers should set the
    preemption using genX(cmd_buffer_set_preemption) so that whatever
    operation comes after toggles the state back to what it needs and we
    minimize the toggles.
    
    When working with batchs, the helpers should disable preemption using
    genX(batch_set_preemption) and turn it back on when done.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35030>
    (cherry picked from commit c57074027260c0db3b7fc04150a5b46333a17f28)
    
  • 443a4a6d
    by Timothy Arceri at 2025-05-28T15:22:56+02:00
    st/mesa: fix _IntegerBuffers bitfield use
    
    Previously we were assuming that all color attachments were active.
    
    Fixes: 8fb966688bc1 ("st/mesa: Disable blending for integer formats.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13168
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35014>
    (cherry picked from commit d04d9da98c9f70ec7db59750558f10dad215b2f4)
    
  • c8da6675
    by Timothy Arceri at 2025-05-28T15:22:56+02:00
    mesa/st: fix _BlendForceAlphaToOneDraw bitfield use
    
    Previously we were assuming that all color attachments were active.
    
    Fixes: 4f28e2827c9c ("mesa: fix blending when using luminance/intensity emulation")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35014>
    (cherry picked from commit c1d00c9a1aad8af3d5a5e4e1b23ac788cb34280e)
    
  • 51abc314
    by Timothy Arceri at 2025-05-28T15:22:56+02:00
    mesa/st: fix _IsRGBDraw bitfield use
    
    Previously we were assuming that all color attachments were active.
    
    Fixes: 5b51d754d00d ("st/mesa: Optionally override RGB/RGBX dst alpha blend factors")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35014>
    (cherry picked from commit b7d8c195a2af7a7959468efe1d164758d97eac51)
    
  • 6865ce62
    by Timothy Arceri at 2025-05-28T15:22:57+02:00
    mesa: fix _FP32Buffers bitfield use
    
    Previously we were assuming that all color attachments were active.
    
    Fixes: 070a5e5d9248 ("mesa: add explicit enable for EXT_float_blend, and error condition")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35014>
    (cherry picked from commit c7c4905981c4ebc4f08a947529f9c8449000150e)
    
  • 791c1ce7
    by Matt Turner at 2025-05-28T15:22:57+02:00
    gallivm: Use `llvm.roundeven` in lp_build_round()
    
    `lp_build_round` intends to implement round with ties-to-even behavior,
    as can be seen by its test's use of `nearbyint` to generate reference
    values and by it use in implementing `nir_op_fround_even`.
    
    Fixes: 0d3b2853600 ("gallivm: use llvm intrinsics for 16-bit round/trunc/roundeven")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34937>
    (cherry picked from commit eea3ed6a3704dbd90913906c22b585eefb22a1cc)
    
  • 9109dd06
    by Rhys Perry at 2025-05-28T15:22:57+02:00
    aco/gfx115: consider point sample acceleration
    
    Like 15428e0d786939a5c7629a9978947c8a9112ce96 in LLVM.
    
    fossil-db (gfx1150):
    Totals from 909 (1.14% of 79653) affected shaders:
    Instrs: 5840489 -> 5840705 (+0.00%); split: -0.00%, +0.00%
    CodeSize: 31133460 -> 31134296 (+0.00%); split: -0.00%, +0.00%
    Latency: 52982280 -> 53438577 (+0.86%); split: -0.00%, +0.86%
    InvThroughput: 10841454 -> 10942682 (+0.93%); split: -0.00%, +0.93%
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Backport-to: 25.0
    Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34935>
    (cherry picked from commit 171920ceed59b018cfa637ff5fd022d39aeef105)
    
  • 601387e0
    by Georg Lehmann at 2025-05-28T15:22:57+02:00
    aco: assume sram ecc is enabled on Vega20
    
    There are D16 load issues on Vega20 that are expected if sram ecc is enabled.
    It's a professional class chip and I found mentions of it supporting ecc,
    so assume it's enabled.
    
    Maybe this could be improved by querying ecc info from the kernel, but
    I'm not sure which query should be used.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13189
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12393
    Cc: mesa-stable
    
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35045>
    (cherry picked from commit 025764413001176ccfc4e5cca20c490428d1b36a)
    
  • 4642f203
    by LingMan at 2025-05-28T15:22:57+02:00
    entaviv/isa: Silence warnings about non snake case names
    
    These are benign style warnings. The code is generated by bindgen and it's a bug there that these
    names get generated at all.
    
    Silences these warnings since we can't do anything about them:
    
    ```
    warning: method `use__raw` should have a snake case name
       --> src/etnaviv/isa/isa_bindings.rs:358:19
        |
    358 |     pub unsafe fn use__raw(this: *const Self) -> ::std::os::raw::c_uint {
        |                   ^^^^^^^^ help: convert the identifier to snake case: `use_raw`
        |
        = note: `#[warn(non_snake_case)]` on by default
    
    warning: method `use__raw` should have a snake case name
        --> src/etnaviv/isa/isa_bindings.rs:1023:19
         |
    1023 |     pub unsafe fn use__raw(this: *const Self) -> ::std::os::raw::c_uint {
         |                   ^^^^^^^^ help: convert the identifier to snake case: `use_raw`
    ```
    
    Fixes: 15a784689e6 ("etnaviv: isa: Generate Rust FFI bindings for asm.h")
    Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34969>
    (cherry picked from commit 040ef8f5c9e9d887628135b2eb9828e705e4f76c)
    
  • f9b723f0
    by David Rosca at 2025-05-28T15:22:57+02:00
    radv/video: Limit 10bit H265 decode support to stoney and newer
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12132
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35105>
    (cherry picked from commit 1608bc20b5d237fd29522b6c696e5654eddab5cf)
    
  • 3b265663
    by Gurchetan Singh at 2025-05-28T15:22:57+02:00
    gfxstream: get rid of logspam in virtualized case
    
    In the case of running a Linux VM using some other capability
    set than gfxstream, some logspam may be triggered.  Fix this.
    
    CC: mesa-stable
    
    Reviewed-by: Aaron Ruby <aruby@qnx.com>
    Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35109>
    (cherry picked from commit 126af1feb937f4eec034337f4881ed7ee36a5f9c)
    
  • f1672e0b
    by Christian Gmeiner at 2025-05-28T15:22:57+02:00
    zink: Fix NIR validation error in cubemap-to-array lowering
    
    The cubemap-to-array pass was changing variable types from samplerCubeArray
    to sampler2DArray but leaving the corresponding deref instruction types
    unchanged. This caused NIR validation to fail with "instr->type ==
    instr->var->type" assertion.
    
    Fix by updating both the variable type and the deref instruction type
    to maintain consistency required by NIR validation.
    
    Cc: mesa-stable
    Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35117>
    (cherry picked from commit 86f7ce06be003a0cc682b80a0c7574259db83be4)
    
  • b4560497
    by Karol Herbst at 2025-05-28T15:22:57+02:00
    nir: fix use-after-free on function parameter names
    
    Fixes: 3da8444be56 ("nir: add names to function parameters")
    Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35098>
    (cherry picked from commit bc444f6d26c6c5b2477654b59a503c81f20f879a)
    
  • 5a782312
    by Karol Herbst at 2025-05-28T15:22:57+02:00
    vtn: fix use-after-free on function parameter names
    
    Fixes: 5d7a2303243 ("vtn: gather function parameter names")
    Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35098>
    (cherry picked from commit abbb0c0125f76a3eb47289cbfec12ab50cdfca14)
    
  • 6bbd009a
    by Timothy Arceri at 2025-05-28T15:22:58+02:00
    mesa: update validation when draw buffer changes
    
    Otherwise validation that depends on the _IntegerDrawBuffers and
    _FP32DrawBuffers bitfield can end up stale.
    
    Fixes: d04d9da98c9f ("st/mesa: fix _IntegerBuffers bitfield use")
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35063>
    (cherry picked from commit 3ec68e8382936e98a2b4ebca856ce4931aad8c27)
    
  • 4d3fd271
    by Rob Clark at 2025-05-28T15:22:58+02:00
    ci: Disable fd-farm
    
    Take the google farm offline in preparation for shipping.
    
    Signed-off-by: Rob Clark <robdclark@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35093>
    (cherry picked from commit 45a2f028766af9d0d6fafbfcda91602c4dfbccb6)
    
  • 41856962
    by Samuel Pitoiset at 2025-05-28T15:22:58+02:00
    radv: fix missing texel scale for unaligned linear SDMA copies
    
    texel_scale was 0 which caused GPU hangs for unaligned linear copies.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13195
    Fixes: 4b73d7e8174 ("radv: fix SDMA copies for linear 96-bits formats")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35047>
    (cherry picked from commit c22d86e844d864ddf17de78d476c1cdfd5d3f1b3)
    
  • db216318
    by Lionel Landwerlin at 2025-05-28T15:22:58+02:00
    anv/brw: stop turning load_push_constants into load_uniform
    
    Those intrinsics have different semantics in particular with regards
    to divergence. Turning one into the other without invalidating the
    divergence information breaks NIR validation. But also the conversion
    means we get artificially less convergent values in the shaders.
    
    So just handle load_push_constants in the backend and stop changing
    things in Anv.
    
    Fixes a bunch of tests in
       dEQP-VK.descriptor_indexing.*
       dEQP-VK.pipeline.*.push_constant.graphics_pipeline.dynamic_index_*
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34546>
    (cherry picked from commit df15968813ce46e40582e4904517fb89813046f3)
    
  • ce999374
    by Lionel Landwerlin at 2025-05-28T15:22:58+02:00
    hasvk/elk: stop turning load_push_constants into load_uniform
    
    Those intrinsics have different semantics in particular with regards
    to divergence. Turning one into the other without invalidating the
    divergence information breaks NIR validation. But also the conversion
    means we get artificially less convergent values in the shaders.
    
    So just handle load_push_constants in the backend and stop changing
    things in Hasvk.
    
    Fixes a bunch of tests in
       dEQP-VK.descriptor_indexing.*
       dEQP-VK.pipeline.*.push_constant.graphics_pipeline.dynamic_index_*
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34546>
    (cherry picked from commit b036d2ded2de32e81730ec8ce37c803bad112efa)
    
  • 40fcde7e
    by Calder Young at 2025-05-28T15:22:58+02:00
    iris: Fix accidental writes to global dirty bit instead of local
    
    Fixes: 0e9a26372b ("iris: implement Wa_14018912822")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35102>
    (cherry picked from commit 8547f8b557fe56e445a91a787607f162938ccc6f)
    
  • 25316916
    by Calder Young at 2025-05-28T15:22:58+02:00
    iris: set dependency between SF_CL and CC states
    
    Applied the fix from commit 3a54e9f6 to the Iris Gallium driver
    
    Fixes: bc42bbff4c ("iris: Wa_14016820455 for GFX_VERx10 == 12.5")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35082>
    (cherry picked from commit b0eb715b5020fcc7034f571a0ce77d05a5a4cbf2)
    
  • 32c297e9
    by Paulo Zanoni at 2025-05-28T15:22:58+02:00
    anv/trtt: don't avoid the TR-TT submission when there is stuff to signal
    
    When an application issues a sparse binding operation, it may be the
    case that the state the app is setting is the state that is already
    there. In that case, both n_l3l2_binds and n_l1_binds are zero, so the
    batch doesn't contain anything and, since 0802bbd48641, we just skip
    the batch submission and return.
    
    The problem is that skipping the batch submission and returning
    ignores the synchronization: there may be syncobjs that we have to
    wait and, more importantly, there may be syncobjs that we have to
    signal.
    
    This case is exercised by vkd3d-proton's test suite, but I'm not aware
    of any other workload that triggers it. This commit only affects
    Meteor Lake and older, as TR-TT is only the default behavior for the
    platforms running i915.ko.
    
    Testcase: vkd3d-proton/d3d12/test_sparse_buffer_memory_lifetime
    Fixes: 0802bbd48641 ("anv/trtt: don't submit empty batches when there are no binds to do")
    Reviewed-by: Iván Briano <ivan.briano@intel.com>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35078>
    (cherry picked from commit d77b49eb0ac3797d357efd264cd39ad0338708ac)
    
  • 3f68db8d
    by Lionel Landwerlin at 2025-05-28T15:22:58+02:00
    anv: don't use pipeline layout at descriptor bind
    
    An application is allowed to bind an empty descriptor set in a place
    where a pipeline layout has no descriptor set layout. For example :
    
      pipeline_layout_A :
         set0 : NULL
         set1 : descriptor_set_layout_A
    
      vkCmdBindDescriptor :
         set0 : descriptor_set_B (with layout bindingCount=0)
         set1 : descriptor_set_C (compatible with descriptor_set_layout_A)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13227
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35125>
    (cherry picked from commit 39f55541a3a5e56f86e3ce0a7f364ea1548bf733)
    
  • 3f251664
    by Mike Blumenkrantz at 2025-05-28T15:22:58+02:00
    llvmpipe: disable conditional rendering mem for blits
    
    u_blitter doesn't support this, and changing u_blitter to support a niche
    lavapipe feature seems like overkill
    
    fixes dEQP-VK.conditional_rendering.conditional_ignore.resolve_image*
    
    cc: mesa-stable
    
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35076>
    (cherry picked from commit 753d3e71d31ebe2a0389dca07c6d756bed896e22)
    
  • b00d4807
    by Mike Blumenkrantz at 2025-05-28T15:22:59+02:00
    lavapipe: handle counterOffset in vkCmdDrawIndirectByteCountEXT
    
    fixes dEQP-VK.transform_feedback.simple.draw_indirect*counter_offset*
    
    cc: mesa-stable
    
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35076>
    (cherry picked from commit 42b303c7b0e1433eede2aacb28988912d4e20d27)
    
  • 1b7e6d30
    by Timothy Arceri at 2025-05-28T15:22:59+02:00
    mesa: extend linear_as_nearest work around
    
    Here we allow packed stencils to skip the completeness check also.
    Will be used in the following patch for a bug in the game Foundation.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35107>
    (cherry picked from commit 27945bbd8a22643b0e5ef955dd96bce864f8da31)
    
  • 042736a4
    by Timothy Arceri at 2025-05-28T15:22:59+02:00
    util: add workaround for the game Foundation
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12882
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35107>
    (cherry picked from commit bf24d56862d22f48deaee2d6811fea7883d93e4c)
    
  • e07cea0b
    by Qiang Yu at 2025-05-28T15:22:59+02:00
    nir/opt_varyings: fix mesh shader miss promote varying to flat
    
    We still allow mesh shader promote constant output to flat, but
    mesh shader like geometry shader may store multi vertices'
    varying in a single thread. So mesh shader may store different
    constant values to different vertices in a single thread, we
    should not promote this case to flat.
    
    I'm not using shader_info.mesh.ms_cross_invocation_output_access
    because OpenGL does not require IO to have explicit location, so
    when nir_shader_gather_info is called in OpenGL GLSL compiler to
    compute ms_cross_invocation_output_access, some implicit output
    has -1 location which causes ms_cross_invocation_output_access
    unset for it.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13134
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35081>
    (cherry picked from commit 6f2a1e19dab190a690b4888b75742fd02176f318)
    
  • a110ef13
    by Patrick Lerda at 2025-05-28T15:22:59+02:00
    r600: fix pop-free clipping
    
    This update is aimed at fixing pop-free clipping and follows
    the advices by Vitaliy Kuzmin: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12440
    
    This functionality requires calculating the value of the following two
    registers: PA_CL_GB_HORZ_DISC_ADJ and PA_CL_GB_VERT_DISC_ADJ. These two
    registers are available on all the gpus of the r600 family.
    
    This code is built on the backport of radeonsi updates which are relevant
    to this very functionality:
    57e658d0418c "radeonsi: rework how guardband registers are updated to decrease overhead"
    146c2b7c28ad "radeonsi: adjust clip discard based on line width / point size"
    4d74432dd3b6 "radeonsi: don't discard points and lines"
    63680471f9f3 "radeonsi: remove si_context::{scissor_enabled,clip_halfz}"
    
    This change was tested on rv770, barts and cayman:
    deqp-gles[2-3]/functional/clipping/line/wide_line_clip_viewport_center: fail pass
    deqp-gles[2-3]/functional/clipping/line/wide_line_clip_viewport_corner: fail pass
    deqp-gles[2-3]/functional/clipping/point/wide_point_clip: fail pass
    deqp-gles[2-3]/functional/clipping/point/wide_point_clip_viewport_center: fail pass
    deqp-gles[2-3]/functional/clipping/point/wide_point_clip_viewport_corner: fail pass
    
    Cc: mesa-stable
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Reviewed-by: Filip Gawin <filip@gawin.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35052>
    (cherry picked from commit df2c774a83765d63a487e0f72f91021ccdf06533)
    
  • 5c56ee02
    by Faith Ekstrand at 2025-05-28T15:22:59+02:00
    nvk: Allocate the correct VAB size on Kepler
    
    We were allocating 128 KiB but claimed 256 KiB.  Allocate the right size
    and assert that the size matches.
    
    Fixes: 970bd7058461 ("nvk: allocate VAB memory area")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35172>
    (cherry picked from commit 9fe2a21e939d70d5f2ba921b609e3029e3d70fd5)
    
  • 3ccf7682
    by Faith Ekstrand at 2025-05-28T15:22:59+02:00
    nouveau/mme: Don't install the HW tests
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35163>
    (cherry picked from commit 26ba29f75bcdb47b09e7e88686bca5f68736ace9)
    
  • a23171c0
    by Adam Jackson at 2025-05-28T15:22:59+02:00
    vtn: (Silently) handle FunctionParameterAttributeNo{Capture,Write}
    
    Silences a few thousand warnings in sycl/test-e2e
    
    Cc: mesa-stable
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34941>
    (cherry picked from commit 92f07860a40be6c5871c41f0a2f42af5062099e2)
    
  • 2942d371
    by Adam Jackson at 2025-05-28T15:22:59+02:00
    vtn/opencl: Handle OpenCLstd_F{Min,Max}_common
    
    Normal fmin doesn't make any promises about NaN, common additionally
    doesn't make any promises about infinities. Would be nice to hook that
    up to codegen but lowering them to normal works for now.
    
    Cc: mesa-stable
    Reviewed-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34941>
    (cherry picked from commit 4b1c824b67134eeef5fe9e87e8b817e706dea6c1)
    
  • 726cfb8a
    by Erik Faye-Lund at 2025-05-28T15:22:59+02:00
    mesa/main: remove non-existing function prototype
    
    This function was removed about a decade ago, let's get rid of the
    prototype as well!
    
    Fixes: a347a0f53fb ("mesa: Completely remove QuerySamplesForFormat from driver func table")
    Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35184>
    (cherry picked from commit 439b88c61954496db4163234af9a849fbda174b9)
    
  • 3a98f0e8
    by Samuel Pitoiset at 2025-05-28T15:22:59+02:00
    radv: fix capture/replay with sparse images and descriptor buffer
    
    The sparse image VA needs to be returned to the application for replay.
    
    Reported by Baldur.
    
    VKCTS has coverage but it doesn't verify this yet.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35162>
    (cherry picked from commit 63758bc093c69eef20500e843a9442e9e674241b)
    
  • c83871cc
    by Samuel Pitoiset at 2025-05-28T15:23:05+02:00
    radv: add radv_disable_hiz_his_gfx12 and enable for Mafia Definitive Edition
    
    This is a workaround for random GPU hangs with HiZ/HiS on GFX12
    because the correct fix is complex and it will take time to be
    implemented properly.
    
    Mafia Definitive Edition is the first known game affected by this.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13222
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35182>
    (cherry picked from commit 2ebfa64be7fd0ad702bd30507b37a589aea28c10)
    
  • 4a43d723
    by Marek Olšák at 2025-05-28T15:23:15+02:00
    winsys/amdgpu: fix running out of 32bit address space with high FPS
    
    Reproduced with gfxbench5 gl_tess_off.
    
    Fixes: 4d486888ee8 - winsys/amdgpu: rewrite BO fence tracking by adding a new queue fence system
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34983>
    (cherry picked from commit 4bf2a28334364faa54025fd12ea4ae0a281a2177)
    
  • 66928691
    by Marek Olšák at 2025-05-28T15:43:52+02:00
    glsl: fix sampler and image type checking in lower_precision
    
    Use the param type, not the referenced variable. The referenced variable
    can be a structure, which wouldn't be recognized as a sampler or image.
    
    Fixes: 733bee57eb80 - glsl: lower samplers with highp coordinates correctly
    
    Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Tested-by: Dieter Nützel Dieter@nuetzel-hh.de on gfx8 (Polaris 20)
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34959>
    (cherry picked from commit bd5d623674497fc89c6be49257a0938fb91a8f81)
    
  • e0614f32
    by Eric Engestrom at 2025-05-28T17:20:23+02:00
    docs: add release notes for 25.0.7
    
  • 742a20f4
    by Eric Engestrom at 2025-05-28T17:20:23+02:00
    VERSION: bump for 25.0.7
    

169 changed files:

The diff was not included because it is too large.

Reply to: