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

API Dump -- no way to set non-ENV options on Android #1612

Open
mark-lunarg opened this issue Oct 21, 2021 · 2 comments
Open

API Dump -- no way to set non-ENV options on Android #1612

mark-lunarg opened this issue Oct 21, 2021 · 2 comments
Assignees
Labels
OS - Android Android specific bug Project - apidump apidump issues

Comments

@mark-lunarg
Copy link
Contributor

API Dump options are settable by using a vk_layer_settings.txt file, but a subset are also settable using environment variables. However, it appears that only the settings with corresponding environment variables can be set using setprop on Android.

@mark-lunarg mark-lunarg added the Project - apidump apidump issues label Oct 21, 2021
@charles-lunarg
Copy link
Contributor

This is indeed the case unfortunately. I noticed this discrepancy when I added other settings but didn't think much of it.
This would be relatively straightforward to fix, just add new env-vars for each of the settings that don't currently have them.

@juan-lunarg
Copy link
Contributor

Now that there is a programming interface:
https://github.com/LunarG/VulkanTools/blob/98597f9b0a4cce30131a581ed56829f71d09193f/layersvt/test/test_api_dump.cpp#L43C4-L43C4

Wouldn't that be this most optimal path forward for Android?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS - Android Android specific bug Project - apidump apidump issues
Projects
None yet
Development

No branches or pull requests

4 participants