Add a simple SPIR-V for purposes of smoke testing the C API.
This commit is contained in:
parent
3699ead741
commit
afef135dd8
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,7 +3,6 @@
|
|||||||
*.txt
|
*.txt
|
||||||
/test
|
/test
|
||||||
/spirv-cross
|
/spirv-cross
|
||||||
*.spv
|
|
||||||
/obj
|
/obj
|
||||||
/msvc/x64
|
/msvc/x64
|
||||||
/msvc/Debug
|
/msvc/Debug
|
||||||
|
@ -233,7 +233,7 @@ if (SPIRV_CROSS_CLI)
|
|||||||
target_compile_options(spirv-cross-c-api-test PRIVATE -std=c89 -Wall -Wextra)
|
target_compile_options(spirv-cross-c-api-test PRIVATE -std=c89 -Wall -Wextra)
|
||||||
endif()
|
endif()
|
||||||
add_test(NAME spirv-cross-c-api-test
|
add_test(NAME spirv-cross-c-api-test
|
||||||
COMMAND $<TARGET_FILE:spirv-cross-c-api-test> ${CMAKE_CURRENT_SOURCE_DIR}/tests-other/c-api-test.spv)
|
COMMAND $<TARGET_FILE:spirv-cross-c-api-test> ${CMAKE_CURRENT_SOURCE_DIR}/tests-other/c_api_test.spv)
|
||||||
add_test(NAME spirv-cross-test
|
add_test(NAME spirv-cross-test
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_shaders.py --parallel
|
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_shaders.py --parallel
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/shaders
|
${CMAKE_CURRENT_SOURCE_DIR}/shaders
|
||||||
|
BIN
tests-other/c_api_test.spv
Normal file
BIN
tests-other/c_api_test.spv
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user