Register pinned Vulkan software driver on elevated Windows CI

This commit is contained in:
Emil
2026-09-18 05:19:59 +03:00
parent 45bc352d46
commit afd773fffb
+8 -1
View File
@@ -50,9 +50,16 @@ jobs:
.cache/windows-graphics/sdk .cache/windows-graphics/sdk
.cache/windows-graphics/driver .cache/windows-graphics/driver
- name: Probe Vulkan loader and SwiftShader before compiling the engine - name: Probe Vulkan loader and SwiftShader before compiling the engine
# Hosted Windows jobs are elevated, so Khronos correctly ignores driver
# environment overrides. Register the software ICD only on this disposable VM.
# https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderDriverInterface.md#driver-discovery-on-windows
env: env:
VK_LOADER_DEBUG: all VK_LOADER_DEBUG: all
run: python tools/ci/probe_windows_vulkan.py run: |
$driverKey = 'HKLM:\SOFTWARE\Khronos\Vulkan\Drivers'
New-Item -Path $driverKey -Force | Out-Null
New-ItemProperty -Path $driverKey -Name $env:VK_DRIVER_FILES -PropertyType DWord -Value 0 -Force | Out-Null
python tools/ci/probe_windows_vulkan.py
- name: Fetch checksum-verified Slang compiler - name: Fetch checksum-verified Slang compiler
run: python tools/fetch_slang.py run: python tools/fetch_slang.py
- name: Configure full editor and Player - name: Configure full editor and Player