From fca75340443c286fab0bbc0d278f962a6b077f6e Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Tue, 3 Sep 2013 15:16:03 +0000 Subject: [PATCH] Restore TDebugOptions, as code consuming this interface is still using it, even though the front-end proper no longer uses it. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22910 e7fa87d3-cd2b-0410-9028-fcbf551c1848 --- glslang/Public/ShaderLang.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h index 833b299c..2e8861b4 100644 --- a/glslang/Public/ShaderLang.h +++ b/glslang/Public/ShaderLang.h @@ -217,6 +217,21 @@ SH_IMPORT_EXPORT int ShExcludeAttributes(const ShHandle, int *attributes, int co // SH_IMPORT_EXPORT int ShGetUniformLocation(const ShHandle uniformMap, const char* name); +// These are currently unused in the front end, but consumers of the front-end still +// be rely on them: +enum TDebugOptions { + EDebugOpNone = 0x000, + EDebugOpIntermediate = 0x001, + EDebugOpAssembly = 0x002, + EDebugOpObjectCode = 0x004, + EDebugOpLinkMaps = 0x008, + EDebugOpSuppressInfolog = 0x010, + EDebugOpMemoryLeakMode = 0x020, + EDebugOpTexturePrototypes = 0x040, + EDebugOpRelaxedErrors = 0x080, + EDebugOpGiveWarnings = 0x100, +}; + #ifdef __cplusplus } // end extern "C" #endif