glslang/StandAlone
Lei Zhang 09caf12bec Avoid printing to stdout directly in library functions.
Previously GlslangToSpv() reported missing/TBD functionalities
by directly writing to stdout using printf. That could cause
problems to callers of GlslangToSpv(). This patch cleans up
the error reporting logic in GlslangToSpv(), TGlslangToSpvTraverser,
and spv::Builder a little bit to use ostringstream.

Also fixed the usage of GlslangToSpv() in GTest fixtures to
capture warnings/errors reported when translating AST to SPIR-V.
2016-05-05 10:15:06 -04:00
..
CMakeLists.txt Remove duplicated cmake_minimum_required() calls. 2016-05-04 17:01:36 -04:00
DefaultResourceLimits.cpp Link in Google Test framework. 2016-03-31 10:31:30 -04:00
DefaultResourceLimits.h Link in Google Test framework. 2016-03-31 10:31:30 -04:00
spirv-remap.cpp Fix compilation issues with MSVC 2010 2016-02-23 22:17:38 +01:00
StandAlone.cpp Avoid printing to stdout directly in library functions. 2016-05-05 10:15:06 -04:00
Worklist.h Add an osinclude.h below each OS directory, redirects by platform macro 2015-11-16 18:05:18 +01:00