Mesa (master): 22 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 19 02:14:37 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fd58b4537a92d72c7eb7d86a14033356adc24fa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Sep 10 14:45:04 2020 -0400

    zink: be more explicit with image barriers for copy operations
    
    we know the access and pipeline stage here, so we can pass those along
    to ensure synchronization
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=466efcb2473c0bc63318a9b8bb83f8c1481c4bdb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Sep 8 10:08:45 2020 -0400

    zink: add general zink_resource_barrier() wrapper
    
    this simplifies a bit of code where we may want to be throwing in barriers
    regardless of the resource type
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cbd25c04b98e3e54e7092db78b94a431527491e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Sep 8 10:05:43 2020 -0400

    zink: zink_resource_barrier -> zink_resource_image_barrier
    
    need this namespace
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55a0eb6e0a54abd317d1d9d835bc63f2fb618874
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Sep 7 10:40:21 2020 -0400

    zink: improve barrier usage for clear functions
    
    ensure that we're always using the right layout for images that are
    being cleared
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77b0533d75d326790c204c9ce27154e0b4defd4c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Sep 7 10:39:43 2020 -0400

    zink: add batch references for resources in clear functions
    
    need to make sure we track these writes
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d6c90826de0ad25e8155bc4e98e0f3d2ab2e1cd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Sep 7 10:35:20 2020 -0400

    zink: add access info for update_descriptor image barriers
    
    this forces resources to transition where necessary to ensure that
    data from previous ops have been made available (e.g., clear -> shader image)
    
    we also switch needs_barrier over to a more accurate signature here since we
    can now do it without breaking update_descriptors()
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab3a2fa69099314299c72eac24b6a90cfdcec6e5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Sep 7 10:34:24 2020 -0400

    zink: add access param for image resource barriers
    
    we need more detail on some of these to ensure proper synchronization
    and availability/visibility of image data between commands/stages
    
    the signature for needs_barrier() is still funky here to avoid breaking
    usage in update_descriptors()
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f6d104ba8a163bb0b928f691c4fb6d720cceeee
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Aug 20 09:53:54 2020 -0400

    zink: add barriers for index and draw param buffers
    
    need to ensure synchronization here too
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d664166c85f6294f3e92eb34cb876e63ae6e99a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 14:50:05 2020 -0400

    zink: assert batch is not in a renderpass when emitting pipeline barrier
    
    this is only valid for subpasses which have self-dependencies set, and we
    don't currently do that
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9df8c4ba96c12ea93abcd26640930ac7b27fbadd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 14:45:09 2020 -0400

    zink: take struct zink_batch param instead of direct cmdbuf in barrier helpers
    
    this is weird and prevents us from verifying batch states
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d3935a0b303fe9c6df52b3eda96abd04e369e59
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 15:46:08 2020 -0400

    zink: combine resource barriers where possible during update_descriptors
    
    if we have a resource in the same state for multiple shader stages, we can
    emit a single barrier for all the stage bits instead of multiple barriers
    
    this also helps with detecting potentially redundant barriers when we go to
    emit them later on
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b2fb618316c1c5d9286cde388572cc230f216f3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 11:47:08 2020 -0400

    zink: break out barrier transitioning in update_descriptors
    
    this hopefully makes the code a little more readable
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=017dbd63fb9544863705903e696368c5bf9cb725
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 15:44:37 2020 -0400

    zink: avoid emitting unnecessary pipeline barriers during update_descriptors
    
    if the current state of the resource matches the desired state, we don't need
    to emit anything, and we can potentially avoid ending a renderpass
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d7cb2495ad163671b95f58ac606c11a958b4a9a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 15:41:41 2020 -0400

    zink: add generic wrapper for checking whether a resource needs a barrier
    
    handy to not need to check ahead of time
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4536607ea0a66bee2540c1b292103b42605afa08
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 11:46:31 2020 -0400

    zink: use define for max descriptor array size
    
    this was getting a bit unwieldy
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03030f87a175cdcbda64c87c8860d3effdbe71c7
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 11:28:58 2020 -0400

    zink: add helper for image resource barriers and avoid unnecessary barriers
    
    same as buffer barriers now
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b00f407996a77eb723a5169e87a12cddc4f13051
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 11:27:41 2020 -0400

    zink: add a VkPipelineStageFlags param to zink_resource_barrier()
    
    this matches the buffer variant in its flexibility now
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=061e4e22938af573197feebba2062cf1e19a83b8
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 11:14:46 2020 -0400

    zink: remove aspect param from zink_resource_barrier
    
    we have a helper function for this now that we can reuse
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73e84c33a2d2f8677d85d7121c09ff4b053ba70a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 10:49:58 2020 -0400

    zink: rework xfb barrier transitions when reusing as vertex inputs
    
    if we have proper barrier usage to start with, then we don't need to do
    any kind of weird flushing upon changing vertex inputs and can also remove
    a flag from zink_resource
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb14793ebbeb1e993e2ec0f27080a9e2a814b632
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 19 10:40:58 2020 -0400

    zink: rework xfb counter resource barriers
    
    using the new helper functions, we can now more accurately determine
    exactly which barriers we need/want and avoid setting unnecessary barriers
    or ending a renderpass early
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd858be0115268b0ff2bc118648924c6fd4bb0d6
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Aug 17 16:10:03 2020 -0400

    zink: set buffer resource barriers for descriptor resources in update_descriptors()
    
    need to make sure these are properly synchronized
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69304052e3adce35cd89d7d8d1eddec3cc35282e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Aug 17 16:08:02 2020 -0400

    zink: add helper function for getting pipeline stage from shader stage
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>



More information about the mesa-commit mailing list