Revert "More work towards the new API"

This reverts commit af3e298b29.
This commit is contained in:
2025-08-13 22:26:43 +02:00
parent af3e298b29
commit 5ec2186a42
5 changed files with 12 additions and 75 deletions

View File

@@ -145,21 +145,7 @@ Compiled_File :: struct {
file : Input_File;
tokens : Token_Stream;
ast_root : *AST_Node;
ast_nodes : [..]AST_Node;
vertex_entry_point : *AST_Node;
pixel_entry_point : *AST_Node;
constant_buffers : Static_Array(Type_Variable_Handle, 16);
scope_stack : Scope_Stack;
type_variables : [..]Type_Variable;
type_var_arena : Arena;
type_var_allocator : Allocator;
property_name : string;
output_text : string;
ast_nodes : [..]AST_Node;
}
Compile_Result :: struct {
@@ -382,9 +368,9 @@ compile_file :: (compiler : *Shader_Compiler, paths : []string) -> Compile_Resul
}
lex(*result);
parse(*result);
check(*result);
codegen(*result);
// parse(*result);
// check(*result);
// codegen(*result);
return result;
}