diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-02-22 16:54:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-02-22 16:54:05 +0000 |
commit | 956fff6345966cad4585e2e5d2d4fdb1bfe9c8b6 (patch) | |
tree | 8db8612e9a6b2eea0bc09105345060d8fe461840 /src/mesa/shader | |
parent | 7b6fd8a0c6691a0ebe45567abf6374a9f3e8f396 (diff) |
add some #includes, fix some prototypes (bug 5992)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_storage.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/src/mesa/shader/slang/slang_storage.h b/src/mesa/shader/slang/slang_storage.h index 1815688ff9..4537223d81 100644 --- a/src/mesa/shader/slang/slang_storage.h +++ b/src/mesa/shader/slang/slang_storage.h @@ -26,6 +26,8 @@ #define SLANG_STORAGE_H #include "slang_compile.h" +#include "slang_assemble.h" +#include "slang_execute.h" #if defined __cplusplus extern "C" { @@ -81,18 +83,27 @@ typedef struct slang_storage_aggregate_ GLuint count; } slang_storage_aggregate; -struct slang_assembly_name_space_; - GLboolean slang_storage_aggregate_construct (slang_storage_aggregate *); GLvoid slang_storage_aggregate_destruct (slang_storage_aggregate *); -GLboolean _slang_aggregate_variable (slang_storage_aggregate *, struct slang_type_specifier_ *, - GLuint, struct slang_function_scope_ *, slang_struct_scope *, - slang_variable_scope *, struct slang_machine_ *, struct slang_assembly_file_ *,
- slang_atom_pool *);
-
-GLboolean _slang_evaluate_int (struct slang_assembly_file_ *, struct slang_machine_ *,
- struct slang_assembly_name_space_ *, struct slang_operation_ *, GLuint *, slang_atom_pool *); +extern GLboolean +_slang_aggregate_variable(slang_storage_aggregate *agg, + slang_type_specifier *spec, + GLuint array_len, + slang_function_scope *funcs, + slang_struct_scope *structs, + slang_variable_scope *vars, + slang_machine *mach, + slang_assembly_file *file, + slang_atom_pool *atoms); + +extern GLboolean +_slang_evaluate_int(slang_assembly_file *file, + slang_machine *pmach, + slang_assembly_name_space *space, + slang_operation *array_size, + GLuint *pint, + slang_atom_pool *atoms); /* * Returns total size (in machine units) of the given aggregate. |