diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-10-21 21:04:04 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-04 15:13:31 +0000 |
commit | eab89d6c76f6fbd497145137c1f7dadd142f2f58 (patch) | |
tree | 5f16497d7704a999fa65aaaadc046232014969b9 /include | |
parent | 6287b610253d63fdb456564743b02f76919b17fb (diff) |
render/vulkan: track and use _UNORM variants of _SRGB formats
Later commits will start using _SRGB image views again,
where appropriate.
Diffstat (limited to 'include')
-rw-r--r-- | include/render/vulkan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h index a518ee4a..17f1c3bb 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -87,7 +87,7 @@ int vulkan_find_mem_type(struct wlr_vk_device *device, struct wlr_vk_format { uint32_t drm; VkFormat vk; - bool is_srgb; + VkFormat vk_srgb; // sRGB version of the format, or 0 if nonexistent bool is_ycbcr; }; |