mesa/src/panfrost/util
Eric R. Smith 9e04c0a818 panfrost: add support for image2DMSArray on bifrost
On bifrost we only can use 3 coordinates for images, but
image2DMSArray needs 4 (x, y, sample#, and array index).
We work around this by making the image nr_samples times
higher than the original image, using the Y coordinate to
address the sample plane. This limits the maximum image
height (to 4K pixels instead of 64K pixels in the 16 sample
case) but at least allows us to use the images.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30521>
2024-08-23 16:57:58 +00:00
..
lcra.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
lcra.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
pan_collect_varyings.c pan/mdg: quirk to disable auto32 2024-05-09 21:21:32 +00:00
pan_ir.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_ir.h pan/mdg: quirk to disable auto32 2024-05-09 21:21:32 +00:00
pan_liveness.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_framebuffer.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_framebuffer.h pan/lower_framebuffer: Lower MSAA blend shaders 2023-03-23 23:53:46 +00:00
pan_lower_helper_invocation.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_image_index.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_image_ms.c panfrost: add support for image2DMSArray on bifrost 2024-08-23 16:57:58 +00:00
pan_lower_sample_position.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_store_component.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_writeout.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_xfb.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00