diff options
author | Michal Krol <[email protected]> | 2006-04-18 10:47:19 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-04-18 10:47:19 +0000 |
commit | 2f8496b5655cbd66711745fcfd87e0e528c50229 (patch) | |
tree | 8f094bff1a3bd6070af345d090435f70ad0c9cdc /src/mesa/shader/slang/slang_compile.h | |
parent | d55de658b559437272a88a5e8743304996044fff (diff) |
Remove carriage-return chars *ONLY*.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/mesa/shader/slang/slang_compile.h b/src/mesa/shader/slang/slang_compile.h index cbf0bf907a1..a1957bc3cfa 100644 --- a/src/mesa/shader/slang/slang_compile.h +++ b/src/mesa/shader/slang/slang_compile.h @@ -23,13 +23,13 @@ */ #if !defined SLANG_COMPILE_H -#define SLANG_COMPILE_H
-
-#include "slang_export.h"
-#include "slang_execute.h"
-#include "slang_compile_variable.h"
-#include "slang_compile_struct.h"
-#include "slang_compile_operation.h"
+#define SLANG_COMPILE_H + +#include "slang_export.h" +#include "slang_execute.h" +#include "slang_compile_variable.h" +#include "slang_compile_struct.h" +#include "slang_compile_operation.h" #include "slang_compile_function.h" #if defined __cplusplus @@ -42,33 +42,33 @@ typedef enum slang_unit_type_ slang_unit_vertex_shader, slang_unit_fragment_builtin, slang_unit_vertex_builtin -} slang_unit_type;
-
-typedef struct slang_var_pool_
-{
- GLuint next_addr;
-} slang_var_pool;
-
+} slang_unit_type; + +typedef struct slang_var_pool_ +{ + GLuint next_addr; +} slang_var_pool; + typedef struct slang_translation_unit_ { slang_variable_scope globals; slang_function_scope functions; slang_struct_scope structs; - slang_unit_type type;
- slang_assembly_file *assembly;
- int free_assembly;
- slang_var_pool *global_pool;
- int free_global_pool;
- slang_machine *machine;
- int free_machine;
- slang_atom_pool *atom_pool;
- int free_atom_pool;
- slang_export_data_table exp_data;
+ slang_unit_type type; + slang_assembly_file *assembly; + int free_assembly; + slang_var_pool *global_pool; + int free_global_pool; + slang_machine *machine; + int free_machine; + slang_atom_pool *atom_pool; + int free_atom_pool; + slang_export_data_table exp_data; slang_export_code_table exp_code; } slang_translation_unit; -int slang_translation_unit_construct (slang_translation_unit *);
-int slang_translation_unit_construct2 (slang_translation_unit *, slang_assembly_file *,
+int slang_translation_unit_construct (slang_translation_unit *); +int slang_translation_unit_construct2 (slang_translation_unit *, slang_assembly_file *, slang_var_pool *, slang_machine *, slang_atom_pool *); void slang_translation_unit_destruct (slang_translation_unit *); |