Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only request debug layers when they're available #819

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

jerzywilczek
Copy link
Collaborator

Previously, vulkan debug layers were always activated when compiling in debug mode. Unfortunately, when a user compiled this library without having a separate package installed with the debug layers, it would fail to initialize because the lack of debug layers.

This patch only requests them if they are available on the system.

Closes #811

Previously, vulkan debug layers were always activated when compiling in
debug mode. Unfortunately, when a user compiled this library without
having a separate package installed with the debug layers, it would fail
to initialize because the lack of debug layers.

This patch only requests them if they are available on the system.
@jerzywilczek jerzywilczek merged commit 61a8322 into master Oct 14, 2024
3 checks passed
@jerzywilczek jerzywilczek deleted the @jerzywilczek/vulkan-debug-layer-fix branch October 14, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulkan video deocder won't start in debug mode without debug layers installed
4 participants