X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fshader%2Fslang%2Fslang_compile.h;h=cbf0bf907a1eae0653edc2449d28a6b5da544771;hb=071357096e682e9af59ad45ea5abc444ab431837;hp=dd774dd35eef3eab04932a9145426848b6e81117;hpb=9dc8bce88e84322171e16be190f2e430dee986ac;p=mesa.git diff --git a/src/mesa/shader/slang/slang_compile.h b/src/mesa/shader/slang/slang_compile.h index dd774dd35ee..cbf0bf907a1 100644 --- a/src/mesa/shader/slang/slang_compile.h +++ b/src/mesa/shader/slang/slang_compile.h @@ -25,6 +25,8 @@ #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" @@ -53,11 +55,21 @@ typedef struct slang_translation_unit_ slang_function_scope functions; slang_struct_scope structs; slang_unit_type type; - struct slang_assembly_file_ *assembly; - slang_var_pool global_pool; + 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_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 *); typedef struct slang_info_log_