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

Invalid settings from VK_EXT_layer_settings are not reported #9028

Open
elasota opened this issue Dec 14, 2024 · 0 comments
Open

Invalid settings from VK_EXT_layer_settings are not reported #9028

elasota opened this issue Dec 14, 2024 · 0 comments

Comments

@elasota
Copy link

elasota commented Dec 14, 2024

Environment:

  • OS: Windows 10
  • GPU and driver version: AMD Radeon RX 6700, driver 24.9.1
  • SDK or header version if building from repo: 1.3.296.0

Describe the Issue
If a setting is supplied VK_EXT_layer_settings that is not actually supported by the validation layer, no warning message is generated. Since VK_EXT_layer_settings itself doesn't supply a reflection API to enumerate settings, there isn't really a way to validate that the settings being passed were correct.

Passing values with the wrong type also results in unusual behavior, e.g. passing "thread_safety" with the type set to VK_LAYER_SETTING_TYPE_INT32_EXT results in the setting being disabled.

Expected behavior
Passing an unsupported or incorrectly-typed setting should produce a warning.

Valid Usage ID
There does not appear to be a VUID for this.

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

No branches or pull requests

1 participant