diff options
author | Brian Paul <[email protected]> | 2008-12-12 10:11:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-12 10:11:41 -0700 |
commit | aeeb9bca2712dbf8540486fc584e214a8af4c7c4 (patch) | |
tree | b9f5e2144b7e5d3531dd9ebe9b0d3de25689595f /src/mesa/shader/slang/slang_codegen.h | |
parent | ea9dc3879f4cbbaa8ce9e305884a4afdc1fdd28a (diff) |
mesa: move some glsl compiler functions to different files to be more consistant
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.h')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.h b/src/mesa/shader/slang/slang_codegen.h index ba7ca4c142c..9489033d7b8 100644 --- a/src/mesa/shader/slang/slang_codegen.h +++ b/src/mesa/shader/slang/slang_codegen.h @@ -31,6 +31,19 @@ #include "slang_compile.h" +typedef struct slang_assemble_ctx_ +{ + slang_atom_pool *atoms; + slang_name_space space; + struct gl_program *program; + slang_var_table *vartable; + slang_info_log *log; + struct slang_label_ *curFuncEndLabel; + struct slang_ir_node_ *CurLoop; + struct slang_function_ *CurFunction; +} slang_assemble_ctx; + + extern GLuint _slang_sizeof_type_specifier(const slang_type_specifier *spec); |