Skip to content

Commit

Permalink
[vulkan] Fix glslc path for desktop build (pytorch#56507)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#56507

Test Plan: Imported from OSS

Reviewed By: SS-JIA

Differential Revision: D27951058

Pulled By: IvanKobzarev

fbshipit-source-id: 29443b61264bb28ae4982ed9f4c21f1c45f6b519
  • Loading branch information
IvanKobzarev authored and facebook-github-bot committed May 11, 2021
1 parent d49f6d5 commit 111c99c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/VulkanCodegen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 111c99c

Please sign in to comment.