diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-25 10:20:21 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-25 10:20:21 -0600 |
commit | b2f48dd2d61018259f28a1e11fce642e8a3007a9 (patch) | |
tree | 25c252d37b3777f6ea7e3c2276c09d1e661108f6 | |
parent | 9529b4f66a99eed86bedf9c8104c1112d634dd4a (diff) |
glsl: comments, field reordering
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.h | 5 |
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 fb4fe64ace..2b55b52121 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; |