Mesa (main): 21 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 16 00:30:10 UTC 2021
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e3768914d4ca226041e121b8b80b2daa7b5aa64
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Mar 29 17:22:49 2021 -0400
zink: add ZINK_DESCRIPTORS env var to explicitly set a mode
currently this supports 3 modes, with the default being a hybrid between
caching and lazy
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75c7619253e60c0f798bc488f7390981442dc2ba
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Mar 29 16:40:52 2021 -0400
zink: unblock last_set cached descriptor reuse when safe to do so
if no changes at all have occurred to a given set since the last use,
and if the program hasn't changed, then there is no possiblility for
the set to have been invalidated, and so it can immediately be reused
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7348a083ed1f8f06b497a9c3d96565453229e4cd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Mar 29 15:51:08 2021 -0400
zink: skip hash updates for descriptor types which aren't used
this is pointless and hurts drawoverhead perf
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8c11ebe292862d9509b3437b8f05f44a018102a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Mar 29 15:22:19 2021 -0400
zink: add oob asserts for descriptor set ref setting
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc2d54641c1fa9d1a357c220635019fbb37091d4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Mar 28 12:31:11 2021 -0400
zink: enable templated descriptor updates in cache mode
this leverages the template infrastructure from the lazy manager for the
cached mode, alternatively generating a pseudo-template for updates
if real templates aren't available in order to retain 1.0 compatibility
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4487825f0b426426690074b1d67a580e842fe400
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Mar 28 12:50:05 2021 -0400
zink: move samplerview descset refs to base objects
this further extends the lifetimes for sets
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff692d042bb8267ffbbdbbf2501f8f452475754a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Mar 28 12:42:08 2021 -0400
zink: add funcs for descriptor_surface refs
this abstracts more code for the cache backend
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d99f10286af15f1d80b46c7aa66bb1f2e229a1e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Mar 28 11:31:56 2021 -0400
zink: move shader image descriptor set refs to underlying type
this was kinda useless since it meant that the set was invalidated any
time the shader image was unbound
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df5c97eea8ac78416a6aea10e49b5f80e018ad03
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Mar 29 15:24:40 2021 -0400
zink: update null sampler/image descriptor surface with is_buffer during hashing
this is the only time it might need to be used, so it can be updated naturally here
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2f4b35d5d417c769372ec202fc811bd30ef770d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Mar 28 11:31:06 2021 -0400
zink: add is_buffer flag to union zink_descriptor_surface
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd9118a7393b647924098e907a18dc26d466060e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sat Mar 27 13:19:27 2021 -0400
zink: run lazy batch descriptor functions in cache mode
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00268894f4c3db0eb3b5987c229e851869274c0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 11:26:43 2021 -0400
zink: unify cached descriptor update code
this is all pretty much standardized now, so it can be combined into something
simpler
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93021aa6c8953895d446901b5fa7ba1ace14fbba
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 09:25:31 2021 -0400
zink: move ubo range assert to update_descriptor_state()
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5b0d2162818939b89adb67ab7d2aca84596f608
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 09:19:21 2021 -0400
zink: remove sorting for dynamic ubo offset updating
if the offsets are assigned in the right order, they don't need to be
ordered later
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b54edad9b0ec17a6691db94b21d3ba34f1ab690
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 09:08:13 2021 -0400
zink: modernize cached image descriptor updating
use the auto-updated descriptor info
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c0e9996064664e61386dcd47e05aec49fd1cf2
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 08:50:12 2021 -0400
zink: modernize cached ssbo descriptor updating
use the already-updated bufferinfo structs
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b98a2925924261d1d6d5d6207f403d5c8eb976
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 08:50:12 2021 -0400
zink: modernize cached ubo descriptor updating
use the already-updated bufferinfo structs
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0e989613934febab134352c48ab0592ede44bb5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Mar 25 08:50:12 2021 -0400
zink: modernize cached push ubo descriptor updating
use the already-updated bufferinfo structs
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f04604d64a57b810ef5065e73a314f8575e732
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Mar 24 09:02:52 2021 -0400
zink: match lazy descriptor set layout in cache mode
now cached descriptors also use a push set for ubo0, also reusing the
ZINK_DESCRIPTOR_TYPES for this set for enum purposes
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab7ea7acfac742e5667a73273c9f73c38adeff40
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Mar 23 16:12:42 2021 -0400
zink: split lazy sets based on descriptor type
this is now closer to the cached descriptor set layout, but with
the push set as the zero-indexed set (passed as ZINK_DESCRIPTOR_TYPES
for enum purposes)
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4dd9cdabba500d909b617b20dd14149637d1861
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Mar 24 09:02:09 2021 -0400
zink: add a function for creating descriptor layouts for push sets
push sets contain a single ubo at index 0 per shader stage in the set
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11188>
More information about the mesa-commit
mailing list