Mesa (21.0): 46 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 24 22:32:09 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2493a5158f4f4233a0fe9cf5cccb5e2ae788d8c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Mar 24 15:31:31 2021 -0700

    VERSION: bump for 21.0.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c370b02fc07a723a80e9fc2c8faadeb8b1216b95
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Mar 24 15:31:25 2021 -0700

    docs: add release notes for 21.0.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aa81b2f0df784b16b4a5a36547025a2a62d4d5e
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Mar 23 14:27:04 2021 -0700

    ci: mark a couple of LLVMPIPE tests as expected pass
    
    They seem to be passing, for some reason.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df950594831f0a52fb94d35824700e48b73514cd
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Mar 23 10:24:15 2021 -0700

    Revert "ci: disable panfrost and radeonsi while the runners are struggling"
    
    This reverts commit 1dd817ff30dd509466825f92b0f12ec916adcd65.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2005c8943a03124f33322877bc52c50c47442cc
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Mar 21 20:48:22 2021 +0100

    android: anv: add libcutils shared dependency
    
    My previous patch merged as 2b1930a50a0b was incomplete
    
    Fixes the following building error:
    
    FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.anv_intermediates/LINKED/vulkan.anv.so
    ...
    ld.lld: error: undefined symbol: property_get
    >>> referenced by os_misc.c:193 (external/mesa/src/util/os_misc.c:193)
    >>>               os_misc.o:(os_get_option) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_util_intermediates/libmesa_util.a
    
    Cc: 21.0 <mesa-stable at lists.freedesktop.org>
    Fixes: eeecc21d935c ("util: Add property_get() fallback for android")
    Fixes: 2b1930a50a0b ("android: radv: add libcutils shared dependency")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Acked-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9744>
    (cherry picked from commit cb4287608a93c3ea62acb7911de84b5360c3b2cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63dfc50c96252c1bf7497d55d5358d561c1c765d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Mar 21 01:47:36 2021 -0400

    nv50: initialize target for blit source surfaces
    
    This target is used to determine whether MS scaling factors are to be
    uploaded.
    
    Fixes: 1288ac7632b3 ("nv50: don't try to upload MSAA settings for BUFFER textures")
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9740>
    (cherry picked from commit 38371ff6286df9108dfbfdb4e1d9cbcf12eff918)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee858c68aacd6a4ebeed93466eebd2fa49435f00
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Thu Mar 4 12:10:55 2021 +0100

    radv: Fix improper max_index_count argument for indexed draws
    
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3598
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9429>
    (cherry picked from commit dad3cda66c88d253c2e8da7e344ff84c88ea15e7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d18eb577a5b47d0f013ae3d1e09343c645a3a6ff
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Mar 21 02:25:09 2021 -0400

    gallium,st: add missing viewport swizzles
    
    Viewports must be initialized with the appropriate swizzles (for
    hardware that supports this feature).
    
    Fixes: 90fcb3fef28 (st/mesa: add NV_viewport_swizzle support)
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9732>
    (cherry picked from commit 3e68e7f90debb8999a62433084a096195f416a4b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0174e19ff882a60c6883bd2eb8ec0c1034893ead
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Fri Mar 19 11:17:54 2021 -0700

    panfrost: Add a Meson dependency on bi_opcodes.h for bifrost_compiler
    
    Fixes: 2d4597de ("pan/bi: Use autogenerated modifiers")
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9719>
    (cherry picked from commit 28bf06f350eef8489ad771e1458579b75150b5fa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4a9a0c95b4cb6a599bb956f004e2598484ec78d
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Wed Mar 10 09:26:13 2021 -0800

    i965/gen11: Fix must-be-ones bit positions in 3D_MODE
    
    Fixes: f0d29238df3 ("i965/gen11: Emit SLICE_HASH_TABLE when pipes are unbalanced.")
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9505>
    (cherry picked from commit b9a7f9314bc1acb64b778f8d9405e0a0e74a6ff2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b223a1e831fcb8fcc0d7c186b8892c0c3d9eb246
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Mar 23 10:23:34 2021 -0700

    .pick_status.json: Update to 277ea7a015cd7df10a9dc65d5def0762cf2e9599

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3074d8a05be7580dab41edbca93d3fbed1b6345a
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Mar 15 13:28:17 2021 +0000

    aco: implement 64-bit VGPR {u,i}find_msb
    
    This can be created by subgroupBallotFindMSB().
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4458
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9654>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=588015eab6ccb9fc113ed026cfc41f9b621ac892
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Fri Feb 12 08:53:58 2021 -0800

    CI: Use a sha for the Windows SPIRV-LLVM-Translator dependency
    
    Acked-by: Daniel Stone (daniels at collabora.com)
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9018>
    (cherry picked from commit f59e6ad5d76b111a2123efa8b1d3f5c2f3c9400d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e5f33d1f8d63fafcf21777afe8927153a8a3dcc
Author: Daniel Stone <daniels at collabora.com>
Date:   Mon Mar 15 20:41:30 2021 +0000

    CI: Try really hard to get updated Windows TLS certs
    
    Windows doesn't actually distribute a full TLS CA certificate store, but
    pulls them in over time with Windows Update. Try to prime it by manually
    pulling the certificates and installing them.
    
    This bumps the Windows tag to force a rebuild.
    
    Acked-by: Michel Dänzer <mdaenzer at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9618>
    (cherry picked from commit e6aacec9e101d6ce91513cb4cdf3361748d0f48e)
    
    Conflicts:
    	.gitlab-ci.yml

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=296053b9e4e360222f69fdc01da7c004b60f4526
Author: Benjamin Tissoires <benjamin.tissoires at gmail.com>
Date:   Fri Jan 29 14:30:23 2021 +0100

    CI: windows: Force using LLVM 12
    
    LLVM is moving to the 13 release, but LLVM-SPIRV is still so in the past.
    Given that LLVM 12.0.0 is still not out (we are at 12.0.0-rc1 today),
    use the `release/12.x` branch for LLVM.
    
    We should also tag LLVM-SPIRV, but... it seems that they haven't caught up
    yet, so keep using the master branch, but add a note for a future
    committer.
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8740>
    (cherry picked from commit 8deca5a72eaf0a014e52e446464be671454414ef)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92af3add353c02b318ff0bf58f96c3549fd8418b
Author: Benjamin Tissoires <benjamin.tissoires at gmail.com>
Date:   Wed Jan 27 15:17:28 2021 +0100

    CI: windows: split the layers to meet new registry requirements
    
    The new registry caching in place for registry.fd.o can not handle layers
    bigger than 5 GB. The last layer we used to build on windows was 5.2 GB,
    meaning that the upload would fail.
    
    Split the layers by calling multiple `RUN`, hoping that the size will be
    roughly split between those steps if we have a special layer for VS2019.
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8740>
    (cherry picked from commit a69ab2ae3693fd817d6ba0d0345aca6931a6c5fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=914f5308c742ceb1075fddf252d1cf533479b255
Author: Benjamin Tissoires <benjamin.tissoires at gmail.com>
Date:   Wed Jan 27 15:21:37 2021 +0100

    CI: windows: augment the timeout of building the windows container
    
    https://gitlab.freedesktop.org/mesa/mesa/-/jobs/6898838 failed at
    uploading the containers but got kicked out right before being able to
    give us a valid error.
    
    Bump the timeout for windows container builds, to not have this
    unfortunate situation.
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8740>
    (cherry picked from commit 0ef1f418bb94d61cff76c4724b079059fb89906b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22272d00b9cdf9e115c5ec57f2ae70f1110dce8d
Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Tue Mar 9 11:53:09 2021 +0100

    aco/tests: Use _exit in child process
    
    Since the child process doesn't call exec(), exit() attempted to run
    atexit handlers registered by the parent process. This could result in
    the child process hanging in exit() if there were still disk cache
    threads alive when the parent process called fork(). (The CI runners
    hit this multiple times when running tests in strace)
    
    Fixes: 6a246f5c6d51 "aco/tests: Fix deadlock for too large test lists"
    Reviewed-by: Tony Wasserka <tony.wasserka at gmx.de>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
    (cherry picked from commit d411691965a2b5c97a81a14e88fc82542b6eade9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b0d4b8d074f03303c9a311476c59f8c74fd0f5e
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Mar 17 11:36:59 2021 +0100

    zink: fix emulation of no mipfilter
    
    This approach is taken from the Vulkan spec[1], where a robust maxLod
    of 0.25 is proposed instead of 0.0.
    
    This has the effect of allowing room for both minification and
    magnification filters, yet still rounding down to the right miplevel in
    the end.
    
    [1]: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerCreateInfo.html#_description
    
    Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9649>
    (cherry picked from commit 539036a990482c9888cb25ba6fa713da132a23d5)
    Conflicts-resolved-by: Dylan Baker <dylan at pnwbakers.com>
    
    Conflicts:
    	src/gallium/drivers/zink/ci/deqp-zink-lvp-fails.txt
    
    This CI file does not exist (and is not used AFAICT) in the 21.0
    branch, so I've removed it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e7f59ef87b081df84928b4cb42f6b680a7053f0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Mar 18 09:47:54 2021 -0400

    compiler/spirv: fix image sample queries
    
    this was only implemented for textures (I assume because drivers which implement
    the corresponding intrinsic don't support multisampled images), but it's also
    used for shader images
    
    Fixes: 22fdb2f8551 ("nir/spirv: Update to the latest revision")
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9682>
    (cherry picked from commit 50881d59e66fbf0be73cf61677754e512956fd84)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9536794c33ee7c721f54e46f29b86484c651aed
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Thu Mar 18 10:15:14 2021 +0100

    aco: Fix constant address offset calculation for ds_read2 instructions.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9678>
    (cherry picked from commit 89c8e22cc65bae26160134145b6c3ef313174713)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74af2631b9ec4fef99866e4f81d433c8b00c00a8
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Mar 16 19:04:08 2021 +0100

    gallium/st: fix shader_has_one_variant
    
    I think we need to care about this here as well, otherwise the variant
    logic might be short-circuited.
    
    Fixes: 7eb5fd98fd1 ("mesa/st: handle running nir lower passes for ucp and psiz in tess stage")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9631>
    (cherry picked from commit 78de2de8f31e8eb94799679618caefe7010f26ed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3887f23bea2af461bd5df8cc10f4a05e53d9c7d
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Mar 16 18:43:37 2021 +0100

    gallium/st: fix shader_has_one_variant
    
    I think we need to care about this here as well, otherwise the variant
    logic might be short-circuited.
    
    Fixes: ad0037fcfe1 ("mesa/st: set lower_point_size for tes/gs during program update")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9631>
    (cherry picked from commit bdfe0e3ef430f756e482384779b75e0ed153396c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aafc4fe93e7b50247a76390f67af0600988c6cde
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Mar 17 20:37:44 2021 -0400

    zink: always use requested format for sampler view creation
    
    this should be fine and good
    
    Fixes: c768c5297a8 ("zink: force stencil format for stencil-only samplers and swizzle the right component")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9673>
    (cherry picked from commit e02d1eb95075b20e4de4008093755f1a72558faa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f8d08e9d5006355f6d0efc78f84250bc1e9dfe
Author: Neha Bhende <bhenden at vmware.com>
Date:   Tue Mar 16 15:20:28 2021 -0700

    gallium/u_vbuf: use updated pipe_draw_start_count while using draw_vbo
    
    new_draw has updated draw count. Stale info in draw caused regression
    with piglit gl-3.0-multidrawarrays-vertexid -indirect
    
    fixes piglit test ./gl-3.0-multidrawarrays-vertexid -indirect
    
    Fixes: 1cd455b17b7a ("gallium: extend draw_vbo to support multi draws")
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Charmaine Lee <charmainel at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9656>
    (cherry picked from commit c6c532faa8cf172715b38783ec7175b626a63944)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb2aa9054ad66dbdaa8d76b6e359d56e22c824f8
Author: Neha Bhende <bhenden at vmware.com>
Date:   Tue Mar 16 15:48:31 2021 -0700

    mesa: set states in fast path for restoring light attributes
    
    Since states were not updated in fast path for restoring light attributes,
    seen darker images in solidworks2012_viewprt.trace
    
    Fixes regression seen with solidworks2012_viewport.trace
    
    Fixes: 7fa9d9d06c4 ("mesa: add a fast path for restoring light attributes")
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9657>
    (cherry picked from commit edbbf4537bf3a8b54afa5f0d73b04a8fa418154b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b442f8cb7bc8b0be347eace65fc6c8e15b0f7d7e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Mar 17 21:30:52 2021 +0200

    intel/fs/vec4: add missing dependency in write-on-write fixed GRFs
    
    If we load constant data using pull constant SENDS, and we later load
    that register with some other data, we can end up in a situation where
    we don't track the initial fixed register write and therefore end up
    using uninitialized registers.
    
    This tracks write-on-write of fixed GRFs like we do for normal virtual
    GRFs.
    
    v2: Fix post_alloc_reg case (Jason)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9667>
    (cherry picked from commit 8b6d22109f452b05ab1ce2028f7e18e50edcf325)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffb2068e03cb67871c22bee21e12674d62f41e38
Author: Hyunjun Ko <zzoon at igalia.com>
Date:   Tue Mar 9 05:47:21 2021 +0000

    ir3: fix has_src() to return correctly in ir3_nir_lower_tex_prefetch
    
    This seems to be originally introduced from 2a0d45ae6c, and 562aaea07c
    misused the method.
    
    Fixes: 2a0d45ae6c "freedreno/ir3: Add a NIR pass to select tex instructions eligible for pre-fetch"
    Fixes: 562aaea07c "freedreno/ir3: respect tex prefetch limits"
    
    Signed-off-by: Hyunjun Ko <zzoon at igalia.com>
    Reviewed-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9125>
    (cherry picked from commit 433cdd1cff28dcd33028a4b6296d9a9fc6f144ed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06333996e606b315705454e96252452803f87494
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Mar 18 09:34:14 2021 -0700

    .pick_status.json: Update to e3f703e4646b57534e49e0975cc3df20bf7b4a54

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1dd817ff30dd509466825f92b0f12ec916adcd65
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Mar 17 11:54:32 2021 -0700

    ci: disable panfrost and radeonsi while the runners are struggling
    
    This is a backport of 0a1c533c6e5ede82f33ac269fcb6bba8e0777262 and
    806c612131f23255ad8235c90ba9845c1b235b11

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69129097c0dc515a67e661057d9d987eab5f69c2
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Mar 17 11:50:09 2021 -0700

    .pick_status.json: Update to 2407952ec99ab1c2a16e01a9e300f799e4d53320

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02b999708deb516f0568c23eb4c40dd164babfd2
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Mar 15 11:37:59 2021 -0700

    .pick_status.json: Mark 8955d179d3e47982ccd67b8aecb0f5bed73d60b6 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=710ecbadf750bb7417ebd55900c889e8cdecb053
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Mar 12 15:13:30 2021 -0800

    anv: Lower ViewIndex to zero when multiview is disabled
    
    Vulkan spec says
    
        If multiview is enabled in the render pass, this value will be one
        of the bits set in the view mask of the subpass the pipeline is
        compiled against. If multiview is not enabled in the render pass,
        this value will be zero.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4446
    Fixes: 0db70703300 ("anv/pipeline: Add shader lowering for multiview")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9574>
    (cherry picked from commit f603a2c25a3efd50ff21a125ee59645bf5599475)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afafb94bc6af173def3618d1e90f6f75076b5cce
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Mar 12 09:19:57 2021 +0100

    frontends/va: fix protected slice data buffer read size
    
    Read vlVaBuffer->size bytes instead of an hardcoded value.
    
    Fixes: deb7dc82f62 ("frontends/va: handle protected slice data buffer")
    Reviewed-by: Zoltán Böszörményi <zboszor at gmail.com>
    Reviewed-by: James Zhu <James.Zhu at amd.com>
    Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9553>
    (cherry picked from commit 9e5623ccc39fe4b4d04421baa87fa01798a10353)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df545c771e99ddfad96ec8bfca16224a321b6932
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Mar 12 08:53:21 2021 -0500

    lavapipe: fix push descriptor set indexing
    
    the push set index isn't always 0, so the offsets need to be updated
    in order to avoid clobbering other sets
    
    Fixes: 6be19765cf2 ("lavapipe: add support for VK_KHR_push_descriptor")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9558>
    (cherry picked from commit 536533f556b5a18df17313202549e90df10b7fe0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9286242e96b631759a62dcdde56dff67f3f98be8
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Mar 11 14:45:14 2021 +1100

    glsl: fix declarations of gl_MaxVaryingFloats
    
    gl_MaxVaryingFloats was not removed from core until 4.20 and is still
    available in compat shaders. Found while writing some new CTS to test
    the correct declarations of this constant.
    
    Fixes: 0ebf4257a385i ("glsl: define some GLES3 constants in GLSL 4.1")
    
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9514>
    (cherry picked from commit 684f97de80b91da828ed45ceda1d4693ea3c05e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e6748c06c4cc01634ab99df550deae9fa3e70ff
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 10 13:19:53 2021 -0600

    intel/fs: Handle payload node interference in destinations
    
    Starting with d0d039a4d3f49, we emit writes to the push constant chunk
    of the payload to stomp out-of-bounds data to zero for Vulkan.  Then, in
    369eab9420cfc, we started emitting shader preamble code for emulated
    push constants on Gen12.5 parts.  In either of these cases, we can run
    into issues if we don't have a proper live range for some of the payload
    registers where they get used for something and then smashed by our push
    handling code.  We've not seen many issues with this yet because it only
    happens when you have dead push constants.
    
    Fixes: d0d039a4d3f49 "anv: Emit pushed UBO bounds checking code..."
    Fixes: 369eab9420cfc "intel/fs: Emit code for Gen12-HP indirect..."
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9501>
    (cherry picked from commit b9e9f92f73df91e0cb64094170ab3ba7fad16f07)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=266cc44c57750a68dbc06e62b32146738ddb4032
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Mar 10 11:18:17 2021 +1100

    Revert "glsl: default to compat shaders in compat profile"
    
    This reverts commit 6c8cc9be12dc5d6c0d2386d6addb69d8f2fb5399.
    
    A spec bug was resolved confirming the original behaviour. Also it
    seems the game Foundation no longer depends on the incorrect
    behaviour.
    
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9486>
    (cherry picked from commit 1772569449c07979487f95e2ab1a73d22fde4b5e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a06e22c3d0ed1bbdcf65be0ace0abf7e50a5c70
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri Mar 5 20:01:05 2021 +0000

    aco: set compr for fp16 exports
    
    Obviously this didn't affect correctness. Not sure about performance.
    
    It also changes enabled_channels to match radeonsi.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: f29c81f863c ("aco: use VOP2 for v_cvt_pkrtz_f16_f32 if possible")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9459>
    (cherry picked from commit 341dd9d834c994d2ea4ccafeda058813a4ae4447)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f84de9cbb12dda2663f21447a8700c6264b493d
Author: Pierre Moreau <dev at pmoreau.org>
Date:   Thu Mar 4 22:52:09 2021 +0100

    spirv: Ignore WorkgroupSize in non-compute stages
    
    If a SPIR-V module contains for example both a geometry and a compute
    shader, when processing the geometry shader its vertices out, input
    primitive and output primitive attributes would get overwritten by the
    value of the WorkgroupSize.
    
    ```
    ; SPIR-V
    ; Version: 1.5
    ; Generator: Khronos; 17
    ; Bound: 12
    ; Schema: 0
                   OpCapability Geometry
                   OpCapability Shader
              %1 = OpExtInstImport "GLSL.std.450"
                   OpMemoryModel Logical GLSL450
                   OpEntryPoint Geometry %main "main"
                   OpEntryPoint GLCompute %main_0 "main"
                   OpExecutionMode %main InputPoints
                   OpExecutionMode %main Invocations 1
                   OpExecutionMode %main OutputTriangleStrip
                   OpExecutionMode %main OutputVertices 4
                   OpExecutionMode %main_0 LocalSize 1 1 1
                   OpSource GLSL 460
                   OpSource GLSL 460
                   OpName %main "main"
                   OpName %main_0 "main"
                   OpModuleProcessed "Linked by SPIR-V Tools Linker"
                   OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
           %void = OpTypeVoid
              %6 = OpTypeFunction %void
           %uint = OpTypeInt 32 0
         %v3uint = OpTypeVector %uint 3
         %uint_1 = OpConstant %uint 1
    %gl_WorkGroupSize = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
           %main = OpFunction %void None %6
             %10 = OpLabel
                   OpReturn
                   OpFunctionEnd
         %main_0 = OpFunction %void None %6
             %11 = OpLabel
                   OpReturn
                   OpFunctionEnd
    ```
    
    Running spirv_to_nir on the SPIR-V sample above and for the geometry
    entry point would say that (among others):
    
    * vertices out: 1
    * input primitive: LINES
    * output primitive: LINES
    
    By removing any reference to `%gl_WorkGroupSize`, the output would
    change to (among others):
    
    * vertices out: 4
    * input primitive: POINTS
    * output primitive: TRIANGLE_STRIP
    
    Fixes: 7d862ef5302 ("spirv: Rework handling of spec constant workgroup size built-ins")
    
    v2:
    * Move the check from inside `handle_workgroup_size_decoration_cb()` to
      its caller (Caio Marcelo de Oliveira Filho )
    * Add an assert on the shader stage before using
      `workgroup_size_builtin` (Caio Marcelo de Oliveira Filho )
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Signed-off-by: Pierre Moreau <dev at pmoreau.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9418>
    (cherry picked from commit 4a408ff7ea96ca792c5b0e589fd85bf4490f3973)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9c5d72c707deac8a74b24f45d7667e5d73d0e4b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Mar 15 11:12:11 2021 -0700

    .pick_status.json: Mark db67d9c0d11c886c5b960126b8bf0a230e65d980 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1a4dee5c6387e0a435df8f5f554260c9ddcb95d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Mar 15 11:11:54 2021 -0700

    .pick_status.json: Mark a67d3e7c9e2c1ae9b05153a281cf73926b9f6af7 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=492a04a7441a96008e0372c46d04faeb71f2bd1b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Mar 15 11:11:53 2021 -0700

    .pick_status.json: Mark bddc0e023c2c87d3248691ea62b77626704cc5a4 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3f92eef8ad7d666c4622806c634ed2d733cfa3f
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Mar 15 11:11:46 2021 -0700

    .pick_status.json: Update to b1ab69f467b7b10e383f3b6bb957c7e6669a3772

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=018419c7db5013bd678d2bd8ad229c1f946f4634
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Fri Mar 5 13:03:07 2021 +0200

    anv: fix MI_PREDICATE_RESULT write
    
    This register is only 32bits.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 1952fd8d2ce905 ("anv: Implement VK_EXT_conditional_rendering for gen 7.5+")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry-picked from commit 8955d179d3e47982ccd67b8aecb0f5bed73d60b6)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9522>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6790ed421c7784997cdccec9cc76b8f2c0dce32c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Mar 11 16:38:41 2021 -0800

    docs: update calendar and link releases notes for 21.0.0



More information about the mesa-commit mailing list