summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_codegen.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-06-25 10:20:21 -0600
committerBrian Paul <[email protected]>2009-06-26 13:16:34 -0600
commitddf64be2587024e5cc36cf623c544f7ef926755a (patch)
treebccda5ce3c97fe03166a98432c0166bc21513a73 /src/mesa/shader/slang/slang_codegen.h
parentf652f15e6dad86bfc7a027978a9b67d00202259c (diff)
glsl: comments, field reordering
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.h')
-rw-r--r--src/mesa/shader/slang/slang_codegen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.h b/src/mesa/shader/slang/slang_codegen.h
index fb4fe64ace7..2b55b521219 100644
--- a/src/mesa/shader/slang/slang_codegen.h
+++ b/src/mesa/shader/slang/slang_codegen.h
@@ -42,13 +42,16 @@ typedef struct slang_assemble_ctx_
struct gl_sl_pragmas *pragmas;
slang_var_table *vartable;
slang_info_log *log;
- struct slang_label_ *curFuncEndLabel;
+ /* current loop stack */
const slang_operation *LoopOperStack[MAX_LOOP_DEPTH];
struct slang_ir_node_ *LoopIRStack[MAX_LOOP_DEPTH];
GLuint LoopDepth;
+ /* current function */
struct slang_function_ *CurFunction;
+ struct slang_label_ *curFuncEndLabel;
+
GLboolean UnresolvedRefs;
GLboolean EmitContReturn;
} slang_assemble_ctx;