vulkan-wsi-layer/util/drm
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_utils.cpp Fix the number of planes calculation 2024-08-13 19:27:55 +01:00
drm_utils.hpp Fix the number of planes calculation 2024-08-13 19:27:55 +01:00
format_table.c Adds initial support for VK_KHR_wayland_surface. 2021-02-09 18:22:09 +00:00
format_table.h Add versioning to wsialloc interface 2021-11-15 13:59:10 +00:00