aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-10 14:31:20 +0200
committerSimon Ser <contact@emersion.fr>2023-05-11 07:25:32 +0000
commite353c5c63175c6b3abcbf588aa29285d09817fa4 (patch)
treef5e56b551c7a3c9aafa05248f9571d8193ef6562 /render/vulkan
parent2a1234a820393025063a36b750dfbbf240ba9bdd (diff)
render/vulkan: enable NV12 on big-endian
This format doesn't change its layout on big endian because it's not packed and has 8-bit channels.
Diffstat (limited to 'render/vulkan')
-rw-r--r--render/vulkan/pixel_format.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/render/vulkan/pixel_format.c b/render/vulkan/pixel_format.c
index c1931180..59be2041 100644
--- a/render/vulkan/pixel_format.c
+++ b/render/vulkan/pixel_format.c
@@ -145,13 +145,11 @@ static const struct wlr_vk_format formats[] = {
#endif
// YCbCr formats
-#if WLR_LITTLE_ENDIAN
{
.drm = DRM_FORMAT_NV12,
.vk = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,
.is_ycbcr = true,
},
-#endif
};
const struct wlr_vk_format *vulkan_get_format_list(size_t *len) {