slang: Handle OOM condition in new_instruction().
[mesa.git] / src / mesa / shader / slang / slang_compile_variable.h
index a667d91b471325f5cce2ac3f370456497dd1a900..b4585599f248219d1efb33e207a3f09eed3d957e 100644 (file)
@@ -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 */