xchange-94: Use VK_ prefix for environment vars
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 29 Jul 2015 15:08:22 +0000 (09:08 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 31 Jul 2015 20:15:23 +0000 (14:15 -0600)
Use the Vulkan namespace (VK_ prefix) on debug environment
variables used in the loader and the Intel sample driver.
This resolves LunarXchange bug #94.
https://vulkan.lunarg.com/app/issues/55b76baa7ef24d0001000072

loader/loader.c

index 8fd4b10a88b302a6562a02cc94a55f4b04d28083..c3e28fbcdeec168deea5a1679479c7f2506341f8 100644 (file)
@@ -987,7 +987,7 @@ static void loader_debug_init(void)
     g_loader_debug = 0;
 
     /* parse comma-separated debug options */
-    env = getenv("LOADER_DEBUG");
+    env = getenv("VK_LOADER_DEBUG");
     while (env) {
         const char *p = strchr(env, ',');
         size_t len;