Find the Vulkan SDK from %VULKAN_SDK% environmental variable.
This commit is contained in:
parent
fd37112db8
commit
6dab81d0cd
|
@ -642,8 +642,7 @@ class GenSpirvCommand(Command):
|
||||||
print('Generating SPIR-V binaries...')
|
print('Generating SPIR-V binaries...')
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
# TODO(benvanik): actually find vulkan SDK. Env var? etc?
|
vulkan_sdk_path = os.environ['VULKAN_SDK']
|
||||||
vulkan_sdk_path = 'C:\\VulkanSDK\\1.0.3.1'
|
|
||||||
vulkan_bin_path = os.path.join(vulkan_sdk_path, 'bin')
|
vulkan_bin_path = os.path.join(vulkan_sdk_path, 'bin')
|
||||||
glslang = os.path.join(vulkan_bin_path, 'glslangValidator')
|
glslang = os.path.join(vulkan_bin_path, 'glslangValidator')
|
||||||
spirv_dis = os.path.join(vulkan_bin_path, 'spirv-dis')
|
spirv_dis = os.path.join(vulkan_bin_path, 'spirv-dis')
|
||||||
|
|
Loading…
Reference in New Issue