Mesa (22.0): 64 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 19 18:10:57 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8194a93115a9b68401ba0a354512b2302f5e9cc
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu May 19 11:08:07 2022 -0700

    VERSION: bump for 22.0.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e91e2931039a0959e9a740364d413b9469938ea
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu May 19 11:06:58 2022 -0700

    docs: add release notes for 22.0.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfe805750b2cb9c3f6c3158ad276ffb1bcfbd0c9
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu May 19 10:06:22 2022 -0700

    ci: Some panfrost tests are unexpectedly passing.
    
    That's good, I guess?

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0844c6c618c2864e9ab608b629a662e5203d6b11
Author: Pavel Ondračka <pavel.ondracka at gmail.com>
Date:   Tue Feb 8 15:46:36 2022 +0100

    r300: guard for unsigned underflow when unrolling loops
    
    If we by some chance end with more instructions than the maximum
    amount we can handle, for example from previous branch lowering,
    we would underflow while calculating the number of unrolling
    iterations and unroll till OOM.
    
    Fixes OOM in gnome-shell 42
    
    Signed-off-by: Pavel Ondračka <pavel.ondracka at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14992>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d40d80e3872efb25e8187e10c16dce80842c2d4c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:28:37 2022 -0400

    zink: stop leaking shader image surfaces
    
    the code here was fine for checking the base resource unbinds and whatever,
    but it never actually destroyed the surfaces/bufferviews created,
    which meant they were always being leaked
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 1526df283c3659d510066f58b152597ea15913a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a87a630efbd365458e2f5c6280c3e848b50619a9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:28:08 2022 -0400

    zink: copy incoming shader image struct after doing updates
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 2df1c061688c14d51ad3eeaab886bb7ae4a6172a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56f8047947dac4f9c4bc6497070bda525c83475b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:25:30 2022 -0400

    zink: read shader image r/w usage from incoming data struct
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 32a77b1e255c5213124200076160902928a07830)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=507ace17b9e0df9b61a58f1aba0179b717363f50
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:23:10 2022 -0400

    zink: simplify dumb update flagging in set_shader_images
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit a3dff53487bceb42230d525daa9ac57694dc98a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67a8137be4c148a95f270d6eff3eff605aee9b5e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:22:50 2022 -0400

    zink: reuse local res pointer in set_shader_images
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 22954b486067e08780ba5a1679edfbad7f23c45a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=722686d7292cc84ff02a4938a7b95743dcfa35c4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:18:17 2022 -0400

    zink: remove refs from shader images
    
    these have implicit refs from the surface/bufferview that gets created,
    so adding a ref here is redundant and less performant
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit d0df4889707e94a7bae6a9f6b4092b00f1b42b2a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a73d7b14a96d37816ff748c4ba94bca112b86cec
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Thu May 12 13:59:30 2022 -0500

    nir: Preserve metadata if remove_dead_derefs makes no progress
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16482>
    (cherry picked from commit c23b20d43a03634bf528f9870cdd5b0159a69eb4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf34bbd908c3c48e116381d34212533a89a5b3f0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:59:31 2022 -0400

    zink: fix sparse texture depth calcs for arrayed textures
    
    use the array, not the depth
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 1126f42781d87162eb827794b7446b3619e067af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a758e2265dc679397c60b963e448e5c3d4b7adc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:03:16 2022 -0400

    zink: fix sparse binding for arrayed textures
    
    this needs to set the arrayLayer, not the z offset
    
    big thanks to Piers Daniell for catching this
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 377f5e7af958101160907f125a0349df8cec934a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e86e9bfb0c110ca18bf67b42214964f7940a9a1
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:02:51 2022 -0400

    zink: clamp out min_lod operands for explicit lod ops
    
    this is illegal (and nonsensical)
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 63dc39ac9047fce206ac11b6e556b6e9a0f8a07b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=090cccbc1bdcb366fe318249a3fba07cc105e6f5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 09:26:22 2022 -0400

    zink: fix up sparse texture sampling for shadow samplers
    
    the problem here is that this returns a vec2 instead of a vec5, which
    throws all the existing calculations off
    
    given that the shader is (still) expecting a vec2 return from this,
    and there's no way to sanely rewrite with nir to be valid for both
    sampler types as well as spirv translation, just pad out to a vec2
    here and be done with it
    
    Fixes: 73ef54e3424 ("zink: handle residency return value from sparse texture instructions")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 88912b31119a14ffc99087781a17eeb4af202866)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72d812f03caf3734a47b9803dd08608fc5cb6609
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed May 11 18:22:46 2022 -0400

    radeonsi: fix a crash when failing to create a context
    
    When shader_query_buffers is NULL, the code treated as as non-empty.
    
    Fixes: 792a638b032d "radeonsi/gfx10: implement streamout-related queries"
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466>
    (cherry picked from commit 6515b3b2dc0f4fed6faea8988137d09b0fd67f21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67e5c0100ca3385af2b8d87968d75d94f2420620
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon May 16 10:05:33 2022 -0700

    .pick_status.json: Mark 5a3aee78cbb70918b413cdd40dffcae7c9e97d8c as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33d015fb1ad6eb750c3e2770658279105be3a1bf
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon May 16 10:05:29 2022 -0700

    .pick_status.json: Update to 5c90eb1c53f46e86717c6bf4d5253dd23c4dac1f

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5011970ff3991a27b4853b6d6f56559fd7619c43
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Mon May 9 20:28:28 2022 +0300

    pps: Open writable renderer node in DrmDevice::create
    
    DrmDevice::create_all correctly opened the node with O_RDWR, while
    DrmDevice::create was not, causing failure to create writable buffer.
    
    Fixes pps-config on Freedreno.
    
    Fixes: 1cc72b2aef82373247466c2e7b81970c867ad0fa
    ("pps: Gfx-pps v0.3.0")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Reviewed-by: Antonio Caggiano <antonio.caggiano at collabora.com>
    Reviewed-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16406>
    (cherry picked from commit 6bf4ae002aa252824ee3c80e485b16ae1ffd73a4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c4f1b25f1fb6a672edeba03fddd5db4396410f8
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu May 5 20:29:05 2022 +0300

    tu: Do not flush ccu in clear/blits during renderpass
    
    For clear/blits ccu flush not only worse for perf, but also messes up
    flush_bits when executed in a conditional set of commands.
    
    We already don't flush for 3d blits.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6419
    
    Fixes: 487aa807bd1b70602fcb6fbdabd101d4cff7c07b
    ("tu: Rewrite flushing to use barriers")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16352>
    (cherry picked from commit 187d3df52c77b92bb8002f90818b0a9fce8a7e1a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9825f35a5b697055041eb562a3b1631c731e9164
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Apr 27 16:05:44 2022 +0200

    anv: disable streamout before emitting mesh shading state
    
    Fixes tests which use secondary command buffers.
    
    Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
    Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
    (cherry picked from commit aa1c128b54b31580367d97107660c11cb94e0b98)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4242ced033264ff3466d3cdc927bdc58fde61f36
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Thu Apr 21 17:26:52 2022 +0200

    anv: update task/mesh distribution with the recommended values
    
    Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
    
    Acked-by: Caio Oliveira <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
    (cherry picked from commit f083df87108231005889b7af92f0cad7c61e1f81)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ac7c858fd5c2b94d6241f3451e4df87a600ad13
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu May 12 15:47:58 2022 +0300

    tu: Fix indices of drm_msm_gem_submit_cmd when filling them
    
    For some reason CTS doesn't trigger the issue...
    When submit entry is not filled - kernel says:
     [drm:msm_ioctl_gem_submit] *ERROR* invalid type: 00000000
    
    Fixes: dbae9fa7d8412252c96e53ef3d50f4349969928a
    ("tu: implement sysmem vs gmem autotuner")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16474>
    (cherry picked from commit 9a11ad7efd56d28e1c83aaec5cecb7fa7720fc90)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44ff27acc75f37f5970f6381eafb8aeccc594705
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed May 11 14:49:12 2022 +0200

    radv: disable DCC for Senra Kagura Shinovi Versus
    
    To workaround an issue with feedback loops in D3D9 with DCC in GENERAL,
    until we can fix it properly with a new extension.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6469
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Martin Roukala <martin.roukala at mupuf.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16452>
    (cherry picked from commit b5b2bcab543c62491d35fc838834625a136fea4c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b9e180d20035bbcc57ccd94e7f47daf89826a95
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed May 11 14:57:13 2022 +0200

    amd: fix ac_build_mbcnt_add in wave32 mode
    
    add_src was ignored and i32_0 was always used.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Fixes: 1e49018cedf ("amd: Add extra source to the mbcnt_amd NIR intrinsic.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
    (cherry picked from commit db2fd0ca83f4f2000eae87f4e7915d775833393a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0777e3a4d3715101cef7d24a7a77fa8be943bec
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Mon May 9 22:20:12 2022 +0200

    radeonsi: don't use wave32 for GE on gfx10 if culling is used
    
    This is a workaround for issue #6457: it fixes the rendering and
    prevent the hang but I can't explain why.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6457
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
    (cherry picked from commit 1f3156460781d4ebd9dfb2ff6b9f176259cc5959)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ecad9dfcb57edf3597fa57b4e928f32b57a459b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri May 13 09:57:08 2022 -0700

    .pick_status.json: Update to 57293dee2b11ba7e52052edc4d0437f08db19144

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)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9a5743cd9fe4e2365ee5479745eec6b3d35f34f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 3 12:13:55 2022 +0100

    aco/ra: fix vgpr_limit
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Fixes: b98a4d4dd7e ("aco: refactor GPR limit calculation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16297>
    (cherry picked from commit 1b639a0ce5b239ff06f1dfc8256f6512cb260144)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2981d3fa715ec9a5eb2320dbb441770412a43bc6
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon May 2 13:59:55 2022 -0400

    nir: Don't set writes_memory for reading XFB
    
    That's a read, not a write. Fixes optimizations getting disabled for fragment
    shaders when linked with a shader producing transform feedback varyings.
    
    Fixes: 85a723975bb ("nir: add and gather shader_info::writes_memory")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16285>
    (cherry picked from commit ca280b2283dacaeef0a43e5585c50ed4f0db6a83)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e99274fd699ddec3d2d3480181cdc5b77b0aeea
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Apr 26 23:21:08 2022 -0400

    ac/llvm: set the correct cache policy for sparse buffer loads
    
    The DLC bit was missing on gfx10.
    
    Fixes: 6d5e26752c664c "ac/nir: implement sparse image/texture loads"
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16215>
    (cherry picked from commit 0cd59c7cb0e75c100e8540cc89f5fc80486190fe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb7d783b0257292c97f2c6eec61dccae23b68d66
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 4 15:52:22 2022 -0700

    .pick_status.json: Update to 7f91e8fad94dd34f83c6a124dbbe5d210be7715f



More information about the mesa-commit mailing list