mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 00:20:27 +01:00
Previously, double-buffer mode would apply to all jobs except msaa, but this is not smart, since not all jobs can benefit from this. In particular, if jobs load the tile buffer and don't store tiles double buffer mode won't be effective and we would instead pay the cost of the smaller tile size so we only want to enable in jobs that meet these requirements. In order to achieve this we need to postpone the decision about double buffering until we know the loads and stores of the job, which means we need to do this late after we have recorded draws. This means that by default, we assume no double-buffer mode is used and if we find we want to enable after emitting the draws we need to re-compute tile sizes and rewrite the TILE_BINNING_MODE_CFG packet accordingly. Making the decison about double-buffer late will also enable us to add heuristics to decide about double-buffer based on the draw calls emitted in the job, but we will do this in a separate patch. Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32111> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| gfxstream | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| x11 | ||
| .clang-format | ||
| meson.build | ||