mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 15:18:09 +02:00
The layout is supposed to encode image miplevels/surfaces layout, not the state data stored in the buffers. It doesn't matter for a gallium driver, since resources are expected to hold both a layout and a state, but Vulkan is a bit different. In Vulkan, the image state is explicitly passed by the user when starting a render pass (vkCmdBeginRenderPass()), and might evolve depending on the operation done in this render pass. This state is not effective until the command buffer is queued and executed. For these reasons, keeping the image state attached to the VkImage object is not an option, but we'd still like to re-use the layout and state objects, and all common helpers acting on those objects. Let's move the state bits out of the layout to make that possible. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033> |
||
|---|---|---|
| .. | ||
| bifrost | ||
| include | ||
| lib | ||
| midgard | ||
| shared | ||
| util | ||
| Android.bifrost.mk | ||
| Android.lib.mk | ||
| Android.midgard.mk | ||
| Android.mk | ||
| Android.shared.mk | ||
| Android.util.mk | ||
| Makefile.sources | ||
| meson.build | ||