mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-06-02 01:47:56 +00:00
layer: Add env var prefix override for back compatibility
This commit is contained in:
parent
21ded6ed67
commit
dc1acf9e37
9 changed files with 88 additions and 39 deletions
|
@ -53,6 +53,9 @@ VkResult vlCreateLayerSettingSet(const char *pLayerName, const VkLayerSettingsCr
|
|||
|
||||
void vlDestroyLayerSettingSet(VlLayerSettingSet layerSettingSet, const VkAllocationCallbacks *pAllocator);
|
||||
|
||||
// Set a compatibility namespace to find layer settings using environment variables
|
||||
void vlSetLayerSettingCompatibilityNamespace(VlLayerSettingSet layerSettingSet, const char *name);
|
||||
|
||||
// Check whether a setting was set either programmatically, from vk_layer_settings.txt or an environment variable
|
||||
VkBool32 vlHasLayerSetting(VlLayerSettingSet layerSettingSet, const char *pSettingName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue