Mesa (staging/20.1): 24 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 3 08:30:45 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1121cbb4122e4b7d406fd5e56893df15fac0adcd
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri May 29 20:26:00 2020 +0200

    radv: enable zero VRAM for all VKD3D (DX12->VK) games
    
    To fix rendering issues with Metro Exodus, RE2 and 3 and probably
    more titles. It seems the default behaviour of DX12 anyways.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
    Cc: <mesa-stable at lists.freedesktop.org>
    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/5262>
    (cherry picked from commit d3c937c0e4d1dd05072d9a7169532517ef7d0c7f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2511cbb17531094560d00333b7244f4e7498d2c
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri May 29 20:02:49 2020 +0200

    radv: enable zero VRAM for Doom Eternal
    
    That fixes some rendering issues. Probably some unitialized data
    from the game.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
    Cc: <mesa-stable at lists.freedesktop.org>
    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/5262>
    (cherry picked from commit fd5ffd3a83e178f14fcc69806d3a52724f05b56c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bd9d2a775600e8ba0130f79adb9147ba0810503
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu May 28 14:41:17 2020 +0200

    zink: Use store_dest_raw instead of storing an uint
    
    I cleaned up the other similar call-sites, but somehow missed this one.
    There's nothing different with this, so let's also fix this.
    
    Fixes: 16339646f03 ("zink/spirv: rename functions a bit")
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5250>
    (cherry picked from commit a21966837acd2e053ce183c5f145afcff2fd51b7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aee6e991d08ccd971a384b2c277915dd96d805c9
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue May 26 05:39:08 2020 -0400

    radeonsi: add a hack to disable TRUNC_COORD for shadow samplers
    
    This fixes dEQP-GLES3.functional.shaders.texture_functions.textureprojlodoffset.sampler2dshadow_vertex.
    
    This is probably a dEQP bug.
    
    Fixes: d573d1d82524b8a2e5f56938069cabc0f0176a0e
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
    (cherry picked from commit fe3947632ce9946562a39ef95a6796b8604f1f42)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a299fe90bae3b91ae637d64897e03c1375ed34bc
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 20 18:00:14 2020 -0700

    vulkan-overlay/meson: use install_data instead of configure_file
    
    We don't want to copy the file into the build directory, we want to
    install it. That's what install_data is for.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2924
    Fixes: 56ccea58ae7f6fd56cf4a1697d2cceb68866b552
           ("vulkan/overlay: Add basic overlay control script.")
    
    Acked-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
    (cherry picked from commit fb62e642ae667c99aeb3015fa77ab668af5e4ee6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4f8fecebf7034234637ad22ddc08a31e094d334
Author: Satyeshwar Singh <satyeshwar.singh at intel.com>
Date:   Thu May 28 00:44:26 2020 -0700

    intel/dev: Don't consider all TGL SKUs as GT1 only
    
    We should be passing _gt instead of 1 to GEN12_FEATURES or else all TGL
    SKUs will be considered as gt1 only.
    
    Fixes: 54996ad4927 ("intel/dev: Split .num_subslices out of GEN12_FEATURES macro")
    Signed-off-by: Satyeshwar Singh <satyeshwar.singh at intel.com>
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5261>
    (cherry picked from commit aaec065f03e65f75fd18f8cc24d003f220209714)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09df4d6b9aacee54c273944c7f62bd967f2364cc
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri May 29 17:13:35 2020 -0700

    r300g: Remove extra printf format specifiers.
    
    Fix warning reported by Coverity Scan.
    Missing argument to printf format specifier (PRINTF_ARGS)
    missing_argument: No argument for format specifier %s.
    
    Fixes: 04c1536bf7ab ("r300g: rasterizer debug logging")
    Fixes: 85efb2fff0d4 ("r300g: try to use color varyings for texcoords if max texcoord limit is exceeded")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5274>
    (cherry picked from commit d2f8105b606269c0e71cd599f57997279385d300)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe8af92ba8088db03fecfaf8d19fcd1b72d482c9
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 30 02:47:42 2020 -0400

    nouveau: allow invalidating coherent/persistent buffer backings
    
    This is needed to support the core's usage of coherent buffers for
    glVertex-style input. The reason why this was disallowed is that any
    mappings will be invalidated. Let the state tracker worry about that,
    and just reallocate when we're told.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Cc: mesa-stable at lists.freedesktop.org
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5276>
    (cherry picked from commit 6e1c47b98df384b46ff41ffbf9689a93c78c040d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=318f22f9889f30e7b27482ed0c5aa247e8c7ce37
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Sun Apr 26 09:48:16 2020 -0500

    intel/fs: Fix unused texture coordinate zeroing on Gen4-5
    
    We were inserting the right number of MOVs but, thanks to the way we
    advanced msg_end earlier in the function, were often writing the zeros
    past the end of where we actually read in the register file.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243>
    (cherry picked from commit 94aa7997e45b5314d169bbee5bf22ad368c2fd25)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e9ba6da19c4964cb5f5b8a23ec8ecad85130974
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Sat Apr 25 14:15:11 2020 -0500

    intel/vec4: Stomp the return type of RESINFO to UINT32
    
    We already do this in the FS back-end; we just weren't doing it in vec4
    so RESINFO messages weren't returning the right data.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243>
    (cherry picked from commit a7c8811fe4012b60a9bcdb2ea2ef6ab79e402809)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61e65207f5ae6ae454aefadb46266957d41467a0
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Fri May 29 17:02:24 2020 +1000

    radv: fix regression with builtin cache
    
    If the ~/.cache dir already exists continue on without failing.
    
    Fixes: cd61f5234d2c ("radv: Handle failing to create .cache dir.")
    
    Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
    Reviewed-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/5249>
    (cherry picked from commit e843303d6f18d56d7c412e6c879134f7b79372ac)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f789a9fde75631e2ef6ae11a5e348bc55feb55f9
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue May 26 15:54:06 2020 -0700

    etnaviv: Fix memory leak on error path.
    
    Fix warning reported by Coverity Scan.
    
    Resource leak (RESOURCE_LEAK)
    leaked_storage: Variable pq going out of scope leaks the storage it
    points to.
    
    Suggested-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Fixes: eed5a009897a ("etnaviv: convert perfmon queries to acc queries")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5220>
    (cherry picked from commit f047d585ee472a314d4ad5da4dffa5e7c2a42eb5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04a57730d2d6921b1322477c7852384069a52e49
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed May 27 18:27:08 2020 -0400

    pan/bi: Fix emit_if successor assignment
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Fixes: 9a00cf3d1ef ("pan/bi: Add support for if-else blocks")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
    (cherry picked from commit e42a5dfd4f2b22c73f4627128ac6d3dbcb10aca1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4b9431268d6e8c60d9bd0744dccf7c4d76bbdda
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri May 29 10:02:39 2020 +0200

    aco: fix register allocation for subdword instructions on GFX10
    
    Cc: 20.1 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5148>
    (cherry picked from commit 75a730ced59701201ef4247cbe2189a9be6a9d18)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c159733a8bf83b682e10f4b5fdd2c33b636ce29e
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed May 27 16:19:25 2020 -0700

    zink: Check fopen result.
    
    Fix warning reported by Coverity.
    
    Dereference null return value (NULL_RETURNS)
    dereference: Dereferencing a pointer that might be NULL fp when calling
    fwrite.
    
    Fixes: 8d46e35d16e3 ("zink: introduce opengl over vulkan")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5235>
    (cherry picked from commit a2ee293422c09c9ecc8150ad70d29273e28c6a71)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dabb351fd12f9f351d8540bcd4bc12708851416
Author: Neha Bhende <bhenden at vmware.com>
Date:   Wed May 27 20:45:29 2020 +0530

    util: Initialize pipe_shader_state for passthrough and transform shaders
    
    mesa/st is initializing pipe_shader_state for user define shaders.
    This patch intialized pipe_shader_state for all passthough
    and transform shaders.
    
    This fixes crashes for several opengl apps. Issue is found in vmware
    internal testing
    
    Fixes: f01c0565bb9 ("draw: free the NIR IR.")
    
    Reviewed-by: Charmaine Lee <charmainel at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5240>
    (cherry picked from commit 838666a41dcbbf566bff57e7a7b841e50bf2bdce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bf5ef4f4266f1322a91db1bb90a450b520756e6
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Tue May 19 17:52:31 2020 +0200

    nir: lower_tex: Don't normalize coordinates for TXF with RECT
    
    v2: remove the option to actually request normalization and its
        application in Intel < Gen6 (Jason)
    
    v3: Also don't lower for query operations (Jason)
    
    Fixes: 1ce8060c25c7f2c7a54159fab6a6974c0ba182a8
        nir/lower_tex: support for lowering RECT textures
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5105>
    (cherry picked from commit 682e14d3eaee8991ee08ea309cbf9a509b6e6b27)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a211f60867330a0a47b4fca7bd3a27fb8e3a82f
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu May 28 10:21:27 2020 +0200

    spirv,radv,anv: implement no-op VK_GOOGLE_user_type
    
    This extension only allows HLSL shader compilers to optionally embed
    unambiguous type information which can be safely ignored by the driver.
    
    This fixes a crash with the recent Vulkan backend of Path Of Exile
    (it uses the extension without checking if it's supported).
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Tested-by: Edmondo Tommasina <edmondo.tommasina at gmail.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5237>
    (cherry picked from commit 10c4a7cf59733ae2058a76b880ea0767a59dad4f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a71a3e6cd9f5d014884eb0e08c0d7af72464cf2e
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Apr 30 16:10:42 2020 +0100

    aco: preserve more fields when combining additions into SMEM
    
    Totals from 11 (0.01% of 127638) affected shaders:
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler')
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
    (cherry picked from commit e1900ee2c70c15dea56027c21676174704f12348)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60d1e24e6738be570d3f4d8608803defb93a31ef
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Apr 29 17:47:50 2020 +0100

    aco: check instruction format before waiting for a previous SMEM store
    
    Totals from 7 (0.01% of 127638) affected shaders:
    CodeSize: 40336 -> 40320 (-0.04%)
    Instrs: 7807 -> 7803 (-0.05%)
    Cycles: 118588 -> 118344 (-0.21%); split: -0.23%, +0.02%
    SMEM: 331 -> 339 (+2.42%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Fixes: 1749953ea3 ('aco/gfx10: Wait for pending SMEM stores before loads')
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
    (cherry picked from commit 95d5c1b8a1ebe4a2ce47206b9ff0af4fbfd5a31a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35f8209ee62f92d15afea30e75abee5b079d9f84
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 22 15:42:39 2020 +0100

    aco: consider SDWA during value numbering
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Fixes: 23ac24f5b1fdde73cf8ec1ef6cbe08d73d6776f5
       ('aco: add missing conversion operations for small bitsizes')
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164>
    (cherry picked from commit 5ccc7c277c86f754f40515820b27b55296107c54)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d7a289b6c6175cfdfc03048b40e416bf39fc08f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 22 15:42:12 2020 +0100

    aco: fix interaction with 3f branch workaround and p_constaddr
    
    The offset was incorrect if we inserted a nop before the p_constaddr.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Fixes: 93c8ebfa ('aco: Initial commit of independent AMD compiler')
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164>
    (cherry picked from commit 8aa98cebc15e6f6f8bcf42162399b5826376b3dc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c0ba15819ba3342a9ef0e03c047e11928ee5258
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue May 26 17:26:47 2020 -0700

    pan/bi: Initialize struct fma_op_info member extended.
    
    Fix warning reported by Coverity Scan.
    
    Uninitialized scalar variable (UNINIT)
    uninit_use: Using uninitialized value info. Field info.extended is
    uninitialized.
    
    Fixes: 8c79c710d4e1 ("pan/bi: Identify extended FMA opcodes")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5224>
    (cherry picked from commit df2c68ee4fd470efdc4f0121a2fe4aa5c64771e0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=518c8be3c0aa3294af7f37f6dd342eab86ac0607
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Thu May 28 01:19:03 2020 +0200

    .pick_status.json: Update to 3ed2123d77d50ccb984fccdcc1cfa936a18819bf



More information about the mesa-commit mailing list