diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-26 14:32:53 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-26 14:32:53 -0700 |
commit | c4ac5ac9d70bf89366f8d8798d038dbbc71d833f (patch) | |
tree | c55be5d4102eb0233d568be2c06c86f9b9b7ad7d /src/mesa/shader/slang/slang_typeinfo.h | |
parent | 7f01ef171fa99e9f423fcaae28eff27edefc8d85 (diff) |
Overhaul of error handling.
Diffstat (limited to 'src/mesa/shader/slang/slang_typeinfo.h')
-rw-r--r-- | src/mesa/shader/slang/slang_typeinfo.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.h b/src/mesa/shader/slang/slang_typeinfo.h index 3115b71e08..62cf0009d3 100644 --- a/src/mesa/shader/slang/slang_typeinfo.h +++ b/src/mesa/shader/slang/slang_typeinfo.h @@ -27,6 +27,7 @@ #include "imports.h" #include "mtypes.h" +#include "slang_log.h" #include "slang_utility.h" #include "slang_vartable.h" @@ -60,6 +61,7 @@ typedef struct slang_assemble_ctx_ slang_name_space space; struct gl_program *program; slang_var_table *vartable; + slang_info_log *log; struct slang_function_ *CurFunction; struct slang_ir_node_ *CurLoop; } slang_assemble_ctx; @@ -70,7 +72,7 @@ _slang_locate_function(const struct slang_function_scope_ *funcs, slang_atom name, const struct slang_operation_ *params, GLuint num_params, const slang_name_space *space, - slang_atom_pool *); + slang_atom_pool *atoms, slang_info_log *log); extern GLboolean @@ -170,7 +172,8 @@ _slang_typeof_operation(const slang_assemble_ctx *, extern GLboolean _slang_typeof_operation_(const struct slang_operation_ *, const slang_name_space *, - slang_typeinfo *, slang_atom_pool *); + slang_typeinfo *, slang_atom_pool *, + slang_info_log *log); /** * Retrieves type of a function prototype, if one exists. @@ -182,7 +185,7 @@ _slang_typeof_function(slang_atom a_name, const struct slang_operation_ *params, GLuint num_params, const slang_name_space *, slang_type_specifier *spec, GLboolean *exists, - slang_atom_pool *); + slang_atom_pool *, slang_info_log *log); extern GLboolean _slang_type_is_matrix(slang_type_specifier_type); |