demos: Change MSVC proj files to remove PATH and add VK_LAYER_PATH
authorJon Ashburn <jon@lunarg.com>
Mon, 28 Mar 2016 14:44:46 +0000 (08:44 -0600)
committerJon Ashburn <jon@lunarg.com>
Mon, 28 Mar 2016 14:44:46 +0000 (08:44 -0600)
The PATH is lower in search order so ICD that install loader in System32
which is now happening no longer find the local built vulkan-1.dll via the
PATH setting. Add the VK_LAYER_PATH  so the local built layers get found.

Change-Id: I56097199a108e30fdf4787e09e62c8ca1544de91

demos/cube.vcxproj.user
demos/tri.vcxproj.user
demos/vulkaninfo.vcxproj.user

index 8d96498..fc118aa 100755 (executable)
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="utf-8"?>\r
+<?xml version="1.0" encoding="utf-8"?>\r
 <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Debug;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Debug</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Release;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Release</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
 </Project>\r
index 8d96498..fc118aa 100755 (executable)
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="utf-8"?>\r
+<?xml version="1.0" encoding="utf-8"?>\r
 <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Debug;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Debug</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Release;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Release</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
 </Project>\r
index 8d96498..fc118aa 100755 (executable)
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="utf-8"?>\r
+<?xml version="1.0" encoding="utf-8"?>\r
 <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Debug;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Debug</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
-    <LocalDebuggerEnvironment>PATH=..\loader\Release;%PATH%</LocalDebuggerEnvironment>\r
+    <LocalDebuggerEnvironment>VK_LAYER_PATH=..\layers\Release</LocalDebuggerEnvironment>\r
     <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>\r
   </PropertyGroup>\r
 </Project>\r