-
Notifications
You must be signed in to change notification settings - Fork 38
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
Is there a way to disable features? #393
Comments
Thanks to the Or am I missing something? |
There's two issues here I think:
|
|
Ok. If an application were to use the vpCreateDevice API would it work like "false by default"? If that's the case, it seems reasonable to add an option to profile layer to assume any feature is not supported unless it's required by an enabled extension in question. |
I think I have a beginning of a solution here: #397 I am still unsure how to handle properties considering that there is no programmable way to get Vulkan specification default/min requirement values and zeros could be misleading or incorrect... Well I'll continous investigating! |
I think the feature is ready: #397 Considering that appearly you choose to not use Vulkan Configurator, you can use the environment variable I hope I understood well enough the problem you where trying to resolve which led me to this solution. Let me know if you are experiencing any issue! |
Thanks. I'll look into this when I'm back from holidays. |
@christophe-lunarg Seems to work as intended. Thanks! |
Welcome @HansKristian-Work ! :) |
I was adding profile support to a project and I ran into some weirdness with features.
My assumption is that features are disabled unless enabled by a profile, but that does not seem to be the case. E.g. given this profile:
I'm using the profiles layer to create a min-spec device:
I get warnings during execution:
I ran vulkaninfo with layer enabled and I get:
The text was updated successfully, but these errors were encountered: