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

[Git][xorg-team/lib/mesa][upstream-unstable] 113 commits: docs: add sha256sum for 23.1.4



Title: GitLab

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

Commits:

  • 72a48f24
    by Eric Engestrom at 2023-07-21T13:55:57+01:00
    docs: add sha256sum for 23.1.4
    
  • 87ad5f40
    by Eric Engestrom at 2023-07-21T18:01:51+01:00
    .pick_status.json: Update to c75bf084d0b0ee4d4ba1d74ba5a7486a07ba8334
    
  • 40e9ad07
    by Robert Mader at 2023-07-21T18:07:43+01:00
    egl/wayland: wait for compositor to release shm buffers
    
    Some Wayland compositors, notably Exo, do not always release buffers
    fast enough, and not in sync with their frame callbacks, to guarantee
    that a free buffer is available the next time a client calls
    `eglSwapBuffers()`.
    
    This currently leads to a crash in `dri2_wl_swrast_get_backbuffer_data()`
    with the swrast backend. To avoid this, simply block until the
    compositor releases a buffer eventually.
    
    While arguably compositors should release buffers they don't need any
    more for the next frame, this can be quite complex depending on
    the architecture - notably multi-process/IPC in case of Exo.
    
    cc: mesa-stable
    
    Signed-off-by: Robert Mader <robert.mader@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24091>
    (cherry picked from commit 74451ed3f0832694c8c1fb8fbfe42b4ed2688d4a)
    
  • 71737d9a
    by Danylo Piliaiev at 2023-07-21T18:07:53+01:00
    freedreno/regs: Rename SP_FS_CTRL_REG0.DIFF_FINE into LODPIXMASK
    
    That's the "real" name of the field.
    
    It enables ALL helper invocations in a quad, which is necessary for
    fine derivatives and quad subgroup ops.
    
    While PIXLODENABLE by itself enables only 3 out 4 fragments in a quad.
    
    Cc: mesa-stable
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24211>
    (cherry picked from commit 696f37f5c3f4527cc204906f272bc33c5eae8ea0)
    
  • ec05c091
    by Danylo Piliaiev at 2023-07-21T18:08:06+01:00
    ir3: Fix FS quad ops returning wrong values from helper invocations
    
    Without SP_FS_CTRL_REG0.LODPIXMASK quad ops don't get values from
    helper invocations, but from the current one.
    
    Fixes:
     dEQP-VK.glsl.derivate.dfdxsubgroup.*
     dEQP-VK.glsl.derivate.dfdysubgroup.*
    
    Cc: mesa-stable
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24211>
    (cherry picked from commit a0d426370db53151ad3683f50083607f6aeda6ef)
    
  • e649aaa7
    by Lionel Landwerlin at 2023-07-21T18:08:07+01:00
    intel/fs: fix missing predicate on SEL instruction
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: d8dfd153c5 ("intel/fs: Make per-sample and coarse dispatch tri-state")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9381
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24236>
    (cherry picked from commit 46958bcb74f2766e0a613115559fd3b00b187fd6)
    
  • bf418548
    by Alyssa Rosenzweig at 2023-07-21T18:08:08+01:00
    panfrost: Lower vertex_id for XFB
    
    Even on Valhall, vertex_id is zero-based in a transform feedback program. Lower
    that for transform feedback programs properly since it wouldn't happen
    automatically on Valhall. Fixes assertion fails.
    
    Fixes: 91ffd103510 ("pan/bi: Lower gl_VertexID in NIR")
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24198>
    (cherry picked from commit 64ff2b3ed6d9c51c8087f865961e2684a170a5bc)
    
  • c1ac4350
    by Alyssa Rosenzweig at 2023-07-21T18:08:09+01:00
    panfrost: Fix transform feedback on v9 harder
    
    We might need more push uniforms (FAU) than the currently bound program. Update
    that too for correct results on v9.
    
    Fixes: c282f80c988 ("panfrost: Fix transform feedback on v9")
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24198>
    (cherry picked from commit ac51cc12b1d1ccc8fa6e91616b5d94908450eee9)
    
  • 3ed532d9
    by Yiwei Zhang at 2023-07-21T18:08:10+01:00
    turnip: flush cache for dstBuffer in vkCmdCopyQueryPoolResults
    
    There can be other writes to the dstBuffer gated by proper barriers
    beforehand.
    
    TEST=dEQP-VK.pipeline.*.timestamp.* with Venus on Turnip
    
    Fixes: 487aa807bd1b ("tu: Rewrite flushing to use barriers")
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24245>
    (cherry picked from commit a89752d6300a850537b7f509b5662984b8aae072)
    
  • 186da6f7
    by Nanley Chery at 2023-07-21T18:08:11+01:00
    anv: Don't support ASTC images with modifiers
    
    Before this change, anv_get_image_format_features2 reported support for
    ASTC formats with any modifier (even those not supported by anv). But,
    we didn't intend to support that compressed image format with modifiers.
    
    With this change, the format feature function reports no support for
    modifiers on ASTC-formatted images.
    
    This prevents the next patch from causing assertion failures due to
    unsupported modifiers.
    
    Fixes: 355f3188438 ("anv: Allow transfer-only linear ASTC images")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24120>
    (cherry picked from commit e50af52e3d9ad7a0a2bdeef5cfea19c973b25aa4)
    
  • d55b6ae4
    by Mike Blumenkrantz at 2023-07-21T18:08:13+01:00
    zink: be even dumber about buffer refs when replacing storage
    
    these extra checks can cause issues when multiple contexts and transfer
    ops are involved
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24141>
    (cherry picked from commit d744bb5bfc4b347adeb9afb1a806e5d4ea7e634f)
    
  • 1dc1a1b5
    by Mike Blumenkrantz at 2023-07-21T18:08:14+01:00
    zink: emit SpvCapabilitySampleMaskPostDepthCoverage with SpvExecutionModePostDepthCoverage
    
    can't have one without the other
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24183>
    (cherry picked from commit 88bf4b61af84e301d337b63b4b6bbb93def3c727)
    
  • b84dc33b
    by Connor Abbott at 2023-07-21T18:08:21+01:00
    tu: Fix vk2tu_*_stage flag type
    
    New flags were silently getting dropped.
    
    Fixes: 59259a01671 ("tu: Convert to sync2 entrypoints")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24162>
    (cherry picked from commit ed020942350c6c7a7614c04d1d0f0a78b4f84aed)
    
  • 9e6b835b
    by Eric Engestrom at 2023-07-28T18:38:03+01:00
    .pick_status.json: Update to 2b7599dc495669a9f935dcb80e5b62a100a9b788
    
  • 1d8d9a0f
    by Konstantin Seurer at 2023-07-28T18:48:24+01:00
    gallivm: Fix atomic_global types
    
    Passes LLVM validation on the test_mesh_shader_rendering vkd3d-proton
    test.
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23996>
    (cherry picked from commit f281290005119ddd2dc82e0b7a4cc22551d7fc71)
    
  • 67a4143e
    by Dave Airlie at 2023-07-28T18:48:24+01:00
    gallivm: fix atomic global temporary storage.
    
    Fixes regression on llvm15 with
    piglit tests/cl/program/execute/builtin/atomic/atomic_xchg-global.cl
    
    Fixes: f28129000511 ("gallivm: Fix atomic_global types")
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Tested-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24267>
    (cherry picked from commit 2b03938f27d68f6eca17002d9224639607585e90)
    
  • 2505b47e
    by Rhys Perry at 2023-07-28T18:48:24+01:00
    radv: fix radv_get_ballot_bit_size with CS
    
    For wave64-as-wave32, this would return 32.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140>
    (cherry picked from commit 7a199a051e68e1fb41dd06943dc725d4c950bc16)
    
  • 39057708
    by Yiwei Zhang at 2023-07-28T18:48:24+01:00
    venus: fix a cmd builder render_pass state leak across reset
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24103>
    (cherry picked from commit a9f058d614929c7e65d4f8b839bd2b443729c25d)
    
  • 0b771cc2
    by Yiwei Zhang at 2023-07-28T18:48:24+01:00
    venus: fix cmd state leak across implicit reset
    
    Reset cmd states during vkBeginCommandBuffer regardless of the
    VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT for simplicity.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24103>
    (cherry picked from commit d13bf8f6b19f920447719cb300fe383ae6d632c0)
    
  • 5b10c4e4
    by Bas Nieuwenhuizen at 2023-07-28T18:48:24+01:00
    aco: fix nir_op_vec8/16 with 16-bit elements.
    
    Fixes: 5718347c2b4 ("aco: implement vec2/3/4 with subdword operands")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24286>
    (cherry picked from commit 2fcf7c7014e72826d7d38fb63534fa9a9e1bee88)
    
  • 7fed88af
    by Bas Nieuwenhuizen at 2023-07-28T18:48:24+01:00
    aco: Fix some constant patterns in 16-bit vec4 construction with s_pack.
    
    Fixes: 04e3d7ad930 ("aco: improve nir_op_vec with constant operands")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24286>
    (cherry picked from commit e536d31a468f7d868db7d45bca271c328b788b5f)
    
  • 2808bafa
    by Danylo Piliaiev at 2023-07-28T18:48:24+01:00
    tu,freedreno: Forbid blit event for R8G8_SRGB due to gpu faults
    
    Same cause as for other R8G8 formats - msaa resolve via
    blit event causes gpu fault.
    
    Fixes:
     dEQP-VK.api.image_clearing.*.clear_color_attachment.*.r8g8_srgb_*
    
    Fixes: 029919f3c83f379065515708188d5c439c3fa6bc
    ("tu: allow using resolve engine for SRGB MSAA resolves")
    
    Cc: mesa-stable
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24277>
    (cherry picked from commit eeb1fd90fc08fc40181807c19eea1d4c4a116377)
    
  • a6ddf095
    by Rhys Perry at 2023-07-28T18:48:24+01:00
    nir/opt_dead_cf: remove nodes after a jump earlier
    
    In the case of:
       halt
       // succs: b9
       if %618 {
           block b3:// preds:
           break
           // succs: b6
       } else {
           block b4:  // preds: , succs: b5
       }
       block b5:    // preds: b4
       32    %556 = iadd %617, %2 (0x1)
    opt_constant_if() doesn't work because stitch_blocks() can't join blocks if the
    before ends in a jump and the after isn't empty.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24235>
    (cherry picked from commit 21f0aca948b2bbaefb39407c3bf3fe605d05caf5)
    
  • 5b2ce5c1
    by Georg Lehmann at 2023-07-28T18:48:24+01:00
    aco/gfx11: fix get_gfx11_true16_mask with v_cmp_class_f16
    
    The second operand is 16bit, so the we need to use VOP3 to address v128-v255.
    
    Closes: #9413
    Fixes: 6872f8d861b ("aco/gfx11: allow true 16-bit instructions to access v128+")
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24294>
    (cherry picked from commit 8fbebb6a2ac2b8b6e5c24fd8a9abb3ac3321fc03)
    
  • bd9177f2
    by Nanley Chery at 2023-07-28T18:48:24+01:00
    intel/blorp: Ambiguate after CCS resolves on gfx7-8
    
    ISL's state-machine of CCS_D describes full resolves as leaving the aux
    buffer in the pass-through state. Hardware doesn't behave this way on
    gfx8 however. On that platform, full resolves transition the aux buffer
    to the resolved state. This was verified by dumping the CCS before and
    after a full resolve on BDW (gfx7 is simply assumed to behave the same).
    Ambiguate after resolving to match driver expectations.
    
    Prevents iris from failing piglit's fcc-write-after-clear on BDW with a
    future patch which relies on fast-clear encodings being removed after a
    resolve. The avoided failure is:
    
       Testing implicit read of partial block UNORM -> SNORM
       Probe color at (0,1,0)
         Expected:  1.000000 1.000000 1.000000 1.000000
         Observed:  0.000000 0.000000 0.000000 0.000000
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23676>
    (cherry picked from commit 1d12b29b3f6a72885134b1571778398dfcbe8da6)
    
  • 90d121b6
    by Konstantin Seurer at 2023-07-28T18:48:24+01:00
    draw: Do not restart the primitive_id at 0
    
    Otherwise the primitive_id will wrap around to 0 if more than 4096
    patches are drawn.
    
    cc: mesa-stable
    
    Reviewed-by: Roland Scheidegger <sroland@vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24295>
    (cherry picked from commit 1280cf5b2afa757b86c21085d01229222e4180df)
    
  • dfdceef3
    by Alyssa Rosenzweig at 2023-07-28T18:48:24+01:00
    nir/lower_blend: Fix 32-bit logicops
    
    nir_const_value_for_int asserts signed bounds on the input, but we pass in an
    unsigned value that would be out-of-bounds for 32-bit channels, causing the
    assert to fail for 32-bit channel formats.
    
    Fixes dEQP-VK.pipeline.monolithic.logic_op.r32_uint.* on AGXV (and probably
    PanVK).
    
    Fixes: dbd0615e7ad ("nir/lower_blend: Avoid useless iand with logic ops")
    Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Italo Nicola <italonicola@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24252>
    (cherry picked from commit 9c0740211dd67604bd42798af6d79840d3325bbe)
    
  • 5c0ba833
    by Rhys Perry at 2023-07-28T18:48:24+01:00
    aco: insert s_nop before VGPR deallocation
    
    A hazard requires this, apparently.
    
    https://reviews.llvm.org/D155681
    
    fossil-db (gfx1100):
    Totals from 23175 (17.36% of 133461) affected shaders:
    Instrs: 41240100 -> 41263275 (+0.06%)
    CodeSize: 211858524 -> 211951224 (+0.04%)
    Latency: 469738570 -> 469738576 (+0.00%)
    InvThroughput: 58013998 -> 58013999 (+0.00%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24320>
    (cherry picked from commit 37fbfa655a4dd73a1c95ade29362d8e93f5d1fcc)
    
  • f7725079
    by Mike Blumenkrantz at 2023-07-28T18:48:24+01:00
    kopper: handle pixmap creation failure more gracefully
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
    (cherry picked from commit 2b71e645bc71f69287ba47008763e47ca0318702)
    
  • 2cb71818
    by Mike Blumenkrantz at 2023-07-28T18:48:24+01:00
    glxsw: check geometry of drawables on creation
    
    this mimics the dri codepath and allows early rejection of invalid
    drawables to avoid subsequent breakage
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
    (cherry picked from commit 7100ef4566595f73b967231d0b877781d0911de5)
    
  • 4873c38a
    by Mike Blumenkrantz at 2023-07-28T18:48:25+01:00
    zink: don't clobber descriptor mode on multiple screen creation
    
    the env var should only ever be read if the mode is unset
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
    (cherry picked from commit 626e3a6e34d72fd08c4d7c882bdbcfc25b9133f0)
    
  • 1a69fa13
    by Karol Herbst at 2023-07-28T18:48:25+01:00
    nv50/ir/nir: fix txq emission on MS textures
    
    In GL and a lot of Vulkan if we end up with either a lod or an ms index.
    
    Sadly in Vulkan we can end up with both and have to choose properly. For
    TXQ we have to emit a zero LOD. For TXF we have to emit the ms index.
    
    Fixes: bb032d8b629 ("nv50/ir/nir: implement nir_instr_type_tex")
    Signed-off-by: Karol Herbst <git@karolherbst.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24343>
    (cherry picked from commit 85a31fa1fc906d500e10a7fa5c9973aa17e7f1d6)
    
  • 14632e7d
    by Alex Denes at 2023-07-28T18:48:25+01:00
    virgl: link VA driver with build-id
    
    Without a build-id the virgl VAAPI driver segfaults trying to access the
    NULL returned by the build-id header retriever used for disk caches
    
    Fixes: d6db4d2e081 ("virgl: Add simple disk cache")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19885>
    (cherry picked from commit 16a66a67effe3cd891635102fa60a546d7ded719)
    
  • 55557830
    by Mike Blumenkrantz at 2023-07-28T18:48:25+01:00
    nir: fix slot calculations for compact variables with location_frac
    
    a variable with a component offset may span multiple slots, and this cannot
    be inferred from its type alone (e.g., compacted clip+cull distances)
    
    cc: mesa-stable
    
    Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24163>
    (cherry picked from commit 59396eefe6440920532009e5cbfd17c0c09fdaa1)
    
  • ab6e8f6b
    by Mike Blumenkrantz at 2023-07-28T18:48:25+01:00
    lavapipe: use the component offset directly for xfb
    
    the mask is only indicative of the components being used, not the offset
    from which they start
    
    cc: mesa-stable
    
    Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24163>
    (cherry picked from commit 330f728cc4f600721dcad4e9a7ad0b444fbc1c6f)
    
  • c795abed
    by Daniel Stone at 2023-07-28T18:48:25+01:00
    egl/wayland: Always initialise fd_display_gpu
    
    Set it to an invalid value, rather than leaving it to be stdout or
    something.
    
    Signed-off-by: Daniel Stone <daniels@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24347>
    (cherry picked from commit 449e5bad7c31f1099d1fdb7300071c007394c664)
    
  • 627e9cd5
    by Eric Engestrom at 2023-07-30T11:07:05+01:00
    .pick_status.json: Update to 8d7f682bdbaee2cd7185203770bfc3f0e07ee427
    
  • 70328a0a
    by Rhys Perry at 2023-07-30T11:07:11+01:00
    ac/llvm: fix AC_TM_CHECK_IR
    
    This was using the wrong pass.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Fixes: 3f272fd15e9 ("ac/llvm: fix build with LLVM 17")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140>
    (cherry picked from commit 85d1159a2a7b09dd285376cbb62921126ba0fda2)
    
  • 7b29065d
    by Karol Herbst at 2023-07-30T11:07:21+01:00
    nv50/ir/nir: Fix zero source handling of tex instructions.
    
    For TXQ we know make sure that we at least add one source. If the nir
    instruction however didn't had any sources, we inserted a fake 0 source
    ending up with two 0s for TXQ.
    
    It's unclear to me if we have other ops where this would be necessary.
    
    Fixes: 85a31fa1fc9 ("nv50/ir/nir: fix txq emission on MS textures")
    Signed-off-by: Karol Herbst <git@karolherbst.de>
    Acked-by: M Henning <drawoc@darkrefraction.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24373>
    (cherry picked from commit 8d7f682bdbaee2cd7185203770bfc3f0e07ee427)
    
  • cffa4a96
    by Eric Engestrom at 2023-08-02T20:34:12+01:00
    docs: add release notes for 23.1.5
    
  • 61332793
    by Eric Engestrom at 2023-08-02T20:34:31+01:00
    VERSION: bump for 23.1.5
    
  • e184630b
    by Eric Engestrom at 2023-08-02T20:39:39+01:00
    docs: add sha256sum for 23.1.5
    
  • 25210fc7
    by Eric Engestrom at 2023-08-02T20:57:18+01:00
    .pick_status.json: Update to 4c3fc03d7f74e30e4896121cd1aed90151f3d305
    
  • 17cb76c4
    by Gert Wollny at 2023-08-02T20:57:25+01:00
    r600/sfn: Don't try to propagate to vec4 with more than one use
    
    Otherwise we end up with weird dependencies that make the scheduler
    choke.
    
    Fixes: 18a8d148d862d4a0f5b83f4385f00cf8a4a71b6d
        r600/sfn: Cleanup copy-prop into vec4 source values
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24393>
    (cherry picked from commit 618fc13db78b4b8a270daf8fe719910906e49922)
    
  • e514375a
    by Lionel Landwerlin at 2023-08-02T20:57:25+01:00
    anv: fix 3DSTATE_RASTER::APIMode field setting
    
    The APIMode field is set in the dynamic part in gfx8_cmd_buffer.c
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 55951ac28e ("anv: fix emitting dynamic primitive topology")
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24395>
    (cherry picked from commit a0179c32b6ea4110265943cc4352c23d86425454)
    
  • 748697bc
    by Karol Herbst at 2023-08-02T20:57:25+01:00
    rusticl/kernel: only handle function_temp memory before lowering printf
    
    There was no need to handle the other variable modes. This also fixes
    double accounting of shared memory.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9058
    Fixes: 5795ee0e083 ("rusticl: translate spirv to nir and first steps to kernel arg handling")
    Signed-off-by: Karol Herbst <git@karolherbst.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24398>
    (cherry picked from commit 01cb01a7ee9781dd494681433c7d40828c7b53c6)
    
  • f928e2e4
    by Mike Blumenkrantz at 2023-08-02T20:57:25+01:00
    lavapipe: don't check geometry for fb attachments
    
    this is broken since surfaces always have minified geometry
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24339>
    (cherry picked from commit 4de7e0034ae91adcc0ae3155616659c1999e3087)
    
  • 1d0991ca
    by Italo Nicola at 2023-08-04T11:11:03+01:00
    mesa/main: account for RTT samples when updating framebuffer
    
    For EXT_multisampled_render_to_texture, we store the number of samples
    in Attachment->NumSamples instead of Renderbuffer->NumSamples. This
    meant that the previous code ignored that the framebuffer was
    multisampled. Because of this, pipe_rasterizer_state::multisample is set
    incorrectly, leading to visual artifacts on drivers that support MS-RTT
    extension, such as panfrost.
    
    Signed-off-by: Italo Nicola <italonicola@collabora.com>
    Reviewed-by: Rob Clark <robclark@freedesktop.org>
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10747>
    (cherry picked from commit 4d1a07c1a0ba6d308bed3ebbf77f24bb2ed03afc)
    
  • f74d2465
    by Italo Nicola at 2023-08-04T11:12:58+01:00
    mesa/main: allow readpix/teximage to read from implicitly multisampled fbos
    
    The GL_EXT_multisampled_render_to_texture spec explicitly allow reading
    from these FBOs.
    
    "Similarly, for ReadPixels:
     'An INVALID_OPERATION error is generated if the value of READ_-
    FRAMEBUFFER_BINDING (see section 9) is non-zero, the read framebuffer is
    framebuffer complete, and the value of SAMPLE_BUFFERS for the read
    framebuffer is one.'
    
     These errors do not apply to textures and renderbuffers that have
    associated multisample data specified by the mechanisms described in
    this extension, i.e., the above operations are allowed even when
    SAMPLE_BUFFERS is non-zero for renderbuffers created via Renderbuffer-
    StorageMultisampleEXT or textures attached via FramebufferTexture2D-
    MultisampleEXT."
    
    Signed-off-by: Italo Nicola <italonicola@collabora.com>
    Reviewed-by: Emma Anholt <emma@anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10747>
    (cherry picked from commit d7b9da2673a8aef49f83dc043aae6ff4fcb212a3)
    
  • 6f0714ac
    by Eric Engestrom at 2023-08-04T11:54:55+01:00
    .pick_status.json: Update to d7fa2561a5e31b22b84b5735e2cdcbe27b8a7dfb
    
  • 5a6ce53d
    by Eric Engestrom at 2023-08-04T11:54:59+01:00
    bin: add wrapper to run scripts in a python venv
    
    This isolates the script environment from the rest of the machine,
    avoiding missing/incompatible dependencies and avoiding polluting the
    rest of the machine with python packages.
    
    Signed-off-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367>
    (cherry picked from commit 75f44bd79a01b8bec4b7cbb561bbb10cadc3db8c)
    
  • d4b505ea
    by Eric Engestrom at 2023-08-04T11:55:47+01:00
    bin/pick-ui: use venv wrapper
    
    Signed-off-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367>
    (cherry picked from commit b13473efe967f79bcea8f7e1683cf194d4df726a)
    
  • 561d5b93
    by Dave Airlie at 2023-08-04T11:57:58+01:00
    llvmpipe: fix fragdata/lastfragdata heuristic a bit more.
    
    This heuristic broke when zmike lowered fragcolor using NIR,
    
    This fixes a regression in:
    dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.last_frag_data
    
    Fixes: db1371cce1d4 ("llvmpipe: fix handling of unused color attachments")
    Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24435>
    (cherry picked from commit 773d77dc7e467dc0ec23d7defa791c360716df5e)
    
  • ef1b13ff
    by Eric Engestrom at 2023-08-07T18:53:28+01:00
    .pick_status.json: Update to c5a6e88c4e816ded6105b74f101528eb004e0581
    
  • 22803391
    by Karol Herbst at 2023-08-07T18:53:52+01:00
    n50/compute: submit initial compute state in nv50_screen_create
    
    This fixes some CACHE_ERROR caused by proper multi-threading support. The
    bug is a bit older though, just never triggered because there was only one
    push buffer to begin with.
    
    Without this change the compute initialization stayed unpushed in the
    screen push buffer causing random issues.
    
    Fixes: ff72440b402 ("nv50: implement a basic compute support")
    Signed-off-by: Karol Herbst <git@karolherbst.de>
    Reviewed-by: M Henning <drawoc@darkrefraction.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24496>
    (cherry picked from commit a9a30a7e09c4107c1f81a2515c0eb6a4c0daec97)
    
  • 73aeb454
    by Sylvain Munaut at 2023-08-07T18:53:54+01:00
    egl/dri2: Add a couple of missing mutex release in error path
    
    This is causing a hang in the intel compute runtime when
    trying to cl/gl share an unsupported texture format.
    
    Fixes: f1efe037dfd82d95b025 ("egl/dri2: Add display lock")
    
    Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24487>
    (cherry picked from commit a0a5d0f02e0dba0df651c3d31ae2c4e5c8d183c0)
    
  • c87de178
    by Gert Wollny at 2023-08-07T18:53:55+01:00
    r600/sfn: Take source uses into account when switching channels
    
    When we switch the channels by re-creating vec4 values we have to
    take into account that the source values may be used in an ALU op,
    and with that we have to take read-port limitations into account.
    
    Fixes: 18a8d148d862d4a0f5b83f4385f00cf8a4a71b6d
        r600/sfn: Cleanup copy-prop into vec4 source values
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24519>
    (cherry picked from commit 807c0d6bb75ecf150f39480f2f492b4dd195d14d)
    
  • 6e84dfe4
    by Mike Blumenkrantz at 2023-08-07T18:53:55+01:00
    zink: better handle separate shader dsl creation when no bindings exist
    
    this otherwise underflows the array and provides a (probably huge) garbage
    value for the binding id, which then causes the driver to massively overallocate
    both the layout and set/pool/buffer
    
    the main result of this is that on radv any simple test that should be near-instant
    takes 2-3 seconds to execute, which somehow nobody noticed
    
    Fixes: e3b746e3a31 ("zink: use GPL to handle (simple) separate shader objects")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24501>
    (cherry picked from commit 652e87bc5d02903e4ea00602de84d803f10d414e)
    
  • c2995474
    by Mike Blumenkrantz at 2023-08-07T18:53:56+01:00
    zink: force image barriers after dmabuf import
    
    if the image will be used, then it has to be on the right queue
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24492>
    (cherry picked from commit 4f5bfc6691093e547816818340281437e504e86a)
    
  • fd0190f1
    by Luigi Santivetti at 2023-08-07T19:40:51+01:00
    pvr: do not claim support for ASTC texture compression
    
    We don't support any ASTC formats yet, but the textureCompressionASTC_LDR
    feature was incorrectly set to true. Fix this by setting it to false and
    don't advertise ASTC support for texture compression.
    
    Fixes dEQP-VK.api.info.format_properties.compressed_formats
    
    Fixes: 8991e646 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs")
    Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
    Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24448>
    (cherry picked from commit c5a6e88c4e816ded6105b74f101528eb004e0581)
    
  • 9bc11e99
    by Eric Engestrom at 2023-08-10T14:53:00+01:00
    .pick_status.json: Update to 06c8ebaa66b6f12b577ad1aa5e2a11628fd3735d
    
  • 3c5e28f6
    by Mike Blumenkrantz at 2023-08-10T14:53:19+01:00
    zink: use VK_WHOLE_SIZE when binding null db buffer descriptors
    
    using range=0 is illegal
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24478>
    (cherry picked from commit b2a988147532524ce7321ba56238d003dbc39bbd)
    
  • fe71df98
    by Rob Clark at 2023-08-10T14:53:21+01:00
    tu/drm: Add missing error path cleanup
    
    Fixes: bea6290ca090 ("turnip: device global bo list")
    Signed-off-by: Rob Clark <robdclark@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23533>
    (cherry picked from commit 84524cfdfabaeb2faa7ceb8e1ab969eb2c10eae2)
    
  • 099b1ed3
    by Dave Airlie at 2023-08-10T15:59:37+01:00
    zink: turn off threaded cpu access if not visible.
    
    This turns off the threaded cpu access it the resource isn't visible.
    
    Fixes a bunch of crashes with current nvk.
    
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24548>
    (cherry picked from commit ae6be7a44a24bc96f00d7510ccc1815efa84c6eb)
    
  • 0c6dc68d
    by Timothy Arceri at 2023-08-10T15:59:37+01:00
    glsl: fix spirv sso validation
    
    The api validation calls will segfault without this as it will
    try to fallback to string matching names which are NULL. This
    would be incorrect behaviour even if the names weren't NULL so
    here we correctly set the explicit location flag.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9483
    Fixes: ffdb44d3a0a2 ("nir/linker: Add inputs/outputs to the program resource list")
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24529>
    (cherry picked from commit a7850f8cf3ee8ac87a0d8328d2c21f75352f9c4d)
    
  • 39d70385
    by Martin Stransky at 2023-08-10T15:59:37+01:00
    llvmpipe: fix UAF in lp_scene_is_resource_referenced.
    
    reworked slightly by airlied
    
    Reviewed-by: Roland Scheidegger <sroland@vmware.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24414>
    (cherry picked from commit 87ec9456bed3112710b8afe8720279f6ad5f66e2)
    
  • eb5a0a1c
    by Lionel Landwerlin at 2023-08-10T15:59:37+01:00
    anv: fake non intel vendorID for Death Stranding
    
    The assumption is the same issue that is plaguing Cyberpunk 2077 is
    also at play here. That is the XeSS library is looking for the Windows
    driver binary and not finding them in the Wine/Proton distribution.
    
    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/24237>
    (cherry picked from commit 9acbb197fbf02fed2bc17f2e2c9ee3061986baa2)
    
  • 101d7822
    by Julian Hagemeister at 2023-08-10T15:59:37+01:00
    Gallium: Fix shared memory segment leak
    
    Commit abe6d750e58d371624de75f4bad365c61e0196c1 caused shared memory
    segments to be leaked. We need to mark shared memory segments for
    deletion upon construction.
    
    Fixes: abe6d750e5 xlib: fix glXDestroyContext in Gallium frontends
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9425
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24556>
    (cherry picked from commit 4c11fe8ae631fb6ba86b64bc7b3cd5bedb9b0e26)
    
  • 61905a7f
    by David Heidelberg at 2023-08-10T15:59:37+01:00
    ci: add perfetto into mesa git-cache
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8821
    
    Fixes: 8aff2281276c ("ci: Enable building the testing drivers with perfetto.")
    Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23611>
    (cherry picked from commit c4357c6c498010677eff37a7730bdab2cbd7ff1d)
    
  • f449edb6
    by Emma Anholt at 2023-08-10T15:59:37+01:00
    freedreno/a5xx: Skip emitting unused texture descriptors for images.
    
    In that case, we'd emit it to DST_OFF=255+i, angering the hardware
    mightily.  This was missed in the addition of a6xx image support.
    
    Fixes: 2e0ea3f09c79 ("freedreno/ir3: add image/ssbo <-> ibo/tex mapping")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24358>
    (cherry picked from commit a297624182218b24d5accb975101448b0bf97077)
    
  • f9aa9aec
    by Mike Blumenkrantz at 2023-08-10T15:59:37+01:00
    zink: add batch refs for transient images
    
    ensure these don't get deleted while in use
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
    (cherry picked from commit 5ac2291c6bc3ad5c9af991a9f53dc79a30a98434)
    
  • e43486bd
    by Mike Blumenkrantz at 2023-08-10T15:59:37+01:00
    zink: fix zs resolve attachment indexing
    
    this has never been tested until now
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
    (cherry picked from commit 300cbedc78b93d8603bf57442e75923f042427b3)
    
  • 1d3b7bcc
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    zink: don't add VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT for transient images
    
    this is illegal
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
    (cherry picked from commit 751407a59ab9e91d2a94fa32a7de3228c1733f4d)
    
  • c98f0701
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    zink: don't append msrtss to dynamic render if not supported
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
    (cherry picked from commit 2630a89b720abbb8d9d08b8a9002ca82f33ce759)
    
  • ea74bc9d
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    zink: set msrtss depth resolve mode when enabled
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
    (cherry picked from commit cf8fe9baec320a6a7b09b7c1bc700527e5dc0663)
    
  • 9ff9bbab
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    zink: add more locking for pipeline cache
    
    this ensures the size remains constant for entry updates
    
    fixes #9494
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24559>
    (cherry picked from commit 1c1e09249c4b5850c98cb6adf8c2d128c862920c)
    
  • 9cfa7060
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    aux/trace: fix winsys handle dumping
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24493>
    (cherry picked from commit 8dd26910204ab638d756179de7d42b522df2879e)
    
  • 974a74f7
    by Lionel Landwerlin at 2023-08-10T15:59:38+01:00
    hasvk: fix null descriptor handling with A64 messages
    
    This replicates the same fix we did for Anv and null descriptors with
    A64 messages from commit efcda1c530 ("anv: fix null descriptor
    handling with A64 messages").
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Ivan Briano <ivan.briano@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17545>
    (cherry picked from commit 0e5b4b1b437423751639dec865daf3dcbfb11233)
    
  • af8a6776
    by Eric Engestrom at 2023-08-10T15:59:38+01:00
    .pick_status.json: Mark e1ff7893ba7f8773eb462cf19d524d2c3cdb624b as denominated
    
  • 57ba6878
    by timmac-qmc at 2023-08-10T15:59:38+01:00
    glsl: fix potential crash with DisableUniformArrayResize
    
    We still need to gather information on uniform use when skipping
    uniform array resize.
    
    Fixes: ac5af6c0 ("util/driconf: add Dune: Spice Wars workaround")
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24576>
    (cherry picked from commit ae5a08de67b53cc4d40c7f2afa96996326a91bc5)
    
  • 0be3be7c
    by Mike Blumenkrantz at 2023-08-10T15:59:38+01:00
    llvmpipe: block weird uses of subsampled formats in buffers
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>
    (cherry picked from commit 632d4de2144f6dfb3095d8453980f72c4f5bfa23)
    
  • 700bf5d3
    by Mike Blumenkrantz at 2023-08-10T21:42:16+01:00
    llvmpipe: fix early depth + alpha2coverage + occlusion query interaction
    
    in this scenario, sample counting must happen before a2c, as a2c may eliminate
    coverage if alpha is zero, leading to a sample count of zero
    
    dEQP-VK.fragment_operations.early_fragment.sample_count_early_fragment_tests_depth_alpha_to_coverage_samples_4_maintenance5
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>
    (cherry picked from commit ce09458917f434c1fdc4b4c73007ee6fe07bcdd7)
    
  • ee1c5ffe
    by Mike Blumenkrantz at 2023-08-10T21:42:16+01:00
    lavapipe: fix resolves where src image has a layer offset
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>
    (cherry picked from commit 9e2f95eae3d405237a12fc92337c9386a3ee47e1)
    
  • 115101f0
    by Mike Blumenkrantz at 2023-08-10T21:42:16+01:00
    lavapipe: block yuv formats from getting blit feature flags
    
    this is illegal
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>
    (cherry picked from commit cee494aafdd2ad1fcf7da76647442f3f4d7c063b)
    
  • 6029e2d7
    by Mike Blumenkrantz at 2023-08-10T21:42:16+01:00
    zink: explicitly set non-optimal last_vertex_stage shader key on ctx create
    
    this otherwise results in generated gs not having the flag set, which breaks
    various things
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24568>
    (cherry picked from commit ccc195c3a32535de20127c43d0644174af8eaf6b)
    
  • 54067b53
    by Mike Blumenkrantz at 2023-08-10T21:42:16+01:00
    zink: fix big tcs output io
    
    as in the producer case, big io needs to reserve the appropriate number
    of slots
    
    fixes:
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-float-index-rd-after-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-float-index-wr-before-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec2-index-rd-after-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec2-index-wr-before-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec3-index-rd-after-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec3-index-wr-before-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec4-index-rd-after-barrier,Fail
    spec@arb_tessellation_shader@execution@variable-indexing@tcs-output-array-vec4-index-wr-before-barrier,Fail
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24568>
    (cherry picked from commit ee6ba2bb571ab9202670b6294277f83713bbe25c)
    
  • 8cdf5a5c
    by Eric Engestrom at 2023-08-10T21:42:16+01:00
    .pick_status.json: Mark 58625686637a7a140d0ac1795f5cb2fbe426ca2b as denominated
    
  • 3a18a8c0
    by Eric Engestrom at 2023-08-10T21:42:16+01:00
    .pick_status.json: Update to ee6eadb65ab7e09aa4ffaf4e6c7676fb7c51e86e
    
  • af79a3e9
    by Eric Engestrom at 2023-08-10T21:42:16+01:00
    .pick_status.json: Mark 58ba2bcc8c185f8ebb74b863b76c1b65eb78206f as denominated
    
  • 0f0fcdd4
    by Eric Engestrom at 2023-08-10T21:42:16+01:00
    .pick_status.json: Mark ac00f5a361ccf8ec9188d0d3256bf2e1ebc767ba as denominated
    
  • de8707b7
    by Eric Engestrom at 2023-08-16T11:48:03+01:00
    .pick_status.json: Update to daa1f789b57aae7a23eecd4c337b79cfe1f081cf
    
  • 793d8b87
    by Friedrich Vock at 2023-08-16T11:48:14+01:00
    radv: Handle VK_SUBOPTIMAL_KHR in trace layers
    
    vkQueuePresentKHR might return VK_SUBOPTIMAL_KHR which is not VK_SUCCESS
    but presentation succeeded anyway. We should capture a trace even if
    VK_SUBOPTIMAL_KHR is returned.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24052>
    (cherry picked from commit b8edd19358eaba847de3063b24f2ab0dd6f69f14)
    
  • d6c50114
    by Eric Engestrom at 2023-08-16T11:48:16+01:00
    panfrost: upcast uint8/uint16 before shifting them beyond their range
    
        ../src/panfrost/compiler/compiler.h:89:14: runtime error: left shift of 51966 by 16 places cannot be represented in type 'int'
            #0 0x55c72fd7dda4 in bi_apply_swizzle ../src/panfrost/compiler/compiler.h:89
            #1 0x55c72fd808d6 in bi_source_value ../src/panfrost/compiler/bi_opt_constant_fold.c:35
            #2 0x55c72fd80a83 in bi_fold_constant ../src/panfrost/compiler/bi_opt_constant_fold.c:52
            #3 0x55c72fb2080c in constant_fold_pred ../src/panfrost/compiler/test/test-constant-fold.cpp:48
            #4 0x55c72fb21a65 in ConstantFold_Swizzles_Test::TestBody() ../src/panfrost/compiler/test/test-constant-fold.cpp:103
            #5 0x55c73070cc97 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ../src/gtest/src/gtest.cc:2621
            #6 0x55c7306f0df7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ../src/gtest/src/gtest.cc:2657
            #7 0x55c730694add in testing::Test::Run() ../src/gtest/src/gtest.cc:2696
            #8 0x55c73069798d in testing::TestInfo::Run() ../src/gtest/src/gtest.cc:2845
            #9 0x55c73069b684 in testing::TestSuite::Run() ../src/gtest/src/gtest.cc:3004
            #10 0x55c7306ccfcb in testing::internal::UnitTestImpl::RunAllTests() ../src/gtest/src/gtest.cc:5890
            #11 0x55c73071053c in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ../src/gtest/src/gtest.cc:2621
            #12 0x55c7306f4ed3 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ../src/gtest/src/gtest.cc:2657
            #13 0x55c7306c23fa in testing::UnitTest::Run() ../src/gtest/src/gtest.cc:5455
            #14 0x55c730748faf in RUN_ALL_TESTS() ../src/gtest/include/gtest/gtest.h:2314
            #15 0x55c730748ffa in main ../src/gtest/src/gtest_main.cc:63
            #16 0x7f8554bcc1c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
            #17 0x7f8554bcc284 in __libc_start_main_impl ../csu/libc-start.c:360
            #18 0x55c72fb18be0 in _start (/builds/mesa/mesa/_build/src/panfrost/compiler/bifrost_tests+0xbd0be0)
    
    Cc: mesa-stable
    Signed-off-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24610>
    (cherry picked from commit 54c7099087fc400a3afba1062b4fa7f66569651c)
    
  • b69ef888
    by Derek Foreman at 2023-08-16T11:48:16+01:00
    vulkan/wsi: Allow binding presentation_timing when software rendering
    
    The presentation timing extension is used for doing WaitForPresent
    properly, but we accidentally bind it after an early return intended to
    stop us from binding dmabuf when software rendering.
    
    Remove the early return.
    
    cc: mesa-stable
    
    Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24588>
    (cherry picked from commit 5ba5bcf2b60c233a53014a6b5a32b82d8631b7e1)
    
  • bf2ec0fc
    by Janne Grunau at 2023-08-16T11:48:22+01:00
    asahi,agx: Fix stack buffer overflow in agx_link_varyings_vs_fs
    
    Discovered while running dEQP-EGL under address sanitizer.
    
    Fixes: f3877f56ba7 ("asahi,agx: Rewrite varying linking")
    Signed-off-by: Janne Grunau <j@jannau.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
    (cherry picked from commit 3f8894b0f7c32856a868e255445610ee82efdf70)
    
  • 3b9e8afd
    by Janne Grunau at 2023-08-16T11:49:09+01:00
    asahi,agx: Upload constant buffers immediately
    
    The lifetime of the constant buffer's user_buffer is not guaranteed
    to last until agx_upload_uniforms.
    Fixes the same ASAN issue mesa/mesa!21685 is trying to address.
    
    Fixes: 080b05e29e1 ("asahi: Add Gallium driver")
    Signed-off-by: Janne Grunau <j@jannau.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
    (cherry picked from commit d6ee12a4d72eeeafea423ff385b79647693983cc)
    
  • a6fc5a73
    by Samuel Pitoiset at 2023-08-16T11:50:00+01:00
    vulkan: ignore VkPipelineColorWriteCreateInfoEXT if the state is dynamic
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24601>
    (cherry picked from commit ce0c70fb0c696d311e624fadc3890dad0534d8c5)
    
  • 2cdeef1c
    by David Heidelberg at 2023-08-16T11:50:09+01:00
    ci/deqp: really remove the uncompressed results.csv file
    
    Arguments are parsed in order, so the `-c` here causes that first `--rm`
    won't get applied and then it gets overriden by `-o` which writes the file.
    
    Sadly zstd won't report this as a issue, but that's being reported in [1],
    so maybe in future versions zstd will warn about it.
    
    [1] https://github.com/facebook/zstd/issues/3719
    
    Fixes: d110299d77c9 ("ci/deqp-runner: compress results.csv before uploading it to GitLab")
    
    Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24651>
    (cherry picked from commit 9bf104f9348d5e7a04268399a5d68523e886d487)
    
  • d9e47fae
    by David Rosca at 2023-08-16T11:50:10+01:00
    frontends/va: Ignore requested size when creating VAEncCodedBufferType
    
    The buffer data is not directly accessible to application and it's
    internally used to only store VACodedBufferSegment struct.
    Ignore the size requested by application and instead allocate
    sizeof(VACodedBufferSegment). Use calloc to zero out the struct.
    
    This can save significant amount of memory, for example FFmpeg
    will request up to tens of MB for single buffer.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6462
    
    Reviewed-by: Thong Thai <thong.thai@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24410>
    (cherry picked from commit 7bcbfae87c9039ebb01f7287403bf5666ca8d64e)
    
  • 655030d6
    by Mike Blumenkrantz at 2023-08-16T11:50:55+01:00
    zink: fix crash in lower_pv_mode_gs_store
    
    src->parent can be null
    
    Fixes: 39770c6503a ("zink: fix store subsitution in `lower_pv_mode_gs_store`")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24642>
    (cherry picked from commit 04dbb556c282a13e510ade21d6e24ee4d1bf90e8)
    
  • 494c9b2b
    by Rhys Perry at 2023-08-16T11:53:20+01:00
    aco: summarize register demand after handling branches
    
    Fixes various dEQP-VK.ray_query.builtin.rayqueryterminate.* crashes.
    
    fossil-db (gfx1100):
    Totals from 196 (0.15% of 133461) affected shaders:
    PreSGPRs: 8342 -> 8558 (+2.59%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Fixes: 5a536eca9ca7 ("aco: calculate correct register demand for branch instructions")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24579>
    (cherry picked from commit efb80c171553ad4205d29bb6273627bdbe7208ed)
    
  • 962263dc
    by Mike Blumenkrantz at 2023-08-16T11:53:22+01:00
    u/draw: skip zero-sized indirect draws
    
    cc: mesa-stable
    
    Acked-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24631>
    (cherry picked from commit 581f6fb7c8fd37104eb8921bc13f9227d2e763e2)
    
  • 19d2cdcf
    by Eric Engestrom at 2023-08-16T14:49:57+01:00
    .pick_status.json: Mark b2f6de8f0d86b8143084212f970af072780fc201 as denominated
    
  • b761892f
    by Mike Blumenkrantz at 2023-08-16T14:49:57+01:00
    zink: unset primgen suspended flag when ending a primgen query
    
    this otherwise could result in rast-discard being permanently enabled
    in certain corner cases
    
    Fixes: 7f956435a03 ("zink: rework xfb queries for drivers with poor primgen support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24676>
    (cherry picked from commit 4f743df4f00a346a14edaccda35e035e5224233c)
    
  • 7c1b0cb7
    by Paul Gofman at 2023-08-16T14:49:57+01:00
    driconf: add a workaround for Captain Lycop: Invasion of the Heters
    
    CC: mesa-stable
    
    Tested-by: Timothy Arceri <tarceri@itsqueeze.com>
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24639>
    (cherry picked from commit 6a2a36d7ddc4a227fa71337e88112555418cff42)
    
  • 0831a424
    by Rhys Perry at 2023-08-16T14:49:57+01:00
    aco: don't create sendmsg(dealloc_vgprs) if scratch is used
    
    LLVM does something similar: https://reviews.llvm.org/D153295
    
    fossil-db (gfx1100):
    Totals from 21 (0.02% of 133461) affected shaders:
    Instrs: 147428 -> 147396 (-0.02%)
    CodeSize: 797188 -> 797060 (-0.02%)
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    Fixes: 2930317cea53 ("aco/gfx11: deallocate VGPRs at the end of the shader")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24669>
    (cherry picked from commit c9b177db0e51c96a297466ba2fc8a9b6a11e124f)
    
  • b7a08337
    by Mike Blumenkrantz at 2023-08-16T14:49:57+01:00
    nir/zink: fix gs emulation xfb_info sizing
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24634>
    (cherry picked from commit df238e8fc092a9be6c9994c1d681eb3aa03d966f)
    
  • e7f421f0
    by Julia Tatz at 2023-08-16T14:49:57+01:00
    gallium/dri: fix dri2_from_names
    
    `createImageFromNames` uses fourcc, not dri_image_formats
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8547
    Fixes: 433ca3127a3 ("st/dri: replace format conversion functions with single mapping table")
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24597>
    (cherry picked from commit c4133a110def6a20dbff9ffc4531108475420fcc)
    
  • 0e958a7c
    by Julia Tatz at 2023-08-16T14:49:57+01:00
    aux/trace: fix set_hw_atomic_buffers method name
    
    Fixes: b2dc63ed8ce ("aux/trace: Add pipe_context::set_hw_atomic_buffers")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24482>
    (cherry picked from commit 9d1da9ec20217c21338dc6f9e1077cf19ac2fb61)
    
  • 982722eb
    by Karol Herbst at 2023-08-16T14:49:58+01:00
    nv50: fix code uploads bigger than 0x10000 bytes
    
    The hardware has a max limit on how much data we can upload in one go via
    the 2D engine. Just split the uploads up.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9571
    Acked-by: M Henning <drawoc@darkrefraction.com>
    Signed-off-by: Karol Herbst <git@karolherbst.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24706>
    (cherry picked from commit 7f63d2ebdbc4c29a58c768787e0551e8a6bd411b)
    
  • 2a66890d
    by Dor Askayo at 2023-08-16T14:49:58+01:00
    nouveau: add exported GEM handles to the global list
    
    Adding GEM handles to the global list is necessary to allow
    maintaining a single reference count for handles that are shared
    between multiple buffer objects.
    
    Since exported handles can end up being shared with other buffer
    objects, as in the case that drmPrimeHandleToFD() and gbm_bo_import()
    are called externally to Mesa, they too must be added to the global
    list.
    
    Unfortunately, doing this properly requires a new libdrm API. Use
    the best possible option for now.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9552
    
    Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
    Acked-by: Karol Herbst <git@karolherbst.de>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24648>
    (cherry picked from commit daa1f789b57aae7a23eecd4c337b79cfe1f081cf)
    
  • db4a5245
    by Eric Engestrom at 2023-08-16T18:18:58+01:00
    docs: add release notes for 23.1.6
    
  • 0697ac0d
    by Eric Engestrom at 2023-08-16T18:19:13+01:00
    VERSION: bump for 23.1.6
    

30 changed files:

The diff was not included because it is too large.

Reply to: