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

vulkan: Log validation layer messages during instance creation/destruction #4586

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

exrook
Copy link
Contributor

@exrook exrook commented Oct 27, 2023

Checklist

  • Run cargo clippy.
  • Run cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections
n/a

Description
We currently miss some potentially useful validation layer messages by only registering our message callback after the instance has been created, by additionally passing the callback to VkCreateInstance we can log messages that occur during instance creation and destruction.

Testing
covered by existing vulkan tests

@exrook exrook marked this pull request as ready for review October 27, 2023 14:24
@exrook exrook requested a review from a team as a code owner October 27, 2023 14:24
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@cwfitzgerald cwfitzgerald merged commit e7e2f2a into gfx-rs:trunk Nov 6, 2023
27 checks passed
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.

2 participants