Mesa (main): 31 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 15 15:34:28 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d43f89f17a8259c842016fa559fa33c1c6279105
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Thu Sep 30 23:42:44 2021 -0500

    ir3: Images are always nir_var_mem_image
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9601556079d8592ca6c149d83335e7ab0405485c
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Tue Sep 28 12:13:30 2021 -0700

    microsoft/clc: Images use nir_var_mem_image
    
    The only big change is that lower_vars_to_explicit no longer assigns
    a driver_location for images. That means that the storage for the
    format/order loads is no longer implicitly "allocated" in the middle
    of the kernel args. Instead, manually add the storage for that to the end
    of the input args buffer.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26d603da0710b67d93b8d163cc37f109af7416b8
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 14:24:37 2021 -0500

    nir/gl_nir_lower_images: Require nir_var_mem_image
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6cce80976d701003ed5650a14211e73183a6a3a
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 13:07:15 2021 -0500

    intel/fs: Stop emitting TGM fences for nir_var_mem_ssbo
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ab40f517fa5620e9b44f1f352e3e66b0e5b7b34
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:51:42 2021 -0500

    aco: Split var_mem_image barrier handling from global/ssbo
    
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c5a88d73536207db045d92871d01f28778c1c22
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:39:12 2021 -0500

    nir: Validate image variable modes
    
    We can also significantly simplify the foreach_image_variable helper.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97a7c0ab1b57f04681f422226fe834efa3485f0f
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 15:27:49 2021 -0500

    st/pbo: Use nir_var_mem_image for images
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=458b4d2095795ded0d46a6851adc2de8392a7372
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri Sep 17 08:22:06 2021 -0500

    radv: Use nir_var_mem_image in meta shaders
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f51fda92cd42620c080b23c7a57996a249dc477
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 15:26:17 2021 -0500

    ttn: Use nir_var_mem_image
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8ee37472d3e271fa666d82910588497435a86b7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:41:09 2021 -0500

    glsl: Use nir_var_mem_image for images
    
    We don't use it for bindless images because the uniforms in that case
    just contain a bindless handle and aren't an actual image.  Bound
    images, on the other hand, go in the nir_var_mem_image class.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfdc7ee066ea86c87d128e68c43ce7103da3ef5a
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Jul 2 01:01:45 2021 -0700

    spirv: Use nir_var_mem_image
    
    Use the new nir_var_mem_image mode for images that are not known to be
    used with a sampler (i.e. storage images).
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=219ac26ea3361d3ae185d9e98a753656fd33a534
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 27 16:43:23 2021 -0500

    spirv: Assert that OpTypeForwardPointer only points to structs
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e87dbfd3e8a5cf69c3ddc89fce17a0388f872806
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Thu Sep 30 23:42:06 2021 -0500

    ir3: Check for nir_var_mem_image in shared_barrier handling
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae58894ee79925088c9745d909c5631b211aea7b
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Thu Sep 30 12:32:48 2021 -0500

    zink: Images can live in nir_var_mem_image now
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d68bedbb456dee93b55d36017078d798378eb041
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 27 17:11:12 2021 -0500

    clover: Use nir_foreach_image_variable for images
    
    This splits image and sampler handling into two separate loops.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aefa22ddb52bce625d562ce5528cd1e21ac347e4
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 27 18:42:20 2021 -0500

    clover: Insert dummy uniform variables for images
    
    Instead of making images have a well-defined size, insert a dummy
    variable of the appropriate type which we can use for the parameter
    block layout.  This will work much better when we switch over to
    nir_var_mem_image.
    
    Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6818811fc4046b347d1d9ad7b39b7c2193674981
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Sep 27 17:08:20 2021 -0500

    nir/lower_readonly_images_to_tex: Also rewrite variable modes
    
    Storage images will start using nir_var_mem_image but sampled images
    still use nir_var_uniform.  If we're going to rewrite types, we need to
    rewrite the modes as well.  Otherwise, nir_validate will get grumpy and
    drivers might get confused.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=225caf537aa844ed78537f4cda239c4379cf2f7c
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 29 18:21:13 2021 -0500

    llvmpipe: Support image variables living in nir_var_mem_image
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d84fd86af1a392d1aa56e5e3b27ad0300fc8a8c2
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 29 18:20:46 2021 -0500

    ntt: Separate image and sampler handling
    
    Use nir_foreach_image_variable for images so we survive the coming
    refactor where they get their own mode.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12b3ffe4000b367270e00433e7ccaee7af871851
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 16:53:44 2021 -0500

    st/nir: Assign uniform locations to nir_var_mem_image vars
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1385f3c87f7ff844cdcd5f9c21e94bd1a5454e7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 14:24:18 2021 -0500

    nir/gl_nir_lower_images: Support nir_var_mem_image
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bdae87b93953a1323677729ff92be77860313e6
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 16:57:19 2021 -0500

    nir/gl_nir_lower_samplers_as_deref: Support nir_var_mem_image
    
    Contrary to the name of the pass, it also handles storage images so we
    need to support nir_var_mem_image.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0d8dc13e0974a45d1211fb4525ade3a4836fffd
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 14:29:15 2021 -0500

    glsl/nir_linker: nir_var_mem_image is also a GL uniform
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94b9f25883a1e2e06c93b8a02d156f197108aed0
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:50:42 2021 -0500

    aco: Add support for nir_var_mem_image
    
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd49706cb1ab3e808887ed2b384afb873fbb2598
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:50:21 2021 -0500

    amd/llvm/nir: Add support for nir_var_mem_image
    
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26582db077500a4461ae6ef944a0a8977a03bb92
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Fri Jun 25 14:40:35 2021 -0700

    anv: Use nir_foreach_image_variable
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff39916ce71b3842f825202c11a82461bd39e459
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:34:06 2021 -0500

    i965/uniforms: Handle images as a separate pass
    
    Instead of walking all uniforms and handling images as a special case,
    walk "normal" uniforms first and images as a second pass.  This lets us
    use nir_foreach_image_variable which will survive the upcoming refactor.
    While we're at it, use nir_foreach_image_variable in
    brw_nir_lower_gl_images too.
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d7065ef0430e729cac7fffbdd7af2004745f5b0
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Wed Jan 8 14:48:17 2020 -0800

    intel/fs: Consider nir_var_mem_image for TGM fences
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a53c33fbe3004856f5c4b2d12e711aaec5f520f
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 15 11:22:59 2021 -0500

    nir: Add a nir_foreach_image_variable() iterator
    
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de3705edb0368c376abe7fc2f660f9c5a5a5dcbf
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Wed Jan 8 13:54:47 2020 -0800

    nir: Add nir_var_mem_image
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=872750bb96f692b525be0d169af1525072a12c82
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date:   Thu Jan 9 10:37:48 2020 -0800

    nir/schedule: Handle nir_intrisic_scoped_barrier
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>



More information about the mesa-commit mailing list