diff options
author | Brian <[email protected]> | 2006-12-15 15:35:57 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-15 15:35:57 -0700 |
commit | bfc02dd30f625c134638b20a903065dc78e9ccd3 (patch) | |
tree | bba3a363cde7d86b52c4d7441937392d4041a1b6 /src/mesa/shader/slang/slang_assemble.h | |
parent | 6579245800f39c14f738db8e8ae1d93a65a32a4c (diff) |
Lots of assorted changes.
Implement assignment/move for types larger than 4 floats.
Fix codegen bug for "return expr" in inlined functions.
More clean-up of storage allocation code (slang_resolve_storage).
Diffstat (limited to 'src/mesa/shader/slang/slang_assemble.h')
-rw-r--r-- | src/mesa/shader/slang/slang_assemble.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_assemble.h b/src/mesa/shader/slang/slang_assemble.h index d507fc0161e..1225ee44113 100644 --- a/src/mesa/shader/slang/slang_assemble.h +++ b/src/mesa/shader/slang/slang_assemble.h @@ -242,6 +242,12 @@ typedef struct slang_assembly_name_space_ struct slang_variable_scope_ *vars; } slang_assembly_name_space; + +typedef struct { + GLboolean TempUsed[MAX_PROGRAM_TEMPS]; +} slang_gen_context; + + typedef struct slang_assemble_ctx_ { slang_assembly_file *file; @@ -253,6 +259,7 @@ typedef struct slang_assemble_ctx_ slang_ref_type ref; slang_swizzle swz; struct gl_program *program; + slang_gen_context *codegen; } slang_assemble_ctx; extern struct slang_function_ * |