projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f652f15
)
glsl: comments, field reordering
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Jun 2009 16:20:21 +0000
(10:20 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 19:16:34 +0000
(13:16 -0600)
src/mesa/shader/slang/slang_codegen.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.h
b/src/mesa/shader/slang/slang_codegen.h
index fb4fe64ace7f843771a42c7f92b019e70202a1dd..2b55b521219e26d264bab3e590fc3d8ae3b5b047 100644
(file)
--- 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;