Mesa (staging/21.1): 30 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 20 17:44:01 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35e318f2fab8bdc4ee4bc79b64392322a10e495c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr 19 15:49:54 2021 -0400

    zink: force scanout sync when mapping scanout resource
    
    this is just for unit tests where the scanout object is redundant and
    the only time a flush occurs is from stalling on readback
    
    Fixes: 104603fa763 ("zink: create separate linear tiling image for scanout")
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10239>
    (cherry picked from commit 874535752b497bd8ab49cf97add6de2ed9b16f81)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f8cf816acdf77b8b003cbe8cc620e5e38751847
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 14 12:47:53 2021 -0400

    zink: merge copy-to-scanout path into non-deferred flush path
    
    this eliminates any desync between scanout presentation and clears
    
    Fixes: 104603fa763 ("zink: create separate linear tiling image for scanout")
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10239>
    (cherry picked from commit 2138aef7c925483e5cad25ba897b56d4ef5d4d24)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c835bfc52a4f28911f6d399801ae58add49ef289
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Apr 20 02:29:22 2021 +0200

    amd/common: Use cap to test kernel modifier support.
    
    Turns out both kernel v5.10 and v5.11 have the same amdgpu driver
    version and only one has modifiers ... In addition the version check
    is kinda annoying for backports.
    
    So lets use the cap. Since the cap is technically about ADDFB2 I
    tested that this works on rendernodes (and reading the code there
    is no distinction from what kind of node this is called).
    
    Fixes: 9a937330efb ("radeonsi: Only set modifier creation function for GFX9+ & with kernel support.")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10337>
    (cherry picked from commit 9da4590df8b7d08d51464874987313d230adfee8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ed9152fd17d33820956653cebb4483e5270c14b
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Mon Apr 19 09:43:48 2021 +0200

    panfrost: Reserve thread storage descriptor in panfrost_launch_grid()
    
    If we don't do that the compute batch is left with an empty thread
    storage descriptor, and panfrost_batch_submit() tries to emit an FB
    descriptors using invalid FB information.
    
    Reported-by: Italo Nicola <italonicola at collabora.com>
    Fixes: ff3eada7eb4e ("panfrost: Use the generic preload and FB helpers in the gallium driver")
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Tested-by: Italo Nicola <italonicola at collabora.com>
    Reviewed-by: Italo Nicola <italonicola at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10312>
    (cherry picked from commit 8d9b52f45a6b3fa39feddd16cc4d63b499c12640)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c21bc476fcbe164cc30702eb3fadbfc50693b3d
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 19 08:44:40 2021 +0200

    radv: fix emitting depth bias when beginning a command buffer
    
    If depth bias is enabled but zero values used, they were never
    emitted to the command buffer because they are equal to the default
    values.
    
    Previously, they were always emitted when the bound DS attachment
    changed.
    
    This should fix some sort of Z fighting with Dota2 on all GPUs.
    This also fixes a different issue (ie. some occlusion queries failures)
    on GFX6 because CLEAR_STATE is not used on that chip.
    
    Fixes: 8a47422d977 ("radv: do not scale the depth bias for D16_UNORM depth surfaces")
    Cc: 21.1 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/10310>
    (cherry picked from commit 1d3542694bd26d6a912e558af6421aef8e62758f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de8c1ab62a7a720c8cb58b24923750f19e38b9f4
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 16 09:25:42 2021 +0200

    radv: fix fast clearing depth-only or stencil-only aspects with HTILE
    
    DB isn't coherent with L2 on GFX6-8. This is needed when the
    clear HTILE mask path is selected.
    
    This fixes an issue with avatars in Heroes of The Storm.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3362
    Cc: 21.1 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/10277>
    (cherry picked from commit e4c0724dc6e735da738262de0d26d3e583b746bb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87fe4028c344c9c7de88acd8b9e904542434f94c
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Apr 12 16:20:06 2021 +0200

    gallivm: handle 16-bit input in i2b32
    
    Fixes: dac8cb981f4 ("gallivm/nir: allow 8/16-bit conversion and comparison.")
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10185>
    (cherry picked from commit da5f346e6c63a17352ed8aacd6b1c182a1a9971d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46b9602c75dc14294d9f617a2c0d66de01612ada
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 12:21:36 2021 -0700

    xmlconfig: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 2b69dd68097ef86d3226aa074cb1bab6e6187707)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87b50c6f268dfd159b8b3bb7ed5a764cbac9d0f0
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 12:21:27 2021 -0700

    llvmpipe: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit b678115480757e0c5283ab0de27a056ded984272)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ead3bc28080797948bddcceeef14bb399ce588a
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 11:53:04 2021 -0700

    gallium/aux: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 4a3f0444732fb95883b70bef1b1ffda86af46e4a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70687cdbe62a16da150713dd05a54c4ca7f3a7cf
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 11:52:12 2021 -0700

    shader_enums: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    The warning is triggered when assigning into inputs_read, which is 64bit.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 0e2566a8a7e327b21087e7889d8e8028a5cc5edd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a5ad328d16dcc5017eb0cf99d4b6ce7e793b616
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 10:08:52 2021 -0700

    microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 67b5fba62ae578f4748ec9acd667d7b74644cb3c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a9a89ae07730174b21854cd84c7c0656b142a51
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 10:08:43 2021 -0700

    microsoft/clc: Fix undeclared function warning
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 53786d2eb2d173b2e050dd40c4120a5cc461f0f9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53710c4f9fe58f3ddb287c4371c1c02e1854e83e
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 10:08:15 2021 -0700

    microsoft/clc: Fix MSVC unreferenced variable warnings
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit d641adca6a632740e4158774aa6eebf20739ab22)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77f6ec705a1726044db8699e5e1d3fdb29e173ea
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 10:07:40 2021 -0700

    d3d12: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 1a0fbca1bdf7e27e609d6fc8d7a26cd055fcc7a7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e43d870ac5ce1cfc45287267c876500fef559742
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Apr 19 10:07:21 2021 -0700

    nir: Fix MSVC warning C4334 (32bit shift cast to 64bit)
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-By: Bill Kristiansen <billkris at microsoft.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
    (cherry picked from commit 09440ce3fb0d7f2e66d7b793eb39b9ff2a7dbf8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bf3eb13cb706482575bda9e7385e425d638aa59
Author: Lepton Wu <lepton at chromium.org>
Date:   Mon Apr 19 14:18:58 2021 -0700

    virgl: move new added field to the end.
    
    This field was introduced 2 months ago and it breaks virgl
    compatibility between guest/host. Switch the new added field
    to the end. We will still have compatibility issue but the
    "bug window" is much smaller.
    
    Fixes: e778aceaae0 ("virgl: update headers")
    
    Signed-off-by: Lepton Wu <lepton at chromium.org>
    Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10333>
    (cherry picked from commit 5322572c7825f55e583ccc37a01c4b6f891c9821)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7359a3cc1a51da081b575c5ccd1a8da6a4dbc1e5
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Apr 16 09:24:27 2021 -0700

    meson: OpenMP is supposed to be optional
    
    The code around it checks that it is found, so clearly it was meant to
    be optional, not arequired.
    
    Fixes: cd2832ee5107201493d59f70983f162653e53c7d
           ("meson: add an optional OpenMP dependency for AMD tests")
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Tested-by: Bernd Kuhls <bernd.kuhls at t-online.de>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10286>
    (cherry picked from commit 5b9253c28706f3719bffd147b4fa803c7ef544a7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee3c6aa21a53acf825ddbc274c1e76987a43d724
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 19 11:49:14 2021 -0700

    freedreno/a6xx: Don't try to do Z-as-RGBA blits for mismatched formats.
    
    Fixes piglit crashes doing glCopyTexSubImage from (for example)
    PIPE_FORMAT_Z24_UNORM_S8_UINT to PIPE_FORMAT_Z32_FLOAT_S8X24_UINT where,
    in addition to reading the source Z values incorrectly, we would try to
    dereference the missing separate stencil of the Z24S8 buffer.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10328>
    (cherry picked from commit ed04fd44ca5d7827100b334840c7fa95d38d23ce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5ecf4b534e1dee2741c279fe7a4ddd11b00908e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Apr 19 18:48:09 2021 +0300

    spirv: fix uToAccelerationStructure handling
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 7f223a2329a7d3 ("spirv: Implement SpvOpConvertUToAccelerationStructureKHR")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10324>
    (cherry picked from commit 856953b131d573cab6f304df54b4ba877fb7d52c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09db311555058470daf1d804e48932ab57ad81dc
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Mon Apr 19 13:23:23 2021 +0200

    radv: Fix memory leak on descriptor pool reset with  layout_size=0.
    
    Gotta track those sets too to free them. Alse changed the search
    on destroy to check for set instead of offset since offset is not
    necessarily unique anymore.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4652
    CC: mesa-stable
    Reviewed-by: Joshua Ashton <joshua at froggi.es>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10317>
    (cherry picked from commit a144fa608d606807d8ae3af14000abe450d52907)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e361edbbcf3a138609b7c0e5fec7c3c9a924df5
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sat Apr 17 13:41:10 2021 +0200

    android: panfrost/lib: add pan_cs.c to Makefile.sources
    
    Fixes the following building errors:
    
    FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
    ...
    ld.lld: error: undefined symbol: pan_emit_tls
    >>> referenced by pan_cmdstream.c:2279 (external/mesa/src/gallium/drivers/panfrost/pan_cmdstream.c:2279)
    ...
    ld.lld: error: undefined symbol: pan_emit_fbd
    >>> referenced by pan_cmdstream.c:2302 (external/mesa/src/gallium/drivers/panfrost/pan_cmdstream.c:2302)
    ...
    ld.lld: error: undefined symbol: pan_emit_fragment_job
    >>> referenced by pan_cmdstream.c:2382 (external/mesa/src/gallium/drivers/panfrost/pan_cmdstream.c:2382)
    ...
    ld.lld: error: undefined symbol: pan_emit_bifrost_tiler_heap
    >>> referenced by pan_job.c:718 (external/mesa/src/gallium/drivers/panfrost/pan_job.c:718)
    ...
    ld.lld: error: undefined symbol: pan_emit_bifrost_tiler
    >>> referenced by pan_job.c:723 (external/mesa/src/gallium/drivers/panfrost/pan_job.c:723)
    ...
    ld.lld: error: undefined symbol: pan_fbd_has_zs_crc_ext
    >>> referenced by pan_job.c:893 (external/mesa/src/gallium/drivers/panfrost/pan_job.c:893)
    ...
    clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
    
    Cc: 21.1 <mesa-stable at lists.freedesktop.org>
    Fixes: 387f8c037d38 ("panfrost: Add various helpers to simplify FB desc emission")
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>.
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10299>
    (cherry picked from commit 63c2dfe132452a7da7471d62e7ff91109ef61597)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0514031a0ffd8b49ba37ac503795e0a39b2266e1
Author: Drew Davenport <ddavenport at google.com>
Date:   Tue Mar 9 16:49:47 2021 -0700

    radeonsi: Report multi-plane formats as unsupported
    
    https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6693 added
    NV12 lowering to PIPE_FORMAT_R8_G8B8_420_UNORM, which regressed some
    video decode use cases in radeonsi, for example CtsDecodeTestCases in
    android CTS. There are also discolored frames in video playback use
    cases (i.e. youtube).
    
    https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3632
    previously fixed similar issues in radeonsi. This change takes that a
    step further to report any multi-plane format as unsupported.
    
    Fixes: 826a10255f5 ("st/mesa: Add NV12 lowering to PIPE_FORMAT_R8_G8B8_420_UNORM")
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Tested-by: Simon Ser <contact at emersion.fr>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9490>
    (cherry picked from commit 9b7814779b2d3226ee8c3ed145e30f301ff4b2e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af0926bac0631d27f76f925c23b4da4e7c487558
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 19 13:47:14 2021 +0200

    aco: fix opquantize2f16 on GFX6-7
    
    Make sure to preserve signed zeroes.
    
    Fixes dEQP-VK.spirv_assembly.instruction.compute.opquantize.flush_to_zero
    on GFX6 (Pitcairn). Untested on GFX7.
    
    Fixes: 54a09545ec6 ("aco: optimize a*0.0")
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10319>
    (cherry picked from commit 9434675d607ccdb552d4a3e09bd0ac439d160494)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d518272a6a7deb8f82cdfa2a1d6a56e8af5a006
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 10:20:29 2021 -0400

    zink: fix tcs input reservation for user vars
    
    tcs user vars are var_size[32], which isn't actually how many slots they need,
    just how big the variable is (oops), so this needs to be divided
    by MAX_PATCH_VERTICES to get the real slot count
    
    slot mapping has always been broken for all tcs inputs, but this probably fixes
    all of the related issues there, including unlimited crashes when playing Tomb Raider
    
    Fixes: 2d98efd3232 ("zink: pre-populate locations in variables")
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10269>
    (cherry picked from commit 001c6f820164be6c80b3e0d05b84f083234c90e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54908b2307616a43eef42875ff33cd01a925d87d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 10:23:21 2021 -0400

    zink: fix tcs slot map eval for user vars
    
    tcs user inputs need to have their size adjusted in order to determine whether
    they'll overflow the existing slot map
    
    Fixes: 5c5e1abea24 ("zink: evaluate existing slot map during program init and force new map as needed")
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10269>
    (cherry picked from commit a8ba8eb12f8bc03927effebd926f18952a26f13a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ecd135d036bd92301975c3abb4b344d60701c4e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 15 10:24:33 2021 -0400

    zink: always copy the nir shader before compiling
    
    nir_convert_from_ssa and assign_io_locations both modify this unconditionally,
    the latter of which possibly re-modifies variables in ways that can break the
    slot map and cause stack overflows during vk driver pipeline compilation
    
    Fixes: 2b4609b66cd ("zink: run nir_convert_from_ssa last during compile")
    Fixes: 2d98efd3232 ("zink: pre-populate locations in variables")
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10269>
    (cherry picked from commit a1c7aff88a5390947fe4cba732ff03423e0c517d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e624fba3b418aea719d64396087f60f379272471
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Apr 15 10:17:55 2021 +0200

    zink: fix stencil-export cap emission
    
    This cap should only ever be emitted for fragment-shaders, but we
    accidentally emit it for all shaders. Let's tighten the check to avoid a
    validator warning when emitting non-fragment shaders without support for
    VK_EXT_shader_stencil_export.
    
    Fixes: 8724d4fb361 ("zink: check shader stencil output")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10249>
    (cherry picked from commit d09442461f66955cd1ddc7367a0060db03d0fd0c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a44e69ab1741caedda0c0f3a1c5dabd19260bae
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Mon Apr 19 09:42:00 2021 +0200

    Revert "r600: don't set an index_bias for indirect draw calls"
    
    This reverts commit acdf1a123436cb3fa7d4bbc9cfbb9566c7693de4.
    
    While this commit fixed the gles CTS regressions, it introduced
    regressions that made the driver unusable, hence the revert.
    
    Closes #4657
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10311>
    (cherry picked from commit 1b5851fadb268c03fa607a7dd422c3399c9d4840)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a5f6581a682a4cca08ca103097acabf68fbfa7d
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Tue Apr 20 19:32:16 2021 +0200

    .pick_status.json: Update to 95d9d811c91076d50385b2fbd330335b68688c69



More information about the mesa-commit mailing list