diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-10-21 21:29:46 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-04 15:13:31 +0000 |
commit | fd4548bb93af7e26f52a9ca266da3af78b17bf93 (patch) | |
tree | 95ec4927b89c938a45038f9440c3249db094aa3b /include/render | |
parent | acc70ee3a5fd4993491b366841798fffb2fcb50f (diff) |
render/vulkan: detect which _UNORM formats support _SRGB views
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 17f1c3bb..c0ba9b20 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -101,6 +101,7 @@ const struct wlr_vk_format *vulkan_get_format_from_drm(uint32_t drm_format); struct wlr_vk_format_modifier_props { VkDrmFormatModifierPropertiesEXT props; VkExtent2D max_extent; + bool has_mutable_srgb; }; struct wlr_vk_format_props { @@ -109,6 +110,7 @@ struct wlr_vk_format_props { struct { VkExtent2D max_extent; VkFormatFeatureFlags features; + bool has_mutable_srgb; } shm; struct { |