Joshua Ashton
a41c953555
Merge branch 'refactor-vulkan-modifier-tests' into 'master'
...
render/vulkan: Refactor image usages for modifiers
See merge request wlroots/wlroots!3339
2022-09-12 15:41:54 +00:00
Simon Ser
ed018a3ee2
render/vulkan: drop wlr_vk_device.extensions
...
We don't need to store the list of enabled extensions.
While at it, rename variables to be less confusing.
2022-09-07 14:41:40 +02:00
Simon Ser
e19007dede
render/vulkan: drop ext params from vulkan_device_create()
...
These are unused.
2022-09-07 14:39:58 +02:00
Simon Ser
d8d30463ac
render/vulkan: log physical device driver name
...
This can be useful to figure out why a required feature is missing,
e.g. as in [1].
We check VK_EXT_physical_device_drm availability after printing
the driver name.
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3358
2022-01-19 13:08:46 +01:00
Joshua Ashton
49c67c5615
render/vulkan: Refactor image usages for modifiers
...
Makes this much more extensible so we could add a storage type in future for compute.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-11-10 10:36:27 +00:00
nyorain
8e34692250
render/vulkan: add Vulkan renderer
...
This new renderer is implemented with the existing wlr_renderer API
(which is known to be sub-optimal for some operations). It's not
used by default, but users can opt-in by setting WLR_RENDERER=vulkan.
The renderer depends on VK_EXT_image_drm_format_modifier and
VK_EXT_physical_device_drm.
Co-authored-by: Simon Ser <contact@emersion.fr>
Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
2021-10-18 11:51:13 +02:00