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:
2025-08-18 22:39:45 +02:00
parent 27933e599a
commit 382d790c5b
3 changed files with 48 additions and 23 deletions

View File

@@ -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);