VulkanTools icon indicating copy to clipboard operation
VulkanTools copied to clipboard

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

Open mark-lunarg opened this issue 4 years ago • 2 comments

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 avatar Oct 21 '21 20:10 mark-lunarg

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.

charles-lunarg avatar Oct 22 '21 19:10 charles-lunarg

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?

juan-lunarg avatar Nov 16 '23 00:11 juan-lunarg