summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_emit.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-11 11:22:26 -0700
committerBrian <[email protected]>2007-01-11 11:22:26 -0700
commit95a441112efbe14407f53d035e368b9632d06f06 (patch)
tree8ce0e57e44974a63d384325f77336daac19e2b56 /src/mesa/shader/slang/slang_emit.h
parent063f3f7fc49e1fd5cf99cffd241e16af5e2d1823 (diff)
Fix a problem with inlined "return" statements. Make some attempt to free temporaries.
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.h')
-rw-r--r--src/mesa/shader/slang/slang_emit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.h b/src/mesa/shader/slang/slang_emit.h
index cd3352604f4..73ae0827c0b 100644
--- a/src/mesa/shader/slang/slang_emit.h
+++ b/src/mesa/shader/slang/slang_emit.h
@@ -51,6 +51,10 @@ _slang_clone_ir_storage(slang_ir_storage *store);
extern GLint
_slang_alloc_temporary(slang_gen_context *gc, GLint size);
+extern void
+_slang_free_temporary(slang_gen_context *gc, GLuint r, GLint size);
+
+
extern GLboolean
_slang_emit_code(slang_ir_node *n, slang_gen_context *gc,
struct gl_program *prog, GLboolean withEnd);