glsl: added slang_variable::is_global field
This commit is contained in:
@@ -39,6 +39,7 @@ typedef struct slang_variable_
|
||||
GLuint array_len; /**< only if type == SLANG_SPEC_ARRAy */
|
||||
struct slang_operation_ *initializer; /**< Optional initializer code */
|
||||
GLuint size; /**< Variable's size in bytes */
|
||||
GLboolean is_global;
|
||||
GLboolean isTemp; /**< a named temporary (__resultTmp) */
|
||||
GLboolean declared; /**< for debug */
|
||||
struct slang_ir_storage_ *store; /**< Storage for this var */
|
||||
|
||||
Reference in New Issue
Block a user