diff options
author | Brian <brian@yutani.localnet.net> | 2006-12-15 15:35:57 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2006-12-15 15:35:57 -0700 |
commit | bfc02dd30f625c134638b20a903065dc78e9ccd3 (patch) | |
tree | bba3a363cde7d86b52c4d7441937392d4041a1b6 /src/mesa/shader/slang/slang_compile_operation.c | |
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_compile_operation.c')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_operation.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_operation.c b/src/mesa/shader/slang/slang_compile_operation.c index 192f2b086b..28d9fdff7b 100644 --- a/src/mesa/shader/slang/slang_compile_operation.c +++ b/src/mesa/shader/slang/slang_compile_operation.c @@ -135,6 +135,17 @@ slang_operation_new(GLuint count) } +/** + * Delete operation and all children + */ +void +slang_operation_delete(slang_operation *oper) +{ + slang_operation_destruct(oper); + _mesa_free(oper); +} + + slang_operation * slang_operation_grow(GLuint *numChildren, slang_operation **children) { |