Moved more sem result into file. Still feels weird. Whole thing should just be in the file being passed around directly.
This commit is contained in:
@@ -617,7 +617,7 @@ codegen :: (result : *Compile_Result) {
|
||||
|
||||
for *file : result.files {
|
||||
state : Codegen_State;
|
||||
init_codegen_state(*state, file.ast_root, file.semantic_check_result, .HLSL);
|
||||
// init_codegen_state(*state, file.ast_root, file.semantic_check_result, .HLSL);
|
||||
|
||||
//@Incomplete(nb): just call the codegen function for now with old result struct
|
||||
codegen_result := codegen(*state);
|
||||
|
||||
Reference in New Issue
Block a user