diff options
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 931e5e5f..42b79bbd 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -96,14 +96,19 @@ struct wlr_vk_format_modifier_props { struct wlr_vk_format_props { struct wlr_vk_format format; - VkExtent2D max_extent; // relevant if not created as dma_buf - VkFormatFeatureFlags features; // relevant if not created as dma_buf - uint32_t render_mod_count; - struct wlr_vk_format_modifier_props *render_mods; + struct { + VkExtent2D max_extent; + VkFormatFeatureFlags features; + } shm; + + struct { + uint32_t render_mod_count; + struct wlr_vk_format_modifier_props *render_mods; - uint32_t texture_mod_count; - struct wlr_vk_format_modifier_props *texture_mods; + uint32_t texture_mod_count; + struct wlr_vk_format_modifier_props *texture_mods; + } dmabuf; }; void vulkan_format_props_query(struct wlr_vk_device *dev, |