summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_codegen.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2009-03-19 10:16:28 +0000
committerAlan Hourihane <alanh@vmware.com>2009-03-19 10:17:30 +0000
commit989856bde47d699d7e18798df4013fbf962e1d4b (patch)
treeb8853a52321f61b2ae428d8dc60ebcddb8dc5e4d /src/mesa/shader/slang/slang_codegen.h
parent1342664434918af06baf07a2c190c0241fbd5a24 (diff)
slang: if/else/break & if/else/continue work for unrolled loops
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.h')
-rw-r--r--src/mesa/shader/slang/slang_codegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.h b/src/mesa/shader/slang/slang_codegen.h
index f2daa034e4..e812c1f7ea 100644
--- a/src/mesa/shader/slang/slang_codegen.h
+++ b/src/mesa/shader/slang/slang_codegen.h
@@ -42,6 +42,7 @@ typedef struct slang_assemble_ctx_
struct slang_label_ *curFuncEndLabel;
struct slang_ir_node_ *CurLoop;
struct slang_function_ *CurFunction;
+ GLuint UnrollLoop;
} slang_assemble_ctx;