mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 11:18:11 +02:00
The current approach of explicitly saving/restoring some states is unnecessarily complicated and inefficient. For example, some meta OPs that use memory fills/copies will have nested save/restores. This patch is the first step towards avoiding unnecessary state re-emits around meta OPs. The changes are: - Move radv_meta_saved_state to radv_cmd_buffer::state - Add radv_meta_begin/end helpers that initialize radv_meta_saved_state and restore states used by the meta OP - Remove all explicit saves/restores, use the new helpers radv_meta_begin/end is called inside the entrypoint and not some nested helper function which means that state is only restored once per meta OP. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39774> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| drm-shim | ||
| gmlib | ||
| lanczoslib | ||
| llvm | ||
| registers | ||
| vpelib | ||
| vulkan | ||
| meson.build | ||