mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 17:18:11 +02:00
In order to enable higher MSAA modes, we're going to have to perform some calculations on how to budget the (sometimes) limited tile-buffer space. Due to limited tilebuffer space, we need to prioritize a bit here. First, we reserve space for 4x MSAA for all formats. Then we try to fit 8 color attachments into the tile-buffer. And then finally, we calculate how many extra multi-sample buffers we can fit into the rest. The reason we reserve 4x MSAA first, is that this is required by all Vulkan versions. It also prevents us from regressing existing features. Then we try to pick 8 color attachments next, because that's required by Vulkan 1.4 as well as Vulkan Roadmap 2024 and D3D12. Vulkan Roadmap 2022 requires 7 as well. This adds helpers that implements this, which can be used by both the Gallium and the Vulkan driver. It's really benefitial if both of these drivers prioritize the same way here. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33925> |
||
|---|---|---|
| .. | ||
| genxml | ||
| kmod | ||
| tests | ||
| .gitignore | ||
| meson.build | ||
| pan_afbc.c | ||
| pan_afrc.c | ||
| pan_attributes.c | ||
| pan_blend.c | ||
| pan_blend.h | ||
| pan_clear.c | ||
| pan_desc.c | ||
| pan_desc.h | ||
| pan_earlyzs.c | ||
| pan_earlyzs.h | ||
| pan_encoder.h | ||
| pan_format.c | ||
| pan_format.h | ||
| pan_indirect_dispatch.c | ||
| pan_indirect_dispatch.h | ||
| pan_jc.h | ||
| pan_layout.c | ||
| pan_pool.h | ||
| pan_props.c | ||
| pan_props.h | ||
| pan_samples.c | ||
| pan_samples.h | ||
| pan_scratch.c | ||
| pan_shader.c | ||
| pan_shader.h | ||
| pan_texture.c | ||
| pan_texture.h | ||
| pan_tiler.c | ||
| pan_util.c | ||
| pan_util.h | ||
| wrap.h | ||