diff options
author | Simon Ser <contact@emersion.fr> | 2023-05-10 14:31:20 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-11 07:25:32 +0000 |
commit | e353c5c63175c6b3abcbf588aa29285d09817fa4 (patch) | |
tree | f5e56b551c7a3c9aafa05248f9571d8193ef6562 /render | |
parent | 2a1234a820393025063a36b750dfbbf240ba9bdd (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')
-rw-r--r-- | render/vulkan/pixel_format.c | 2 |
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) { |