Fix builtin parsing

This commit is contained in:
2024-07-02 22:51:55 +02:00
parent 274cb379b4
commit 22b70f88b6
4 changed files with 45 additions and 10 deletions

View File

@@ -381,7 +381,7 @@ compile_file :: (compiler : *Shader_Compiler, path : string) -> Compilation_Resu
cb.buffer_index = variable.buffer_index;
}
find_result := find_symbol(*check_result.scope_stack, "properties", xx 1);
find_result := find_symbol(*check_result.scope_stack, check_result.property_name, xx 1);
if find_result {
property_variable := h2tv(check_result.type_variables, find_result.type_variable);