Mesa (main): tu: Add support for suspending and resuming renderpasses

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 27 20:15:22 UTC 2022


Module: Mesa
Branch: main
Commit: cb0f414b2aed88f48b2593dad833844be2f5f42b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb0f414b2aed88f48b2593dad833844be2f5f42b

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Thu Jun 30 17:36:05 2022 +0200

tu: Add support for suspending and resuming renderpasses

This is unfortunately very complicated because we have to stitch
together the state of the suspended passes after the fact, with primary
command buffers at submit time.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17378>

---

 docs/features.txt                           |   2 +-
 src/freedreno/vulkan/meson.build            |   1 +
 src/freedreno/vulkan/tu_cmd_buffer.c        | 423 ++++++++++++++++++++++++----
 src/freedreno/vulkan/tu_device.c            |  49 +++-
 src/freedreno/vulkan/tu_drm.c               |  39 +--
 src/freedreno/vulkan/tu_dynamic_rendering.c | 237 ++++++++++++++++
 src/freedreno/vulkan/tu_kgsl.c              |  44 ++-
 src/freedreno/vulkan/tu_lrz.c               |  41 ++-
 src/freedreno/vulkan/tu_private.h           | 166 +++++++++++
 9 files changed, 895 insertions(+), 107 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=cb0f414b2aed88f48b2593dad833844be2f5f42b


More information about the mesa-commit mailing list