diff options
author | Brian <[email protected]> | 2007-02-21 15:21:58 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-21 15:21:58 -0700 |
commit | f94189282989c0654599731ba0a61dfd34ccd80d (patch) | |
tree | 531d35efdee558f78dfe5c351b8d4e4c7ccc35a0 /src/mesa/shader/slang/slang_builtin.h | |
parent | 6531952b3c979be0dc95704beb3c3b9dad1dc37b (diff) |
Reimplement the _slang_alloc_statevar() function.
After several tries at making a table-based system for examining pre-defined
uniforms to find statevar indexes, give up and do it the simple way (lots of
strcmp() calls). Not terribly elegant, but perfectly functional.
Diffstat (limited to 'src/mesa/shader/slang/slang_builtin.h')
-rw-r--r-- | src/mesa/shader/slang/slang_builtin.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/shader/slang/slang_builtin.h b/src/mesa/shader/slang/slang_builtin.h index 368a16b234e..ae20c844d58 100644 --- a/src/mesa/shader/slang/slang_builtin.h +++ b/src/mesa/shader/slang/slang_builtin.h @@ -32,17 +32,6 @@ extern GLint -_slang_lookup_statevar(const char *name, GLint index, - struct gl_program_parameter_list *paramList, - GLuint *swizzleOut); - - -extern GLint -_slang_lookup_statevar_field(const char *base, const char *field, - struct gl_program_parameter_list *paramList, - GLuint *swizzleOut); - -extern GLint _slang_alloc_statevar(slang_ir_node *n, struct gl_program_parameter_list *paramList); |