diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-13 14:49:52 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-13 14:49:52 -0700 |
commit | 691ed5e54b0dc305c9a117a6a9804435041a86f0 (patch) | |
tree | f43dcd52cfd382c4d1f0c3c90fb28140d55e44dc /src/mesa/shader/slang/slang_emit.h | |
parent | 5daa99d2a40fa12d51043c4e326bf62f66ef727d (diff) |
Rework code related to temp register allocation, both for user variables
and expression temporarires. Much better register utilization now.
Lots of other fixes.
The OpenGL GLSL "orange book" brick shader demo works now.
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.h')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mesa/shader/slang/slang_emit.h b/src/mesa/shader/slang/slang_emit.h index 73ae0827c0..7a845feac2 100644 --- a/src/mesa/shader/slang/slang_emit.h +++ b/src/mesa/shader/slang/slang_emit.h @@ -32,10 +32,6 @@ #include "mtypes.h" -extern slang_gen_context * -_slang_new_codegen_context(void); - - extern void slang_print_ir(const slang_ir_node *n, int indent); @@ -48,15 +44,8 @@ extern slang_ir_storage * _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, +_slang_emit_code(slang_ir_node *n, slang_var_table *vartable, struct gl_program *prog, GLboolean withEnd); |