mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/vulkan: track and use _UNORM variants of _SRGB formats
Later commits will start using _SRGB image views again, where appropriate.
This commit is contained in:
parent
6287b61025
commit
eab89d6c76
4 changed files with 16 additions and 15 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue