Add new SpirvToolsDisassemble API interface + Improve Doc on existing API interface (#2408)
* Add more flexible SpirvToolsDisassemble interface to allow specifying spv_target_env for disassembly output. Improve documentation on existing SpirvToolsDisassemble interface. * Update pre-processor check - following existing ENABLE_OPT checks. * Fix not-found header paths for glslangValidator and glslangtests.
This commit is contained in:
parent
f05c076e26
commit
d1929f359a
4 changed files with 29 additions and 7 deletions
|
|
@ -83,6 +83,12 @@ if(BUILD_TESTING)
|
|||
${gmock_SOURCE_DIR}/include
|
||||
${gtest_SOURCE_DIR}/include)
|
||||
|
||||
if(ENABLE_OPT)
|
||||
target_include_directories(glslangtests
|
||||
PRIVATE ${spirv-tools_SOURCE_DIR}/include
|
||||
)
|
||||
endif(ENABLE_OPT)
|
||||
|
||||
set(LIBRARIES
|
||||
glslang OSDependent OGLCompiler glslang
|
||||
SPIRV glslang-default-resource-limits)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue