SPV: Add option to print disassembly in standard form using SPIRV-Tools.

This commit is contained in:
John Kessenich
2018-06-11 18:12:15 -06:00
parent 6d61684f4b
commit e2156222d3
5 changed files with 40 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ if(ENABLE_OPT)
PRIVATE ${spirv-tools_SOURCE_DIR}/source
)
target_link_libraries(SPIRV glslang SPIRV-Tools-opt)
target_include_directories(SPIRV PUBLIC ../External)
else()
target_link_libraries(SPIRV glslang)
endif(ENABLE_OPT)