vulkan-wsi-layer/util
Angeliki Agathi Tsintzira 1fa0ac21f3 Fix the number of planes calculation
Previously, the number of planes was incorrectly calculated.
The number of planes for non-linear images was the format
planes from wsialloc instead of the memory planes expected
by the implementation.

Additionally, the VK_IMAGE_CREATE_DISJOINT_BIT was based on
the format planes during image creation, instead of using the
allocation planes from wsialloc.

This commit corrects these issues by ensuring the plane count
and disjoint bit is set based on the appropriate memory planes.

Signed-off-by: Angeliki Agathi Tsintzira <angelikiagathi.tsintzira@arm.com>
Change-Id: I47ca4a0c710cdf21d94705c57f08de4f04b3a761
2024-08-13 19:27:55 +01:00
..
drm Fix the number of planes calculation 2024-08-13 19:27:55 +01:00
wsialloc Extend wsialloc_alloc with disjoint information 2024-06-10 10:00:49 +01:00
custom_allocator.cpp Update clang-format rules 2024-07-04 10:30:42 +01:00
custom_allocator.hpp Update clang-format rules 2024-07-04 10:30:42 +01:00
extension_list.cpp Fix issues flagged by static analysis 2024-01-05 12:41:47 +00:00
extension_list.hpp Fix issues reported by static analysis tools 2022-11-11 14:27:03 +00:00
file_descriptor.hpp VK_KHR_display surface_properties implementation 2024-08-12 11:44:22 +00:00
format_modifiers.cpp Update clang-format rules 2024-07-04 10:30:42 +01:00
format_modifiers.hpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
helpers.hpp Extend TRY macro to print out error messages 2022-11-24 11:24:34 +00:00
log.cpp Fix formatting long as %d in util/log.cpp 2023-10-19 08:23:09 +00:00
log.hpp Fix formatting long as %d in util/log.cpp 2023-10-19 08:23:09 +00:00
macros.hpp VK_KHR_display surface_properties implementation 2024-08-12 11:44:22 +00:00
platform_set.hpp Enable instance extensions required by layer 2022-05-30 13:51:20 +01:00
ring_buffer.hpp Update WSI layer to use C++17 2022-08-19 08:56:59 +00:00
timed_semaphore.cpp Fix issues found by static analysis 2022-07-21 19:05:53 +01:00
timed_semaphore.hpp Update clang-format rules 2024-07-04 10:30:42 +01:00
unordered_map.hpp Update clang-format rules 2024-07-04 10:30:42 +01:00
unordered_set.hpp Update clang-format rules 2024-07-04 10:30:42 +01:00