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

extensions: Remove get_properties() helper from extension wrappers #728

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

MarijnS95
Copy link
Collaborator

This helper function isn't consistently implemented across most extension wrappers, and promotes bad Vulkan patterns by not making it obvious to the caller that get_physical_device_properties2() can and should be used to fill multiple properties structs at once.

@MarijnS95 MarijnS95 force-pushed the extensions-remove-get_properties branch from 0a47cbb to a5d6aa3 Compare March 28, 2023 23:55
This helper function isn't consistently implemented across most
extension wrappers, and promotes bad Vulkan patterns by not making it
obvious to the caller that `get_physical_device_properties2()` can and
should be used to fill multiple properties structs at once.
@MarijnS95 MarijnS95 force-pushed the extensions-remove-get_properties branch from a5d6aa3 to 1728f13 Compare March 29, 2023 22:45
@MarijnS95 MarijnS95 merged commit f98cab4 into master Mar 30, 2023
@MarijnS95 MarijnS95 deleted the extensions-remove-get_properties branch March 30, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants