summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_function.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 10:03:31 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 10:03:31 -0700
commitea9dc3879f4cbbaa8ce9e305884a4afdc1fdd28a (patch)
treecd86882a4096e5b71157a7658a69923ca3f19024 /src/mesa/shader/slang/slang_compile_function.h
parent19ca2908be5df2240d694c67c6f190982e9f7922 (diff)
mesa: move _slang_locate_function() to different file
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.h')
-rw-r--r--src/mesa/shader/slang/slang_compile_function.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h
index bd44378b69..85e69432ac 100644
--- a/src/mesa/shader/slang/slang_compile_function.h
+++ b/src/mesa/shader/slang/slang_compile_function.h
@@ -26,8 +26,6 @@
#define SLANG_COMPILE_FUNCTION_H
-struct slang_code_unit_;
-
/**
* Types of functions.
*/
@@ -82,4 +80,13 @@ slang_function_scope_find_by_name(slang_function_scope *, slang_atom, int);
extern slang_function *
slang_function_scope_find(slang_function_scope *, slang_function *, int);
+extern struct slang_function_ *
+_slang_locate_function(const struct slang_function_scope_ *funcs,
+ slang_atom name, struct slang_operation_ *params,
+ GLuint num_params,
+ const slang_name_space *space,
+ slang_atom_pool *atoms, slang_info_log *log,
+ GLboolean *error);
+
+
#endif /* SLANG_COMPILE_FUNCTION_H */