mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[vulkan] Fix glslc path for desktop build (#56507)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/56507 Test Plan: Imported from OSS Reviewed By: SS-JIA Differential Revision: D27951058 Pulled By: IvanKobzarev fbshipit-source-id: 29443b61264bb28ae4982ed9f4c21f1c45f6b519
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d49f6d556b
commit
111c99cdfd
@ -45,7 +45,9 @@ if(NOT USE_VULKAN_SHADERC_RUNTIME)
|
||||
GLSLC_PATH glslc
|
||||
PATHS
|
||||
ENV VULKAN_SDK
|
||||
PATHS "$ENV{VULKAN_SDK}/${CMAKE_HOST_SYSTEM_PROCESSOR}/bin")
|
||||
PATHS "$ENV{VULKAN_SDK}/${CMAKE_HOST_SYSTEM_PROCESSOR}/bin"
|
||||
PATHS "$ENV{VULKAN_SDK}/bin"
|
||||
)
|
||||
|
||||
if(NOT GLSLC_PATH)
|
||||
message(FATAL_ERROR "USE_VULKAN glslc not found")
|
||||
|
Reference in New Issue
Block a user