mesa/src/panfrost
Boris Brezillon 3f8cebee09 panfrost: Move image states out of pan_image_layout
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>
2021-04-13 18:06:37 +00:00
..
bifrost nir/lower_idiv: add options to use fp32 for 8-bit division lowering 2021-04-12 16:19:46 +00:00
include panfrost: Get rid of IS_BIFROST 2021-02-02 09:04:15 +01:00
lib panfrost: Move image states out of pan_image_layout 2021-04-13 18:06:37 +00:00
midgard nir/lower_idiv: add options to use fp32 for 8-bit division lowering 2021-04-12 16:19:46 +00:00
shared util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
util panfrost: Split the sampler and texture count 2021-03-11 15:10:58 +00:00
Android.bifrost.mk android: pan/bi: Remove old IR packs 2021-01-04 17:32:31 +00:00
Android.lib.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.midgard.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.mk android: panfrost: Move pandecode into lib/ 2020-08-10 21:35:31 +02:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.util.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Makefile.sources panfrost: Add helpers to support indirect draws 2021-04-07 08:27:58 +00:00
meson.build panfrost: Add a Meson dependency on bi_opcodes.h for bifrost_compiler 2021-03-19 19:22:29 +00:00