mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/vulkan: detect which _UNORM formats support _SRGB views
This commit is contained in:
parent
acc70ee3a5
commit
fd4548bb93
3 changed files with 67 additions and 9 deletions
|
|
@ -455,8 +455,8 @@ struct wlr_vk_device *vulkan_device_create(struct wlr_vk_instance *ini,
|
|||
dev->drm_fd = -1;
|
||||
|
||||
// For dmabuf import we require at least the external_memory_fd,
|
||||
// external_memory_dma_buf, queue_family_foreign and
|
||||
// image_drm_format_modifier extensions.
|
||||
// external_memory_dma_buf, queue_family_foreign,
|
||||
// image_drm_format_modifier, and image_format_list extensions.
|
||||
// The size is set to a large number to allow for other conditional
|
||||
// extensions before the device is created
|
||||
const char *extensions[32] = {0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue