aboutsummaryrefslogtreecommitdiff
path: root/include/render/vulkan.h
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2023-10-21 21:04:04 -0400
committerSimon Ser <contact@emersion.fr>2023-12-04 15:13:31 +0000
commiteab89d6c76f6fbd497145137c1f7dadd142f2f58 (patch)
tree5f16497d7704a999fa65aaaadc046232014969b9 /include/render/vulkan.h
parent6287b610253d63fdb456564743b02f76919b17fb (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/render/vulkan.h')
-rw-r--r--include/render/vulkan.h2
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;
};