Mesa (staging/22.0): 33 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 11 04:22:52 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4de455d644c27b171756b9ad6f4bc17d6773c837
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 21:16:23 2022 -0700

    .pick_status.json: Mark f1d1371e512e32d03f7f54d873020e589ee67d47 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d41a60dc3956df3da30d199fdc8c39e105ceff8c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:14:19 2022 -0700

    .pick_status.json: Mark 8c1d9c7b744b2e5b40fd42cfd51256b16deea6a8 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38e697f814a0f104f859115dd25b463e1cf4bbb1
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:14:14 2022 -0700

    .pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c37206c951373eb2bc728d80d32f069ba217c77c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:49 2022 -0700

    .pick_status.json: Mark ae369e9f6d4f2c826f1f2a748c32a14f9d5f1f54 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=755eb461ff403a7ceae5de07cc65fa76c22d1a04
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:48 2022 -0700

    .pick_status.json: Mark 0e49ef5c9f2ec34567613226ad498edca28bce88 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65872884a3dec1ec98a5cbbcf92cdd4dfa52b94f
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:47 2022 -0700

    .pick_status.json: Mark 9a412c10b7a96adf71c9a2ca44a0abca75de1c49 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85503b62845580d02ed1800407fe062a69049a6b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:46 2022 -0700

    .pick_status.json: Mark 5ff3fa5912778adb8117fa26bfe4786b583e741b as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ba3c374d6a58ad53a509f52923d74a15a62b033
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:45 2022 -0700

    .pick_status.json: Mark 6317f88b044501354a052064478d5b43dfe41809 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=108336bab3a2a038916ea9ab6118590e6137e5cd
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:13:42 2022 -0700

    .pick_status.json: Mark c025cb9ee9d79ebfb66a577556e04deecfe012ed as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dfe76c8f3b3b2e63475e2d160491f0eac9686ae
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Apr 20 10:51:48 2022 +0300

    nir/lower_shader_calls: put inserted instructions into a dummy block
    
    When moving code into the main block or loop blocks, put the code into
    its own :
    
        if(true) { ... }
    
    block so that we avoid break/continue/return issues.
    
    v2: Also take care of the main block with return instructions
    
    v3: Make deletion more obvious with dummy if blocks (Jason)
    
    v4: Fixup assert for loops (Lionel)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
    (cherry picked from commit 35d82ecf1ee117bef575731100fa6ae532f225fc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=513cb0fe49be233848f4164d96986940c21269bf
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Apr 20 10:54:36 2022 +0300

    nir/lower_shader_calls: don't insert code after break/continue
    
    When moving code from below to the insertion cursor point, if the
    cursor points to a jump instruction, don't bother inserting the code.
    It would break the break/continue assumptions of NIR and would not be
    executed anyway.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
    (cherry picked from commit 9cf986dcff3c4364aacea5f36afdae7c3d3957f5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac77157661771631e940e13c947ede63aeff0d8f
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue Apr 19 15:11:17 2022 +0300

    nir/lower_shader_calls: don't use nop instructions as cursors
    
    Stop using nop instructions which are causing issues with
    break/continue, instead use a nir_cursor (which brings its share of
    pain).
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 8dfb240b1f06 ("nir: Add raytracing shader call lowering pass.")
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
    (cherry picked from commit 51dea59eb44f80a7a59d76c77798216a05f2b8e3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73abaddcf6d3b3652a425be6777872d8fe0b19f6
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Tue Apr 26 08:53:31 2022 -0500

    nir/cf: Return a cursor from nir_cf_extract as well
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
    (cherry picked from commit 25661ea028b4d904693b165cd43bb42a6d2d99a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb6b1a7c017516b328dfb2aa5aebd1d893b0046b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue Apr 19 15:05:04 2022 +0300

    nir/cf: return cursor after insertion of cf_list
    
    This will be useful to cut code from one location and paste it at
    another place and later keep pasting after the previous insertions.
    
    v2: update comment (Jason)
        deal with stiching 2 empty blocks (Jason)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036>
    (cherry picked from commit d65cf403f30e7b6d0d67f94c095687ae1724ff68)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=359ef453092c71348b44e18ae69570c595c76dfa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat Apr 23 11:40:48 2022 -0400

    gallivm: fix oob txf swizzling
    
    this wasn't taking into account the format swizzle, returning broken
    alpha values in most cases
    
    Fixes: 0b6554ba6f2 ("gallivm,llvmpipe: handle TXF (texelFetch) instruction, including offsets")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
    (cherry picked from commit f5caaf2d750184deee2b991a7f2e2cded9980a94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=832ab28ffdc6f88ca579903d62f134b4fc8ed29c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat Apr 23 09:39:06 2022 -0400

    llvmpipe: always set ssbo data pointers for draw
    
    skipping these would lead to reading the previously-set data if
    a null buffer was set after a valid buffer
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
    (cherry picked from commit 6a219f318af7282ba26318364e1138f0d91a3908)

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

    st/draw_feedback: set constant buffer stride
    
    these shaders all do float-based reads, so using vec4 for robustness
    checks breaks gallivm
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16137>
    (cherry picked from commit a51e83b74e04ad47d7e61113aef3db2db53f2e8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dce56ea2d030ee2e1a3c39686ffb641bbcdcba4f
Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Sat Apr 16 13:36:17 2022 +0200

    nir/opt_algebraic: Fix mask in shift by constant combining.
    
    The comment above is correct, but the code to calculate the mask was broken.
    
    No Foz-db changes outside of noise.
    
    Fixes: 0e6581b87dc ("nir/algebraic: Reassociate shift-by-constant of shift-by-constant")
    Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15990>
    (cherry picked from commit 66e917fff69497143ebf6593a40891ea3d1daf93)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14530ee71c481d928bdc6fff4b3071f5f77594c0
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Mon Apr 18 12:03:35 2022 -0500

    gallium/u_threaded_context: Use PIPE_MAX_SHADER_SAMPLER_VIEWS for sampler_buffers
    
    Sampler views and samplers may not be the same limit; in fact one is 32
    while the other is 128.  The sampler_buffers field is tracking sampler
    views (yes, naming is confusing) so we should use the right limit.
    
    Fixes: e9c41b321488 ("gallium/u_threaded: add buffer lists - tracking of buffers referenced by tc")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15988>
    (cherry picked from commit 620c5e9dd05c57c253fa1e56218e88fe7bd23d86)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=338674fda9e2ef0495d184691aed5ffe605e42ea
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Dec 10 23:51:06 2021 +1300

    pan/mdg: Fix multiple spilt writes in the same bundle
    
    If two instructions in a single bundle both write to a spilt
    destination, then we need to reuse the fill and spill instructions,
    otherwise the value will be overwritten.
    
    This and the rest of this set of Midgard bug fixes were found from a
    vertex shader in Firefox WebRender that is used when a video is
    clipped, for example by setting the border-radius CSS property.
    
    CC: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
    (cherry picked from commit c65afe541b764a75da68b6bf83aca60d72f88916)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a957eb9096a7fae8ec353de2969384a5f0b32e3
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Dec 10 23:50:00 2021 +1300

    pan/mdg: Return the instruction from mir_insert_instruction_*_scheduled
    
    We can't return a pointer to the bundle itself because it might move
    about in memory.
    
    CC: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
    (cherry picked from commit 7b9c976c2dabf07050efb1c9d0deb82d57efa944)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c827eaf1ad6b462b3b784249764297cace91b9cb
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Dec 10 23:40:01 2021 +1300

    pan/mdg: Fix mask usage when filling before a spill
    
    Check the bytemask against 0xFFFF rather than 0xF so that the fill is
    skipped for a .xyzw write rather than a .x write.
    
    Set the mask on the store to 0xF when doing a read so that all
    components are written back.
    
    Fixes: 31d26ebf1b9 ("pan/mdg: Fill from TLS before spilling non-SSA nodes")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
    (cherry picked from commit c750ab8a389b82795bb1509250711671c19f583d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad03b1d952e1a9a60ee277cd16021fe8e064149
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Dec 10 23:44:25 2021 +1300

    pan/mdg: Use MAX2 to set min_alignment
    
    If a value is written in a vector CSEL but then written again by other
    instructions, it still needs full alignment, so set min_alignment
    using MAX2 to avoid ever reducing it.
    
    Fixes: 1798f6bfc33 ("pan/midgard: Fix masks/alignment for 64-bit loads")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
    (cherry picked from commit b281843974aa86594288ca3c096eedf9965739f5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6da3379921656a411bb2edb3a816ee9d44429009
Author: Icecream95 <ixn at disroot.org>
Date:   Tue May 10 10:40:49 2022 +1200

    pan/mdg: Keep min_bound at 16 when alignment requires it
    
    Otherwise LCRA will try to divide by zero when calculating m_max.
    
    Fixes: 553c2cf16b7 ("pan/mdg: Set RA bounds for fp16")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16382>
    (cherry picked from commit b1ecb90941c9b3d9a9780b9dbb264e7b3b097fdb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5fd6fe9b280343d012d82e73c41549ddf686878
Author: Thomas Debesse <dev at illwieckz.net>
Date:   Mon Apr 25 09:01:01 2022 +0200

    gallium/clover: pass -no-opaque-pointers to Clang
    
    Clang opaque pointers have been enabled by default
    but the Clover code currently expects them to be disabled.
    
    Signed-off-by: Thomas Debesse <dev at illwieckz.net>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6342
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16129>
    (cherry picked from commit 06e9607478b780c9bcc6e08d69cfbe9020b4602c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b648c3f596e5d7efb824003b1f72fc4f9aa93a58
Author: Icecream95 <ixn at disroot.org>
Date:   Thu Apr 14 13:30:39 2022 +1200

    nir/lower_tex: Copy more fields in lower_tex_to_txd and friends
    
    Fixes NIR validation errors for OpenMW on Panfrost.
    
    Fixes: 1f97819fbe5 ("panfrost: Emulate GL_CLAMP on Bifrost")
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15939>
    (cherry picked from commit ad864a7c150a15221fb9c85d3214d4bcb6db7518)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23af31e24a156c2936038cfa5e3341ca447f194
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Mar 17 11:03:18 2022 -0700

    anv: advertise rectangularLines only for Gen10+
    
    We use the non-strict algorithm (with parallelograms) prior to Gen10 for
    wide lines.  We can not advertise rectangularLines.
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Fixes: f6e7de41d7b ("anv: Implement VK_EXT_line_rasterization")
    Reviewed-by: Ivan Briano <ivan.briano at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15432>
    (cherry picked from commit b2b810ebff657b3d24d93a1fdbd6adc79bc38153)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf759c06906ff1b766297ffeb97475716779e137
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:04:41 2022 -0700

    .pick_status.json: Mark 69e6417e19793043e4bb3cd500cfcf377bce4c03 as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdcaeb33fc09759ba3ea065592f265fae4870d0b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 26 08:32:54 2022 -0400

    util/blitter: fix sampler restore with 0 saved samplers
    
    in a sequence where a driver saves 0 sampler/views before calling
    u_blitter, the previous state of having 0 sampler/views bound would
    not be restored as expected, resulting in stale sampler/views which
    could affect behavior before new sampler/views were bound
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16178>
    (cherry picked from commit 38ab178c4addb1e45a61d7fc7aa00f0d5254f5f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8845994bf90499f8fcca7eada3b445dd43c8a9c8
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 10 20:04:30 2022 -0700

    .pick_status.json: Update to 14b1ed1ce105d42652f70e2fd13c90fc4f2e7ffc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74bffa6ba7cdfef89404a0c54032f4e2c3d04275
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 19 13:46:12 2022 +0200

    radv: disable instance packing to fix pipeline query stats
    
    RDNA2 is affected by a hardware bug when instance packing is enabled
    for adjacent primitive topologies and instance_count > 1, pipeline
    stats generated by GE are incorrect. It needs to be applied for
    indexed and non-indexed draws.
    
    This is based on PAL waDisableInstancePacking.
    
    This fixes KHR-GL46.pipeline_statistics_query_tests_ARB.* with Zink.
    
    Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6257
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15877>
    (cherry picked from commit 9348620946e667e9485d010980ac9ffdd0446a23)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=835395f224dd1931bfdb568408a242dac2897484
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Fri May 21 15:31:06 2021 -0500

    vulkan/wsi: Set the right stage flags for semaphore waits
    
    This is currently technically broken for compute.
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16333>
    (cherry picked from commit 233be8ee592a0119501d9459fdafdc94c70902a4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12d7bc9edb7ff4c494820a5f0c9d7432efeafbbb
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue May 3 12:14:38 2022 +0200

    radv: re-emit dynamic line stipple state if the primitive topology changed
    
    The dynamic primitive topology could change from LINE_LIST to
    LINE_STRIP for example and the stipple state depends on this.
    
    Found by inspection.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16295>
    (cherry picked from commit f5cffbb8df7721efc1698ea2289f40b8e6372f9e)



More information about the mesa-commit mailing list