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

[Git][xorg-team/lib/mesa][debian-experimental] 56 commits: .pick_status.json: Update to 22be0d09a005b4b955a46b65a919cfd786d6814f



Title: GitLab

Timo Aaltonen pushed to branch debian-experimental at X Strike Force / lib / mesa

Commits:

  • 84faa6b4
    by Eric Engestrom at 2022-11-30T21:12:29+00:00
    .pick_status.json: Update to 22be0d09a005b4b955a46b65a919cfd786d6814f
    
  • 755eb337
    by Alyssa Rosenzweig at 2022-11-30T21:12:42+00:00
    pan/mdg: Fix out-of-order execution
    
    We can go up to 15 instructions out of order (performance fix) but we
    can't go past a branch (bug fix).
    
    Fixes: 30a393f4581 ("pan/mdg: Enable out-of-order execution after texture ops")
    Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19762>
    (cherry picked from commit 044428211c99be2ce362cc28e4596929958a5de6)
    
  • 531fa051
    by Christian Gmeiner at 2022-11-30T21:12:42+00:00
    etnaviv: Hide MSAA support behind debug flag
    
    With the current level of MSAA support we have some real world rendering
    problems in Chromium/Skia (issue #7678). Convert the MSAA support to an
    explicit opt-in by settings ETNA_MESA_DEBUG=msaa.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19870>
    (cherry picked from commit 4f5e59d1146a6d14f57d4f215a08a149bb8bf40c)
    
  • 79488fd1
    by Yonggang Luo at 2022-11-30T21:12:42+00:00
    gallivm: use valid LLVM_VERSION_MAJOR instead of LLVM_VERSION
    
    Partial of: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7680
    Fixes: 203920d4c69 ("gallivm: add atomic 32-bit float support")
    
    Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Eric Engestrom <eric@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19926>
    (cherry picked from commit b461921ed80abe357cb90f63db3dfc0a1390423c)
    
  • 394d7edb
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    zink: fix json-errors in profile-file
    
    There's some stray commas here, let's get rid of them.
    
    Fixes: 2ea481b2f0a ("Zink: add Zink profiles file")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit b707cf24a3b4f446e45738f031598eeb6c0a5b6b)
    
  • e58d2222
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    zink: remove needless requirements
    
    We never required the uniform texel buffer bit for more than
    bufferFeatures for a bunch of these formats.
    
    Similarly, we *don't* need the uniform texel buffer bit for sampled
    image access.
    
    For the image-dimensions, the Mesa frontend doesn't validate the max 1D,
    3D or Cube sizes, nor the max texture layers. So we'll expose GL 4.1
    without these, even if that's not conformant.
    
    Finally, we don't require robustImageAccess2 for OpenGL 4.3 at all. All
    we need is the robustBufferAccess feature.
    
    Fixes: 2ea481b2f0a ("Zink: add Zink profiles file")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit b60bc5299253f8e3bbab7c3e44b0f91a91e8dba3)
    
  • f1eb8b2f
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    zink: fix incorrect requirements
    
    These were in the wrong list all along.
    
    Fixes: a466c2a7839 ("zink: check for stores and atomics features")
    Fixes: 2644835f039 ("zink: add missing required feature")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit 754353c4170918f592e499a370dc90c60c271cff)
    
  • 556b945d
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    zink: update textureCompressionBC requirement
    
    The mesa state-tracker can now emulate all formats indicated by this
    feature-flag, so we don't require this for OpenGL 4.2 any more.
    
    It's however a good idea to support for power-usage and performance
    reasons, saving on memory bandwidth. So let's move it to the
    gl46_optimal block instead.
    
    Fixes: e4ff42684b9 ("mesa/st: enable bptc extension with fallback")
    Fixes: 2ea481b2f0a ("Zink: add Zink profiles file")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit 13bccac5a7d930c809927e69ba7305330fb8a9be)
    
  • 836db826
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    docs/zink: add missing required device-feature
    
    Seems I forgot to add this to the list of required features.
    
    Fixes: eb0195358c4 ("zink: only inspect dual-src limit if feature enabled")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
    (cherry picked from commit a2a0ac21e4f5a7c873e1bab05dee02a61171e378)
    
  • 962ec6f8
    by Dawn Han at 2022-11-30T21:12:42+00:00
    venus: extend lifetime of push descriptor set layout
    
    Signed-off-by: Dawn Han <dawnhan@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18988>
    (cherry picked from commit 91966f2eff17cc7c95ca8a89ac40d5d211e5b407)
    
  • 1bd40d41
    by Dawn Han at 2022-11-30T21:12:42+00:00
    venus: extend VkPipelineLayout lifetime for batched VkCmdPushConstants()
    
    Signed-off-by: Dawn Han <dawnhan@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18988>
    (cherry picked from commit 19f2b9d0bbd71ba218962a26434507e70f6cde98)
    
  • 11b106cc
    by Dawn Han at 2022-11-30T21:12:42+00:00
    venus: implement vkCmdPushDescriptorSetWithTemplateKHR
    
    Signed-off-by: Dawn Han <dawnhan@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18988>
    (cherry picked from commit 933ca11f1a48b19fea088edfcf5177779083d7b5)
    
  • bf8bec01
    by Dawn Han at 2022-11-30T21:12:42+00:00
    venus: enable VK_KHR_push_descriptor
    
    Signed-off-by: Dawn Han <dawnhan@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18988>
    (cherry picked from commit 505a5bc79fa051781878df32603a505356c389bd)
    
  • a2617ca3
    by Alyssa Rosenzweig at 2022-11-30T21:12:42+00:00
    panfrost: Revert "Require 64-byte alignment on imports"
    
    This reverts commit 811f8a19469722bea32f3c539b8cf0939fe3b057. As Alpine put it
    -- this is causing more problems than it's fixing. Hotfix to revert the
    offending commit until a more measured fix can be implemented.
    
    Closes: #7731
    Cc: mesa-stable
    Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
    Reported-by: Jan Palus
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19993>
    (cherry picked from commit 4b19725ee525f6f0b5785436680cea63a21445a1)
    
  • 74a9e975
    by Marek Olšák at 2022-11-30T21:12:42+00:00
    st/vdpau: fix interop with GL
    
    Fixes: e00bb6cb98b - mesa/st: use tracked samplerview swizzle values
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7751
    
    Tested-By: Veerabadhran.Gopalakrishnan@amd.com
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19961>
    (cherry picked from commit c70eec86efd9ca2faa1f66fcaf42cc37360dcb5e)
    
  • 2e369e60
    by Erik Faye-Lund at 2022-11-30T21:12:42+00:00
    mesa: treat unsupported queries as dummies
    
    It's legal in OpenGL to start a query even if the result will have zero
    valid bits. It's not enough to just report zero bits, We need to also
    prevent calling down into the driver with these invalid queries.
    
    Because ARB_ES3_compatibility adds ANY_SAMPLES_PASSED and
    ANY_SAMPLES_PASSED_CONSERVATIVE to the set of queries that support zero
    bits, we also need to check for the corresponding indices.
    
    Fixes: 0186e9e1c51 ("mesa: always support occlusion queries")
    Reviewed-by: Soroush Kashani <soroush.kashani@imgtec.com>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19750>
    (cherry picked from commit 1b1e8873fe90e878f014140b3b6bd1e5dbfb5a4c)
    
  • 5cda9f52
    by Samuel Pitoiset at 2022-11-30T21:12:42+00:00
    radv: re-emit dynamic depth clamp enable if depth clip enable changed
    
    The depth clamp mode depends on depth clip enable/disable.
    
    Fixes: e48c0fbd8f7 ("radv: add support for dynamic depth clamp enable")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19843>
    (cherry picked from commit de4de09a56c421ec1194dea016c3b9ef80abbb83)
    
  • cd01442b
    by Eric Engestrom at 2022-11-30T21:12:42+00:00
    .pick_status.json: Mark 470fbb35efe1935242b346427ec0fa22b40fff2b as denominated
    
  • 0c6af758
    by Gert Wollny at 2022-11-30T21:12:42+00:00
    virgl: Fix injection of double from const mov instruction
    
    We only copy two components, we have to use the complete original source,
    and we should rewrite the new source from scratch to avoid incorrect
    dimension and indirect handling.
    
    Fixes: 036d7172c (virgl: Move double operands to a temp to avoid double-swizzling bugs)
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19975>
    (cherry picked from commit d5217b024eac4e725a671b1c3992ab282c9c50f1)
    
  • 78a07aa9
    by Rhys Perry at 2022-11-30T21:12:43+00:00
    ac/nir: mask shift operands
    
    NIR shifts are defined to truncate the shift amount to the number of bits
    needed to represent the bit-size of the value shifted. LLVM treats large
    shifts as poison. This fix achieves NIR semantics for shifts.
    
    As an example, a|(b << 32), where "a" is 32bits, should produce a|b
    according to NIR (because 32&31 == 0).
    
    This caused LLVM to incorrectly optimize "(a >> c) | (b << (32 - c))" to a
    u2u32(pack_64_2x32(a, b) >> c) (v_alignbit_b32), when the original NIR
    should have returned "a | b" if c==0.
    
    Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Mihai Preda <mhpreda@gmail.com>
    Reviewed-by: Qiang Yu <yuq825@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19966>
    (cherry picked from commit 064336d35977abd0d5b6ed37784c6cc42cf4f66f)
    
  • dd7e8d3c
    by Samuel Pitoiset at 2022-11-30T21:12:43+00:00
    radv: make sure to mark DCC as compressed on GFX11
    
    The bit has moved to FDCC_ENABLE on GFX11.
    Found by inspection.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20005>
    (cherry picked from commit ccac91db7bbf3b428ad4138e0982c54636b4b96c)
    
  • 1b08bbe2
    by Bas Nieuwenhuizen at 2022-11-30T21:12:43+00:00
    radv: Use correct init order for ETC2 image views
    
    Fixes: d9048e31a0d ("radv: Use vk_image_view as the base for radv_image_view")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit c6ec4925c0688cef557beb65c280b28ef3185132)
    
  • a8e2fa73
    by Bas Nieuwenhuizen at 2022-11-30T21:12:43+00:00
    radv: Fix sampler types in ETC2 decode.
    
    Otherwise we'd have a type mismatch vs texture fetches, which
    is asserted upon these days.
    
    Fixes: 1153db23f58 ("radv: Add ETC2 decode shader.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit eab61863c0bd6b08bfc7c28d96cd99f49856e449)
    
  • 6c2a5ad0
    by Bas Nieuwenhuizen at 2022-11-30T21:12:43+00:00
    vulkan: Remove asserts that weren't valid for RADV ETC2 emulation.
    
    Wasn't caught when radv was modified to use these helpers ...
    
    Tried to move the aspects assert so it still checks application inputs.
    
    Fixes: d9048e31a0d ("radv: Use vk_image_view as the base for radv_image_view")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914>
    (cherry picked from commit 13d755441c7b648e4f6671d833a6d58ada9ae32d)
    
  • 1869c2eb
    by Sviatoslav Peleshko at 2022-11-30T21:12:43+00:00
    driconf/intel: Use fake vendor to WA bad detection in Source engine games
    
    Source engine uses flawed device detection in Linux native OpenGL backend,
    which causes it to use bad configurations for Intel devices and thus
    not always render correctly. Workaround this by using vendor string that
    does not include "Intel" in it.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7725
    Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19828>
    (cherry picked from commit 478ffe712765b5746482d37df32fff36e12192ef)
    
  • a47ce0b9
    by Lucas Stach at 2022-11-30T21:12:43+00:00
    etnaviv: always use RS align when GPU has TEXTURE_HALIGN feature
    
    Due to a logic bug we didn't always up-align the resource when the GPU
    has the TEXTURE_HALIGN feature, which broke the RS blit when we need
    to blit into a sampler shadow from a multi-tiled render target.
    
    Fixes: 735718ed33b2 ("etnaviv: move etna_layout_multiple into etnaviv_resource.c")
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19991>
    (cherry picked from commit fd06b313b010adb6c6e9a7c30ab55163397f4d47)
    
  • 27b92b13
    by Lucas Stach at 2022-11-30T21:12:43+00:00
    etnaviv: rs: fix blits with insufficient alignment for dual pipe operation
    
    Up-aligning the blit height does not always work, as some blit targets
    have a smaller padded height. Fall back to single pipe operation if
    increasing the height alignment fails. Still try to do it opportunistically
    as it improves performance when resolving MSAA targets.
    
    Fixes: 0ff96aaef3b1 ("etnaviv: rs: fix MSAA alignment adjustment")
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19991>
    (cherry picked from commit 797454edfcc4d2a6d0c21db451e9a0ea6e0a8023)
    
  • ac18e931
    by Martin Roukala (né Peres) at 2022-11-30T21:12:43+00:00
    Revert "glx: Fix drawable refcounting for naked Windows"
    
    This reverts commit 768238fdc06eed3dce36da3baf811cb70db42b5c which
    is not only leading to memory leaks, but also reportedly breaks KDE
    pretty badly.
    
    Fixes: #7674, #7435
    Acked-by: Michel Dänzer <mdaenzer@redhat.com>
    Acked-by: Tapani Pälli <tapani.palli@intel.com>
    Acked-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19972>
    (cherry picked from commit 0cee008fee1dc0365cfb767ff7acf03f2127a03b)
    
  • e13d53e1
    by Martin Roukala (né Peres) at 2022-11-30T21:12:43+00:00
    Revert "glx/dri: Fix DRI drawable release at MakeCurrent time"
    
    This reverts commit 31b04e420b0eb080084c6323066ea0b83929d59e which
    is also breaking KDE in some ways.
    
    Fixes: #7674
    Acked-by: Michel Dänzer <mdaenzer@redhat.com>
    Acked-by: Tapani Pälli <tapani.palli@intel.com>
    Acked-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19972>
    (cherry picked from commit ea3f73ba85be46dcb9712b43fef52b09cfae643b)
    
  • a318f3c8
    by Lucas Stach at 2022-11-30T21:12:43+00:00
    etnaviv: blt: use correct TS offset in clear operations
    
    Using the ts_offset from the level means we are always clearing the
    TS region of layer 0 of the level. Use the correct offset which takes
    into account the layer offset.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19814>
    (cherry picked from commit d9e2a7d6adace0a794c7147f0a5bab43277e5fa6)
    
  • fe062fe1
    by Lucas Stach at 2022-11-30T21:12:43+00:00
    etnaviv: fix wrong surface TS clear size
    
    Clearing ts_size - ts_offset bytes in a level means we are clearing the
    TS region of all layers in the level starting from the surface layer, so
    clearing one surface might corrupt all other layers of a resource level.
    Use the correct size to clear only the requested TS region.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19814>
    (cherry picked from commit b6fa3cdb0e693f49cdc278ed5923bb9dc048ccbb)
    
  • 3aa65abd
    by Bas Nieuwenhuizen at 2022-11-30T21:12:43+00:00
    radv: reserve space for the scissor in vkCmdBeginRendering.
    
    Fixes: c7d0d328d56 ("radv: Set the window scissor to the render area, not framebuffer")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20014>
    (cherry picked from commit a97a6d0f0e78c637f7aa4d907e608043efb51528)
    
  • d6f992b1
    by Konstantin Seurer at 2022-11-30T21:12:43+00:00
    radv/ray_queries: Fix AABB handling
    
    AABB intersections always have to be committed manually.
    -> We don't have to copy opaque ones to closest.
    
    It's also invalid to query t for candidate AABBs.
    
    Totals from 7 (14.29% of 49) affected shaders:
    CodeSize: 171008 -> 169672 (-0.78%)
    Instrs: 32499 -> 32250 (-0.77%); split: -0.78%, +0.01%
    Latency: 418859 -> 414759 (-0.98%); split: -0.98%, +0.00%
    InvThroughput: 89182 -> 88251 (-1.04%); split: -1.05%, +0.00%
    VClause: 602 -> 599 (-0.50%)
    SClause: 837 -> 835 (-0.24%)
    Copies: 4804 -> 4802 (-0.04%); split: -0.35%, +0.31%
    Branches: 1593 -> 1585 (-0.50%)
    PreSGPRs: 567 -> 566 (-0.18%)
    
    Fixes: 3f72061 ("radv/rq: Use the common traversal helper")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19698>
    (cherry picked from commit 0966fb2c10025398fc048361a9898ba2d56b4f9b)
    
  • 3148738a
    by Konstantin Seurer at 2022-11-30T21:12:43+00:00
    radv/rt: Check space before emitting descriptors
    
    Found by inspection.
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20020>
    (cherry picked from commit c5d91ab254e59bedfc0faf71cfc46531d9be4ea8)
    
  • 94b2aebf
    by Gert Wollny at 2022-11-30T21:12:43+00:00
    r600/sfn: always use four slots for Cayman trans ops
    
    This is a partial revert of
      ed6204eb0 (r600/sfn: only use 3 channels on Cayman for trans ops)
    
    The scheduler and/or optimizer passes generate faulty code when
    we use only three slots as decribed in the spec. So for now disable
    this optimization.
    
    Fixes: ed6204eb0 (r600/sfn: only use 3 channels on Cayman for trans ops)
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7774
    
    Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20034>
    (cherry picked from commit 28c7684eb9a898089844376193d8332b5f58f3d8)
    
  • 3f80abc1
    by Mauro Rossi at 2022-11-30T21:12:43+00:00
    AOSP: Add intel_hasvk vulkan library suffix
    
    Required to correctly install vulkan.intel_hasvk.so module
    after commit 50013ca9 ("intel: add a hasvk vulkan driver")
    
    In order to set property ro.hardware.vulkan as 'intel_hasvk' for the correct iGPU parts at init stage,
    i915 'graphics version' can only be detected by means of /sys/kernel/debug/dri/0/i915_capabilities
    and debugfs needs to be mounted at early-init stage
    
    https://review.lineageos.org/c/LineageOS/android_device_lge_g3-common/+/19875
    
    Cc: "22.3" mesa-stable
    Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Acked-by: Tapani Pälli <tapani.palli@intel.com>
    Tested-by: Mauro Rossi <issor.oruam@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20048>
    (cherry picked from commit ea10b0fc7add2ad9dd486e69b5b5e7aca3c422f7)
    
  • d4f0c6a3
    by Erik Faye-Lund at 2022-11-30T21:12:43+00:00
    d3d12: fix max-array-layers
    
    We used to need this, because we incorrectly multiplied the cube array
    sizes by 6. Now that this has been fixed, we can actually support the
    OpenGL 4.1 limit for this.
    
    Fixes: 7118b2136e9 ("d3d12: Don't multiply cube array sizes by 6")
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19780>
    (cherry picked from commit acc0039aecec661e55e2dd90554a1d08a39d677c)
    
  • a569c68e
    by Roman Stratiienko at 2022-11-30T21:12:43+00:00
    meson: Enable system_has_kms_drm for android
    
    This allows to build libgbm when  system = 'android'  is set in
    the cross_file.
    
    Cc: "22.3" "22.2" mesa-stable
    Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
    Acked-by: Mauro Rossi <issor.oruam@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20033>
    (cherry picked from commit 09ac29cca9bf7978911f81bcfce12ce71c260a97)
    
  • 304005ff
    by Connor Abbott at 2022-11-30T21:12:44+00:00
    tu: Use right enum for compute active_shader_stages
    
    This is VkShaderStageFlags, not VkPipelineStageFlags. Fixes preloading
    descriptors for compute dispatches.
    
    Fixes: d862a2ebcbf ("turnip: Only emit descriptor loads for active stages in the pipeline.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20059>
    (cherry picked from commit 0a0a04bdaa6faf1dd3e937f7087ae1c4f240c916)
    
  • 7a285492
    by Karol Herbst at 2022-11-30T21:12:44+00:00
    nir/lower_int64: fix shift lowering
    
    Starting with !19748 lowered 64 bit shifts were showing wrong results for
    shifts with insignificant bits set.
    
    nir shifts are defined to only look at the least significant bits. The
    lowering has take this into account.
    
    So there are two things going on:
    1. the `ieq` and `uge` further down depend on `y` being masked.
    2. the calculation of `reverse_count` actually depends on a masked `y` as
       well, due to the `(iabs (iadd y -32))` giving a different result for
       shifts > 31;
    
    Fixes: 41f3e9e5f5d ("nir: Implement lowering of 64-bit shift operations")
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19995>
    (cherry picked from commit 5398dd04bf62db100639d96c84a8c41041f4ad01)
    
  • e8aededf
    by Sajeesh Sidharthan at 2022-11-30T21:12:44+00:00
    radeonsi/vcn: set current pic index correctly
    
    video corruption observed while running decode test for av1
    content in chromeos.
    
    solution is when target buffer is found in render pic list and when
    target codec is null, set curr_pic_indx as index to the
    pic in render pic list.
    
    Cc: mesa-stable
    Signed-off-by: Sajeesh Sidharthan <sajeesh.sidharthan@amd.com>
    Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20000>
    (cherry picked from commit 8b99e96dc8b44a747824b9d227a72e68012ec520)
    
  • fdde4e62
    by Yiwei Zhang at 2022-11-30T21:12:44+00:00
    venus: fix android wsi with global fencing disabled
    
    Fixes: b21e4a7990c ("venus: put android wsi on the sub-optimal path")
    
    Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20049>
    (cherry picked from commit 6148ccef6372e634ea4875b75419bfdc64e6b219)
    
  • 3955e725
    by Jessica Clarke at 2022-11-30T21:12:44+00:00
    panfrost/blend: Fix invalid const values leading to NIR validation errors
    
    Using a designated initializer like this leaves padding bits, which form
    part of the aliasing u64/f64 member of the union, uninitialised, but a
    nir_const_value must always have the unused bits zeroed out. Thus, use
    the nir_const_value_for_float helper instead like everywhere else which
    will do a memset 0 for us first.
    
    Without this, using the pan_blend shader in a build with validation
    enabled fails with:
    
      NIR validation failed after nir_lower_vars_to_ssa
      ...
                vec4 32 ssa_58 = load_const (0x3f7cfcfd /* 0.988235 */, 0x3f7cfcfd /* 0.988235 */, 0x3f7cfcfd /* 0.988235 */, 0x3f800000 /* 1.000000 */)
      error: memcmp(val, &cmp_val, sizeof(cmp_val)) == 0 (../src/compiler/nir/nir_validate.c:976)
    
    Fixes: 1378c67bcf9e ("panfrost/blend: Inline blend constants")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20071>
    (cherry picked from commit 750325730bb84981f68d78b205fb0cec1e165100)
    
  • da6c352d
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: introduce RADV_DEBUG=nofmask
    
    To disable MSAA compression on MSAA images. This will also allow us to
    emulate GFX11 (FMASK has been removed) and to experiment 32 byte
    descriptor sizes.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19613>
    (cherry picked from commit cf7b96a83f66f150bca5df2f510ed6951497d9c6)
    
  • 49d1eae7
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: set missing SPI_SHADER_PGM_xxx registers on GFX11
    
    Found by inspection.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
    (cherry picked from commit 62715a6d039a7f2499ceca78476ebd42a5a03068)
    
  • 488f186c
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: set INTERPOLATE_COMP_Z to 0 on GFX11
    
    Ported from RadeonSI to fix a EQAA bug.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
    (cherry picked from commit 9b637aa9a17fd14c63b821629fb30d5fc4875df0)
    
  • ed0cb790
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: do not enable DCC for MSAA images without FMASK
    
    I don't know how this is supposed to work, especially for fast clears
    because CMASK should be cleared to 0xC but FMASK implies CMASK.
    This fixes a bunch of MSAA test failures on GFX10.3 with
    RADV_DEBUG=nofmask.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
    (cherry picked from commit 84a7138d3cfca05fbd623707525b9d4479a27e94)
    
  • a3013b1d
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: do not enable NGG culling on GFX11
    
    RadeonSI disables it as well. It's really unclear if it will help or
    not (eg. NGG culling never helped on GFX10).
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
    (cherry picked from commit 5d552b4f6cbfcb4bf14e3a0bdce01cc00eb61073)
    
  • b3929424
    by Samuel Pitoiset at 2022-11-30T21:12:44+00:00
    radv: disable VRS entirely on GFX11
    
    Based on registers, VRS changed a lot and it's unclear how to program
    it. This disable VK_KHR_fragment_shading_rate, VRS flat shading and
    RADV_FORCE_VRS.
    
    Cc: 22.3 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20054>
    (cherry picked from commit 80072df8246f580a4c7d31fb82a9f746c3e1ba8d)
    
  • d28350a8
    by Connor Abbott at 2022-11-30T21:12:44+00:00
    tu: Fix binding NULL descriptor sets
    
    This fixes the new test
    dEQP-VK.pipeline.pipeline_library.graphics_library.misc.other.null_descriptor_set_in_monolithic_pipeline.
    
    Fixes: e9f5de11d40 ("tu: Initial implementation of VK_EXT_graphics_pipeline_library")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20057>
    (cherry picked from commit 515c9a2e0754bd8a12b0d0b708ce4b0dba29102e)
    
  • a5841169
    by Connor Abbott at 2022-11-30T21:12:44+00:00
    ir3: Don't save/restore disasm string pointer
    
    It's not in the key, so it randomly may or may not be present, and if it
    is present then we don't actually save/restore the contents, so we will
    save/restore random pointer values from the last run. Turnip already
    disables searching the shader cache when assembly is requested, but
    still wrote the final ir3_shader_variant which resulted in trying to
    save random stale pointers when saving off the executable if a
    subsequent compile hit that cache entry.
    
    This fixes flakes in
    dEQP-VK.pipeline.pipeline_library.shader_module_identifier.pipeline_from_id.*
    for me.
    
    Fixes: 56909868cd1 ("turnip: implement VK_KHR_pipeline_executable_properties")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20056>
    (cherry picked from commit 8ba2d612d51497b274ff9c4213e1c373b9bb1ca5)
    
  • 1df8ddaf
    by Eric Engestrom at 2022-11-30T21:12:44+00:00
    commit_in_branch.py: add support for checking staging branches
    
    Or any branch that contains a `/` slash.
    
    Cc: mesa-stable
    Signed-off-by: Eric Engestrom <eric@engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19988>
    (cherry picked from commit 707015891fc65dcf5b0b2601aa78f1fb33a01f39)
    
  • 32552010
    by Eric Engestrom at 2022-11-30T21:28:51+00:00
    VERSION: bump for 22.3.0
    
  • 0f07705e
    by Timo Aaltonen at 2022-12-01T08:55:04+02:00
    Merge branch 'upstream-unstable' into debian-experimental
    
  • 8eb471f5
    by Timo Aaltonen at 2022-12-01T09:05:03+02:00
    version bump
    
  • e1382d8e
    by Timo Aaltonen at 2022-12-01T12:07:25+02:00
    release to sid
    

30 changed files:

The diff was not included because it is too large.

Reply to: