Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion icd/vksc_global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceVersion(uint32_t* pApiVersion)

VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char* pLayerName, uint32_t* pPropertyCount,
VkExtensionProperties* pProperties) {
icd::EnvironmentOverride override(vksc::ICD.Environment());
// No EnvironmentOverride here: this entry point only reads the cached instance extension list and
// never calls into the Vulkan loader, so clearing the loader environment variables has no effect at
// this site, while the clearing itself is process-wide and visible to concurrent driver discovery.
return vksc::ICD.EnumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties);
}

Expand Down
Loading