diff options
| author | David Pinedo <david@lunarg.com> | 2016-02-05 09:48:26 -0700 |
|---|---|---|
| committer | David Pinedo <david@lunarg.com> | 2016-02-05 09:58:55 -0700 |
| commit | 08f2b986d48acd3a4a21c72a9587a03e8ac40fff (patch) | |
| tree | 626fd22adce45f143645012f920db55296a276e1 /windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 | |
| parent | 2429a9f6ad4dd347f9fc4ca900440b139b6502a8 (diff) | |
| download | usermoji-08f2b986d48acd3a4a21c72a9587a03e8ac40fff.tar.xz | |
winrtinstaller: Improve search for layer json files in SDK Bin dir
Diffstat (limited to 'windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1')
| -rw-r--r-- | windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 b/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 index 5cc5cfb8..7d90f620 100644 --- a/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 +++ b/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 @@ -266,7 +266,7 @@ if ($ossize -eq 64) { if ($mrVulkanDllInstallDir -ne "") {
New-Item -Force -ErrorAction SilentlyContinue -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers | out-null
- Get-ChildItem $mrVulkanDllInstallDir\Bin -Filter *json |
+ Get-ChildItem $mrVulkanDllInstallDir\Bin -Filter VkLayer*json |
ForEach-Object {
New-ItemProperty -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers -Name $mrVulkanDllInstallDir\Bin\$_ -PropertyType DWord -Value 0 | out-null
}
@@ -274,7 +274,7 @@ if ($mrVulkanDllInstallDir -ne "") { # Create registry entires for the WOW6432Node registry only if we're targeting a 64-bit OS
if ($ossize -eq 64) {
New-Item -Force -ErrorAction Ignore -Path HKLM:\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers | out-null
- Get-ChildItem $mrVulkanDllInstallDir\Bin32 -Filter *json |
+ Get-ChildItem $mrVulkanDllInstallDir\Bin32 -Filter VkLayer*json |
ForEach-Object {
New-ItemProperty -Path HKLM:\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers -Name $mrVulkanDllInstallDir\Bin32\$_ -PropertyType DWord -Value 0 | out-null
}
|
