-
Notifications
You must be signed in to change notification settings - Fork 27
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
Creating VK Device fails on a vkEnumeratePhysicalDeviceGroups() call #107
Comments
(sorry, was on vacation) It's a strange situation, because P.S. Wanna understand better the context. I don't mind to just take "the fix", but it should be unnecessary. |
OK, I have convinced myself that |
Fixed in two places and committed. Thanks! |
It's a bit harder to make sense of it on Arch, but I believe its 1.3.295. Here are the versions for the
Should you need any additional information, let me know. |
I see. Thanks. No additional info needed. Really, looks like violation of the spec. |
Tried to compile the library with validation layers on Linux with GCC 14.2.1 and kept running into the following error during device creation:
that happens on line 415 in
DeviceVK.hpp
:As far as I understand, that seems to happen because memory allocated on line 414 is not default constructed and thus filled with garbage data, causing validation layers to throw an error when checking their contents (despite those values not being used since they're about to be overriden anyway?). Manually settings
sType
andpNext
fields in an array before the call seems to fix the issue:However, I have not encountered such an error while using the library before and other machines seem to work fine... Could it be a some sort of misconfiguration on my part? Might there be a better solution?
The text was updated successfully, but these errors were encountered: