aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorPiers Daniell <pdaniell@nvidia.com>2016-04-14 16:57:06 -0600
committerJon Ashburn <jon@lunarg.com>2016-04-14 17:24:15 -0600
commit997954a940ac95f132e259a77a7926ecc693f0cf (patch)
treeaa807b3b77c680c594702293f9ea244395a8ddf4 /loader
parent9da62aa494820a37d6adb7ef5af1d65ca75ac5a1 (diff)
downloadusermoji-997954a940ac95f132e259a77a7926ecc693f0cf.tar.xz
loader: `Remove the ICD and Layers search path for Windows
This makes it more like Linux which leaves it up to the system LoadLibrary() call to find the .dll as specified in the .json files. Hard-coding "C:" or any other search path creates the possibility of picking up the wrong .dll. The LoadLibrary() implementation does the right thing. Change-Id: I58cbdf230a1e86481067efb4aec03447ee55f1ff
Diffstat (limited to 'loader')
-rw-r--r--loader/vk_loader_platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h
index 614abb9b..239115bd 100644
--- a/loader/vk_loader_platform.h
+++ b/loader/vk_loader_platform.h
@@ -254,10 +254,10 @@ using namespace std;
#define DEFAULT_VK_REGISTRY_HIVE HKEY_LOCAL_MACHINE
#define DEFAULT_VK_DRIVERS_INFO "SOFTWARE\\Khronos\\Vulkan\\Drivers"
// TODO: Are these the correct paths
-#define DEFAULT_VK_DRIVERS_PATH "C:\\Windows\\System32;C:\\Windows\\SysWow64"
+#define DEFAULT_VK_DRIVERS_PATH ""
#define DEFAULT_VK_ELAYERS_INFO "SOFTWARE\\Khronos\\Vulkan\\ExplicitLayers"
#define DEFAULT_VK_ILAYERS_INFO "SOFTWARE\\Khronos\\Vulkan\\ImplicitLayers"
-#define DEFAULT_VK_LAYERS_PATH "C:\\Windows\\System32;C:\\Windows\\SysWow64"
+#define DEFAULT_VK_LAYERS_PATH ""
#define LAYERS_PATH_ENV "VK_LAYER_PATH"
#define HOME_VK_DRIVERS_INFO ""
#define HOME_VK_ELAYERS_INFO ""