mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
On-GPU LRZ direction tracking allows LRZ to support secondary cmdbufs, reusing LRZ between renderpasses, and in future to support LRZ when VK_KHR_dynamic_rendering is used. With on-gpu tracking we have to be careful keeping LRZ state in sync with underlying depth image, which means we should invalidate LRZ when underlying image is changed or the view of image is different from previous renderpass. All of this resulted in LRZ logic being thinly spread through the code, making it hard to understand. So most of it was moved to tu_lrz.c. For more details on past and new LRZ features see comment at the top of tu_lrz.c. Note about blob: - Blob is much more happy to do LRZ_FLUSH, it flushes at the start of the renderpass, after binning, and at the end of the renderpass. - Blob seem not to care about changes in depth image done via vkCmdCopyImage. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6347 Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16251> |
||
|---|---|---|
| .. | ||
| .gitlab-ci | ||
| afuc | ||
| ci | ||
| common | ||
| computerator | ||
| decode | ||
| drm | ||
| drm-shim | ||
| ds | ||
| fdl | ||
| ir2 | ||
| ir3 | ||
| isa | ||
| perfcntrs | ||
| registers | ||
| rnn | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||