mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
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.
This commit is contained in:
parent
2a1234a820
commit
e353c5c631
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue