Mesa (master): 25 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 21 19:56:23 UTC 2021
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f9a6d333b3e5f05ef6560123ee98d217358be89
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:52:54 2020 -0500
zink: export shader image caps using features
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0daa61553d0888e207ac0546794d9f45a3ac0921
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:52:11 2020 -0500
zink: check if multisample support exists for shader image formats
avoid issues later by checking this now while we're here
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9b812edb832e239f74ea065111284879f2d9e11
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:50:35 2020 -0500
zink: handle shader image descriptor updates during draw
this is ugly and will be cleaned up later, but the idea is to have identical
handling between samplers and images such that for each type, an array of resources
is processed and it's just setting up variables which fall through to the actual
descriptor struct processing
Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ba38ab6facff5ef93bc88ed81c0e12fab314d1a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:49:10 2020 -0500
zink: add a pipe_context::set_shader_images hook
this is sort of a weird mechanism since shader images have no allocated
struct and just hang out on the context
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1f798ca5015992b4e54dae3da8f5d29999d136f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:48:36 2020 -0500
zink: break out bufferview creation into separate function
we'll reuse this for shader images
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4d00b9ca4e27cdf1668293c0866c8722c2fce88
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:47:33 2020 -0500
zink: handle image descriptors during zink_shader creation
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10fb7a8c0ff94700416ff6a0ebb2a8415e3817fa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:46:58 2020 -0500
zink: enable image caps in ntv when a shader has images
since we don't have the device info we have to emit some caps on the
fly here
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=245d9fa21b138c2ca9c99d7004c5f652330e615d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:46:22 2020 -0500
zink: enable early frag test execution in ntv when necessary
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cd2aff1a3470ab0551e861fb242242724435ea3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:45:17 2020 -0500
zink: add handling for all basic image ops in ntv
now that atomic handling is standardized, there's only a few actual ops left
to have proper image support
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4f06b3528837e84f9e7bf5e60645a6d986183dc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:43:54 2020 -0500
zink: expand ntv array derefs to track image derefs
this is sort of what we should be moving towards for io as well at some point,
the gist of the change here being that when images are deref'd, we need
to be able to do a lookup on the deref store later on in order to get the
image back
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77b6b3eb0b8e64fe4439b1dd1c3c4c50664300e7
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Dec 17 19:45:48 2020 -0500
zink: add nir_var_uniform case to get_storage_class()
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ade1f3a6e7abe000775614eda1eae1d38e61ef0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:43:10 2020 -0500
zink: handle nir_intrinsic_memory_barrier in ntv
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=768c9fa5c2d87641cf06b3acd3a004d994db4814
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:41:33 2020 -0500
zink: handle more atomic ops in ntv
this standardizes and simplifies atomic op dispatch since none of them have
any special handling
it also removes unnecessary (but harmless) memory semantics from a previous commit
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2855e21801ddb8a53d250fdd91e65527f2c91c9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:38:36 2020 -0500
zink: handle image variable types in ntv
this just does spirv variable setup
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fce791722bd58d8ec4f326522a01f0fd13bbc0cb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:37:38 2020 -0500
zink: add new 'sampler_types' variable to ntv_context struct
image_types will be used for images in the next commit
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9f2637267bae3429a90dbcb6f52f36489223907
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:30:45 2020 -0500
zink: add shader image support to zink_binding()
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=934625d53d143c6b784bbdaf115cf7f309cbbd29
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:27:51 2020 -0500
zink: add a pipe_context::memory_barrier hook
I'm not claiming this is 100% correct, but it works
Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06273abd203038396f387ba2ed05b412f97ff9ec
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:29:15 2020 -0500
zink: add 'has_draw' flag to batch struct
this tells us if a batch has a draw command pending
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05629bb4700b87b4942b7461d4be803fa43a40ec
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:26:01 2020 -0500
zink: verify format caps and add storage image usage when possible in creation
this is a huge perf hog that will be improved on later, but it's necessary for now
in order to correctly determine whether we can use resources as shader images
since gallium gives us no info about usage
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=493fae5016b9aea8b8f5fd585fa4b464cfb4a275
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:23:13 2020 -0500
zink: add ntv function for emitting variable access decorations
these are used for images
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=882ab6afb770e2134223e7973af75e4c80e6db62
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:20:14 2020 -0500
zink: add spirv builder functions for image ops
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d2ffb394a191d0bc4f1e76d293facb0506ad2a0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:17:41 2020 -0500
zink: add spirv_builder function for hexops
these are functions with 6 operands
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=139ae442c62cc4eed1da9ed417dd872351113cb7
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 15 08:12:27 2021 -0500
zink: rewrite image/sampler glsl -> vk type functions for robustness
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=177a42333ff7361ef28909d248115ed8c1db4574
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Nov 17 18:17:10 2020 -0500
zink: add ntv util function for getting image type
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=263d3ae1881b156b6582e9a4e9c744c3a6cc498b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Aug 4 16:36:27 2020 -0400
zink: rename zink_context::*image_views -> sampler_views
this is wrongly named and conflicts with things that are actually
image_views (assuming we're using gallium terminology in order to match
the rest of the ecosystem)
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8504>
More information about the mesa-commit
mailing list