Merge branch 'vulkan-debug-messages' into 'master'

render/vulkan: put vulkan debug logs on WLR_DEBUG

See merge request wlroots/wlroots!5216
This commit is contained in:
khyperia 2026-03-22 10:34:31 +01:00
commit 01759b0f4c
2 changed files with 18 additions and 6 deletions

View file

@ -2594,7 +2594,7 @@ struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(int drm_fd) {
wlr_log(WLR_INFO, "The vulkan renderer is only experimental and "
"not expected to be ready for daily use");
wlr_log(WLR_INFO, "Run with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation "
"to enable the validation layer");
"and a log level of WLR_DEBUG to enable the validation layer");
struct wlr_vk_instance *ini = vulkan_instance_create(default_debug);
if (!ini) {