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

@@ -407,10 +407,10 @@ run_codegen_test :: (path : string, output_type : Output_Type = 0) -> Result, Co
return result, codegen_result;
}
run_compile_test :: (path : string, output_type : Output_Type = 0) -> Result, Compile_Result {
run_compile_test :: (path : string, output_type : Output_Type = 0) -> Result, Compilation_Result {
compiler : Shader_Compiler;
result : Result;
compilation_result := compile_file(*compiler, .[path]);
compilation_result := compile_file(*compiler, path);
print("\n");
if compilation_result.had_error {
@@ -470,7 +470,7 @@ run_test :: (file_path : string, stage_flags : Stage_Flags, results : *[..]Resul
}
if stage_flags & .Compile {
result, compilation_result := run_compile_test(file_path, output_type);
result = run_compile_test(file_path, output_type);
}
}