Mesa (staging/21.1): 33 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 22 22:06:22 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=864db00152ca4ab47c36c2493049355c6bb9f3d6
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Mon Jun 28 10:48:53 2021 +0200

    freedreno/computerator: Fix local_size typo
    
    Fixes: cbc68c79a51 ("freedreno: Add local_size to ir3_shader_variant")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11622>
    (cherry picked from commit 56dc84b95cd80332c7e9377c2ad39ff41813d1ac)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38e0a766f38b5eb7f51666ec71de729c4f4fa38b
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Jul 21 20:18:12 2021 +0100

    aco: don't create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5105
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12004>
    (cherry picked from commit 211d1dfd34499d57709c15d10bdadc514e9e13c2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5be39a1ecda81da36c5b93270918869db6336a7
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Sat Jul 17 21:39:55 2021 +1000

    util: add workaround for Full Bore
    
    Unfortunately I contacted the dev about this issue years ago and he
    made a fix, but it has never been released after all these years.
    
    This stops the screen from being completely black in game.
    
    CC: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11941>
    (cherry picked from commit f3ec4a934d6a9776e6f67cd44565180c098a6846)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab6955c9d482d9811e1da3f816a0583701b87dba
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 19 11:57:12 2021 +1000

    llvmpipe: add support for time elapsed queries.
    
    It turns out for QBO you really need to explicitly support time
    elapsed queries to avoid wierd interactions with the non-qbo
    query paths.
    
    Fixes: 506e51b8560f ("llvmpipe: initial query buffer object support. (v2)")
    Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11946>
    (cherry picked from commit 2f5cd08ede0b9d445535d54beffcad0e5c4a62bb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3896bd61787ab68c983dc0690c037b45b32ab638
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Jul 20 17:52:47 2021 -0700

    meson: allow egl_native_platform to be specified
    
    After commit f8dc22bf61c, it was no longer possible to have explicitly
    enabled platforms with surfaceless being the EGL native platform.  This
    fixes that by adding -Degl-native-platform.
    
    Fixes: f8dc22bf61c ("meson: drop deprecated EGL platform build options")
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992>
    (cherry picked from commit 47946855f19cc7d082fd59e090bb83f5d3930871)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=754b4581941a576ccaea474b2a11d75f1381152c
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Jul 20 14:31:46 2021 -0700

    egl/surfaceless: try kms_swrast before swrast
    
    Before commit f7e0cdcf1a5, we tried these in order
    
     - if (!ForceSoftware) surfaceless_probe_device(disp, false);
     - surfaceless_probe_device(disp, true);
     - surfaceless_probe_device_sw(disp);
    
    The commit changed it to
    
     - surfaceless_probe_device(disp, ForceSoftware);
     - surfaceless_probe_device_sw(disp);
    
    and broke 2D virtio-gpu and vgem when ForceSoftware is false.  This
    commit restores the old behavior.
    
    Fixes: f7e0cdcf1a5 ("egl/surfaceless: simplify dri2_initialize_surfaceless()")
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992>
    (cherry picked from commit 384181921c23fc7630b4a7d373f5b6755d20c8af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d52a423f60fb2309bb90318eebc04e8b4d18dc89
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 20 13:37:31 2021 -0700

    nir/gcm: Clear out pass_flags before starting
    
    With this pass enabled in Intel drivers, running shader-db on
    shaders/unity/38.shader_test resulted in
    
    Program received signal SIGSEGV, Segmentation fault.
    gcm_schedule_early_src (src=0x555555d45348, void_state=0x7fffffffba40) at ../../SOURCE/master/src/compiler/nir/nir_opt_gcm.c:297
    297	   if (info->early_block->index < src_info->early_block->index)
    (gdb) print src_info->early_block
    $1 = (nir_block *) 0x0
    
    I tracked this down to an early exit from gcm_schedule_early_instr on
    the parent instruction because instr->pass_flags was 0x1c.  That
    should be an impossible value for this pass, so I inferred that
    pass_flags must have dirt left from some previous pass.
    
    Fixes: 8dfe6f672f4 ("nir/GCM: Use pass_flags instead of bitsets for tracking visited/pinned")
    
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/597>
    (cherry picked from commit 436668874a1508edf127be16873c6811fe13a3e6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39fbc7434843769d53bbbd853cf97c0f60baa7cc
Author: Daniel Stone <daniels at collabora.com>
Date:   Tue Jul 20 13:54:16 2021 +0100

    egl/wayland: Allow EGLSurface to outlive wl_egl_window
    
    According to the EGL spec, it is entirely valid for an EGLSurface to
    outlive the native_window it was created from, provided that SwapBuffers
    and MakeCurrent return EGL_BAD_NATIVE_WINDOW.
    
    We don't have any facility to error on MakeCurrent, so just make sure we
    can bundle on safely through rendering for now, then return
    EGL_BAD_NATIVE_WINDOW from SwapBuffers.
    
    Signed-off-by: Daniel Stone <daniels at collabora.com>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2251
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4902
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11979>
    (cherry picked from commit 6455ab6e5ac5b1ad815d3e67e72d9adef7ffd21c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b14aa260234d5eadef54b77474121d9ef460f0f5
Author: Daniel Stone <daniels at collabora.com>
Date:   Tue Jul 20 13:40:00 2021 +0100

    egl/wayland: Error on invalid native window
    
    We unconditionally require a wl_egl_window to be passed as the native
    window type, and do not permit a default window. The spec requires us to
    return EGL_BAD_NATIVE_WINDOW when doing this, rather than crashing.
    
    Further, if an EGLSurface has already been created for an existing
    native window, we are required to return EGL_BAD_ALLOC.
    
    Signed-off-by: Daniel Stone <daniels at collabora.com>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2251
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4902
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11979>
    (cherry picked from commit 0e2464d26bace803aad575c117686412be82388a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=904e0c989bb50ad09c33b0df712a16618ac10ac2
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Mon Jul 19 12:18:11 2021 +0200

    broadcom/compiler: emit TMU flush before a jump
    
    Like in the case of emitting a block, process pending TMU operations
    before a jump is executed.
    
    Fixes dEQP-VK.graphicsfuzz.stable-binarysearch-tree-nested-if-and-conditional.
    
    Fixes: 197090a3fca ("broadcom/compiler: implement pipelining for general
    TMU operations")
    
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11971>
    (cherry picked from commit dc40157888a8825fe5c411f20029466c7c2f1d47)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e91961794a71fa591c1da419de0c536ba506cf9
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jul 20 05:23:25 2021 -0400

    st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
    
    This fixes CPU read performance.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5091
    Cc: mesa-stable at lists.freedesktop.org
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11974>
    (cherry picked from commit 54e1ec017d7852bfc4ba46b54c3ab516f96102f7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67250fe5bbf1d9f610e349311a4690e271798f17
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Mon Jul 19 09:29:46 2021 +0200

    radeonsi: Check aux_context on si_destroy_screen()
    
    The function radeonsi_screen_create_impl() tries to create the
    aux_context but doesn't actually check for the returned value from
    si_create_context().
    
    Then, on si_destroy_screen() the aux_context is used without actually
    checking whether it's a thing or not.
    
    As a result, if for any reason si_create_context() failed, we shall
    crash in si_destroy_screen() with a NULL pointer dereference trying to
    access ((struct si_context *)sscreen->aux_context)->log.
    
    Simply check for aux_context not being NULL to avoid that crash.
    
    Cc: mesa-stable
    Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11948>
    (cherry picked from commit 5bfd1a7e19ec1c510c2ba4adadad98d78f712eaf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74e17ceebc4110e7ef6cdaa3bf4b34f6f6e0f389
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jul 16 18:43:32 2021 +0200

    mesa: fix bindless uniform samplers update
    
    According to the comment below some extra magic is needed
    for bindless samplers, so don't do an early return in this
    case.
    
    Fixes: 736f1f70ab8 ("mesa: skip redundant uniform updates for glUniform")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4806
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11930>
    (cherry picked from commit 8be61e8a9e49190593e0c90077a8ce100b5743de)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c41e33f5192be028e10d4fd109f9029effc0e95e
Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Mon Jul 19 15:01:09 2021 +0200

    aco/optimizer: ensure to not erase high bits when propagating packed constants
    
    Packed constants with non-zero values in the high half
    might have been propagated as 16 bit, dropping the high half.
    
    Cc: mesa-stable
    Closes: #5070
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11954>
    (cherry picked from commit 9b1a296172df38561d650abf98ee2e1c77ac6fc2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f19d52a2390ce370694d39510d520ef66cda844
Author: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Date:   Fri Jul 16 14:30:51 2021 +0200

    v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
    
    To enable dual 4k displays on mutter or gnome-shell under X11 we need to
    expose the non-MSAA texture limit as we did for Xorg at 60a64f028d75ad6
    ("v3d: Use driconf to expose non-MSAA texture limits for Xorg.")
    
    https://gitlab.gnome.org/GNOME/mutter/-/issues/1874
    
    Cc: 21.1 21.2 mesa-stable
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11926>
    (cherry picked from commit fd5fa73e6c8deeb8e09062e412d7d05fe57d0c59)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5e8146c19e2c329a16a6c87d51cd2d2404a6973
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu May 27 18:59:37 2021 +0200

    nv50/ir/nir: fix smem size for GL
    
    Originally I fixed the case where the nir itself has a shared mem size of
    0, but the frontend (e.g. clover) set it to some other value.
    
    But st/mesa sets the shared mem size on the state object as well and we
    end up actually doubling the value in the driver as we set smemSize to the
    value from the state object before calling into the compiler.
    
    So just max the value instead.
    
    Fixes the compute_shader.shared-max CTS test.
    
    Fixes: dc667b1f192 ("nv50/ir/nir: fix smem size")
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11047>
    (cherry picked from commit ff55412f40a7d588e47e2c35d175aea0ac3cfe95)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=853dfae1ca4e08c165639c01b8ac18a4acad25a8
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jul 16 12:28:57 2021 +1000

    softpipe/aniso: move DDQ calculation to after scaling.
    
    I've read the papers on EWA filters and it seems like the calculate
    DDQ = 2 * A after the scaling of A happens. This seems to make
    things less blurry and more like real aniso.
    
    Fixes: 2135aba8 ("softpipe: Constify variables")
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11917>
    (cherry picked from commit 57dcfb4e55346ee2d7e3da79e93a7d36a8a5ca17)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fa851637bc0e0b71bcae474f99acaedd356ee88
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Jul 15 22:28:00 2021 +1000

    glsl: replace some C++ code with C
    
    This replaces some new/delete uses with malloc/free.
    
    This is more consistent with most of the other glsl IR code but
    more importantly it allows the game "Battle Block Theater" to
    start working on some mesa drivers. The game overrides new and
    ends up throwing an assert and crashing when it sees this
    function calling new [0].
    
    Note: The game still crashes with radeonsi due to similar conflicts
    with LLVM.
    
    CC: mesa-stable
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11907>
    (cherry picked from commit 749251391d967ce5450a6adfeb64cb773cce2508)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e18bb3a98cbe1c587f2baf90179170e4d632970f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Jul 16 12:50:21 2021 -0400

    util/foz: stop crashing on destroy if prepare hasn't been called
    
    Fixes: eca6bb9540d ("util/fossilize_db: add basic fossilize db util to read/write shader caches")
    
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11931>
    (cherry picked from commit 2850db0a9ef3751b1b3429d9b7e75ed22dc4e59e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a70a630e1662106d6219638f01e153d53dd31a7
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Jul 14 08:27:40 2021 -0400

    radeonsi: don't expose no-attachment MSAA 16x on all 1 RB chips due to issues
    
    Cc: mesa-stable at lists.freedesktop.org
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11900>
    (cherry picked from commit 86ff5b7ddb60ee82b04eea143b9cc7efa3ff8183)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7b77678b36f364816f1fd65d9256374a34b9151
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jul 7 14:21:58 2021 -0500

    anv: Handle errors properly in anv_i915_query
    
    DRM_IOCTL_I915_QUERY is a multi-query.  The most egregious errors are
    returned via the usual ioctl error mechanism but there are also
    per-query errors that are indicated by item.length < 0.  We need to
    handle those as well.  While we're at it, scrape errno so we can return
    a proper integer error.
    
    Fixes: c0d07c838a9f "anv: Support i915 query (DRM_IOCTL_I915_QUERY)..."
    Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11770>
    (cherry picked from commit b664481ba91603d69b294ca5b1243e42c86a5863)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4445f783afa3134d9996b5ee4f41f5a327799de8
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue May 4 20:24:54 2021 -0500

    iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
    
    It implicitly contains the number of threads via the CURBE allocation
    size field.
    
    Fixes: 33c61eb2f105 "iris: Implement ARB_compute_variable_group_size"
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10640>
    (cherry picked from commit e56d5db341eaf2112be366ee015a9956b2c3b704)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2afdee0cdb91de9925a8b83df88bc187b1b6fefa
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Jul 14 20:05:54 2021 +0200

    radv: only init the TC-compat ZRANGE metadata for the depth aspect
    
    With separate depth/stencil layouts, if the depth aspect is first
    initialized and then cleared, the ZRANGE_PRECISION metadata might
    be different than 0. Initializing it again for the stencil aspect
    will overwrite the value.
    
    Fixes rendering glitches with Scarlet Nexus on GFX8-9.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5052
    Cc: 21.1 21.2 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/11883>
    (cherry picked from commit 1ea156f44c7ce8d6880217ef4d46692cc7ac0219)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53d04c4f8b0646f2103be2175c8322a00f030c55
Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date:   Tue Jul 13 23:12:13 2021 -0700

    lima: handle fp16 vertex formats
    
    12128fb1351e marked fp16 vertex formats supported, but they aren't actually handled
    by lima_pipe_format_to_attrib_type(). Fix it by handling it there.
    FP16 seems to be the only missing index which is 0x3.
    
    Fixes: 12128fb1351e ("lima: add natively supported vertex buffer formats")
    
    Cc: 21.1 mesa-stable
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11872>
    (cherry picked from commit 4a3269dff65e198ac3d493b676800978ce0c01e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc26c3f690efee7fca877a36bd5a2a994502ae92
Author: Joshua Ashton <joshua at froggi.es>
Date:   Wed Jul 14 03:21:11 2021 +0100

    lavapipe: Use common Vulkan format helpers
    
    Drops the vk_format_to_pipe (and it's outdated table) for vk_format_to_pipe_format, aswell as the duplicated vk_format_aspects function.
    
    The old format table was missing USCALED and other values, causing incorrect rendering in many games.
    
    Fixes rendering in Portal 1, Hat in Time, Half-Life 2 and pretty much every other D3D9 title with DXVK.
    
    Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")
    
    Signed-off-by: Joshua Ashton <joshua at froggi.es>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11863>
    (cherry picked from commit 1744372714421d741f256f99148e792796888562)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d870091d8e33424be8ccacb792fca56bde6cad90
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Thu Jul 22 21:53:03 2021 +0100

    .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f7aa6f8c846a59c43dac47bb8e2b78d11af8bc4
Author: Rob Clark <robdclark at chromium.org>
Date:   Wed May 12 10:15:03 2021 -0700

    freedreno/ir3: Don't force RTNE if rounding mode is undefined
    
    Forcing round-to-nearest-even results in loss of opportunities for
    conversion folding, causing a regression in gfxbench gl_alu2.
    
    Fixes: de195671bdb ("ir3: nir_op_f2f16 should round to even")
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10773>
    (cherry picked from commit 6c530ebf407d2a165c4252b3af609fb426458ad0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd630afd32f81648697ae89da5457b5f1bab75b6
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jul 13 15:38:16 2021 +0200

    vulkan: allocate host-visible memory for swapchain images
    
    The Vulkan 1.2 specification, section 11.2.12 ("Host Access to Device
    Memory Objects") say the following:
    
    > memory must have been created with a memory type that reports
    > VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
    
    Since there's no guarantee that there's any memory that is *both*
    device-local *and* host-visible, let's just use the latter requirement.
    
    Fixes: 8af568e4ae7 ("vulkan: implement wsi_win32 backend")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11848>
    (cherry picked from commit e3542b35a8c5980dd4dd43a047ded4a36f89b055)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=211ffe02a21c470db52ac14b706edda46bdff4ab
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jul 13 15:38:16 2021 +0200

    vulkan: do not map zero-sized region of memory
    
    The Vulkan 1.2 specification, section 11.2.12 ("Host Access to Device
    Memory Objects") say the following:
    
    > If size is not equal to VK_WHOLE_SIZE, size must be greater than 0
    
    So, mapping a zero-sized range is illegal. Let's instead map the
    reported size of the image, which we already know.
    
    Fixes: 8af568e4ae7 ("vulkan: implement wsi_win32 backend")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11848>
    (cherry picked from commit d0c7a2106bbea28dbdcc22437340589a17ae3ff7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1edeff0ae5c241fbd7a75da782c8642a2084434
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jun 29 10:10:17 2021 +0200

    mesa: clear shader_info::is_lowered in prog_to_nir
    
    This needs to be resetted each time prog_to_nir is called because it
    turns st_nir_assign_vs_in_locations into a no-op when set.
    
    Fixes: 81d106d6eca ("radeonsi: lower IO intrinsics - complete rewrite of input/output scanning")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5001
    Reviewed-by: Isaac Bosompem <mrisaacb at google.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11636>
    (cherry picked from commit bcf8c7910d05a40fc11caf7b6e0f592741303cd1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3a83ad2e61e8271787190058d810b1e6f40cbc3
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jun 16 13:00:57 2021 +0200

    zink: remove duplicate format-mapping on little-endian
    
    Doing *both* of thse ends up rewriting the previous mapping. Since this
    doesn't seem to have lead to issues, it seems like the new mapping works
    just as well.
    
    Fixes: a22a1c0324e ("zink: Fix VK_FORMAT_A8B8G8R8_SRGB_PACK32 mapping on big-endian")
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11417>
    (cherry picked from commit 4efbeafa446962cc1a393fa2c0d01f83feaa42db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f51c78487a3eefa677af2289db8f0ced72373a2
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jul 14 22:41:05 2021 +0100

    .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5205b5ac8fe6b2abf37aaec2deef444ee3637ba
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jul 14 22:36:38 2021 +0100

    .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported



More information about the mesa-commit mailing list