From eab89d6c76f6fbd497145137c1f7dadd142f2f58 Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Sat, 21 Oct 2023 21:04:04 -0400 Subject: render/vulkan: track and use _UNORM variants of _SRGB formats Later commits will start using _SRGB image views again, where appropriate. --- include/render/vulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; }; -- cgit v1.2.3