Try to fix Vulkan on Windows CI part 2 (#521)

* Try to fix Vulkan SDK on Windows CI

* Try to fix Vulkan SDK on Windows CI

* Update CMakeLists.txt

* Update CMakeLists.txt

* Try to fix Vulkan SDK on Windows CI

* Add trace to Windows build

* Update Windows_Build.yml

* Update Windows_Build.yml

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update Windows_Build.yml
This commit is contained in:
wheremyfoodat 2024-06-25 22:11:48 +00:00 committed by GitHub
parent 12d25fe20d
commit 29d9ed7224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -339,7 +339,7 @@ endif()
if(ENABLE_VULKAN)
find_package(
Vulkan REQUIRED
COMPONENTS glslangValidator
COMPONENTS glslang
)
set(RENDERER_VK_INCLUDE_FILES include/renderer_vk/renderer_vk.hpp
@ -382,7 +382,7 @@ if(ENABLE_VULKAN)
add_custom_command(
OUTPUT ${HOST_SHADER_SPIRV}
COMMAND ${CMAKE_COMMAND} -E make_directory "${PROJECT_BINARY_DIR}/host_shaders/"
COMMAND Vulkan::glslangValidator ${RENDERER_VK_HOST_SHADERS_FLAGS} -V "${PROJECT_SOURCE_DIR}/${HOST_SHADER_SOURCE}" -o ${HOST_SHADER_SPIRV}
COMMAND glslang ${RENDERER_VK_HOST_SHADERS_FLAGS} -V "${PROJECT_SOURCE_DIR}/${HOST_SHADER_SOURCE}" -o ${HOST_SHADER_SPIRV}
DEPENDS ${HOST_SHADER_SOURCE}
)
list( APPEND RENDERER_VK_HOST_SHADERS_SPIRV ${HOST_SHADER_SPIRV} )