We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7105e00 commit 5e7b4f4Copy full SHA for 5e7b4f4
attachments/CMakeLists.txt
@@ -94,8 +94,7 @@ function (add_slang_shader_target TARGET)
94
)
95
add_custom_command (
96
OUTPUT ${SHADERS_DIR}/slang.spv
97
- COMMAND ${SLANGC_EXECUTABLE} ${SHADER_SOURCES} -target spirv -profile spirv_1_4 -emit-spirv-directly -fvk-use-entrypoint-name ${ENTRY_POINTS} -o slang.spv
98
- WORKING_DIRECTORY ${SHADERS_DIR}
+ COMMAND ${SLANGC_EXECUTABLE} ${SHADER_SOURCES} -target spirv -profile spirv_1_4 -emit-spirv-directly -fvk-use-entrypoint-name ${ENTRY_POINTS} -o ${CMAKE_CURRENT_LIST_DIR}/${SHADERS_DIR}/slang.spv
99
DEPENDS ${SHADERS_DIR} ${SHADER_SOURCES}
100
COMMENT "Compiling Slang Shaders"
101
VERBATIM
0 commit comments