aboutsummaryrefslogtreecommitdiff
path: root/include/GLSLANG/ShaderLang.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GLSLANG/ShaderLang.h')
-rw-r--r--include/GLSLANG/ShaderLang.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/GLSLANG/ShaderLang.h b/include/GLSLANG/ShaderLang.h
index a40a20a3..442b5a2b 100644
--- a/include/GLSLANG/ShaderLang.h
+++ b/include/GLSLANG/ShaderLang.h
@@ -37,7 +37,7 @@ extern "C" {
// Version number for shader translation API.
// It is incremented every time the API changes.
-#define ANGLE_SH_VERSION 121
+#define ANGLE_SH_VERSION 122
//
// The names of the following enums have been derived by replacing GL prefix
@@ -413,6 +413,10 @@ COMPILER_EXPORT void ShGetObjectCode(const ShHandle handle, char* objCode);
// size: Returns the size of the variable.
// type: Returns the data type of the variable.
// precision: Returns the precision of the variable.
+// staticUse: Returns 1 if the variable is accessed in a statement after
+// pre-processing, whether or not run-time flow of control will
+// cause that statement to be executed.
+// Returns 0 otherwise.
// name: Returns a null terminated string containing the name of the
// variable. It is assumed that name has enough memory to accormodate
// the variable name. The size of the buffer required to store the
@@ -431,6 +435,7 @@ COMPILER_EXPORT void ShGetVariableInfo(const ShHandle handle,
int* size,
ShDataType* type,
ShPrecisionType* precision,
+ int* staticUse,
char* name,
char* mappedName);