mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-07 04:06:14 -05:00
render/vulkan: put vulkan debug logs on WLR_DEBUG
Previously, VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT was commented out. Instead, subscribe to vulkan message severity based on wlr_log_get_verbosity. This allows vulkan validation layer messages to be printed, instead of being completely swallowed no matter what.
This commit is contained in:
parent
9119b8aa85
commit
72ece9dddf
2 changed files with 18 additions and 6 deletions
|
|
@ -2570,7 +2570,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue