diff options
Diffstat (limited to 'recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch')
-rw-r--r-- | recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch b/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch new file mode 100644 index 000000000..48cfcd765 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From ada74fb0ca3099f33d173eb664bd7e42025a3277 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
3 | Date: Mon, 9 Dec 2024 09:15:11 +0800 | ||
4 | Subject: [PATCH 1/2] MGS-6801 [#ccc] vkmark on wayland | ||
5 | |||
6 | Extend the wayland surface properties with VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR | ||
7 | |||
8 | Upstream-Status: Inappropriate [i.MX-specific] | ||
9 | Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
10 | Signed-off-by: Jiyu Yang <jiyu.yang@nxp.com> | ||
11 | --- | ||
12 | wsi/wayland/surface_properties.cpp | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/wsi/wayland/surface_properties.cpp b/wsi/wayland/surface_properties.cpp | ||
16 | index e6435b9..bc1a737 100644 | ||
17 | --- a/wsi/wayland/surface_properties.cpp | ||
18 | +++ b/wsi/wayland/surface_properties.cpp | ||
19 | @@ -89,7 +89,7 @@ VkResult surface_properties::get_surface_capabilities(VkPhysicalDevice physical_ | ||
20 | |||
21 | /* Composite alpha */ | ||
22 | pSurfaceCapabilities->supportedCompositeAlpha = static_cast<VkCompositeAlphaFlagBitsKHR>( | ||
23 | - VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR | VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR); | ||
24 | + VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR | VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR); | ||
25 | return VK_SUCCESS; | ||
26 | } | ||
27 | |||
28 | -- | ||
29 | 2.37.1 | ||
30 | |||