Gpu cleanup

This commit is contained in:
luboslenco
2025-06-19 09:20:00 +02:00
parent c7261bcd2c
commit f826d25593
18 changed files with 209 additions and 326 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ function node_shader_context_add_constant(raw: node_shader_context_t, ctype: str
if (link != null) {
c.link = link;
}
array_push(raw.data.constants, c);
let consts: shader_const_t[] = raw.data.constants;
array_push(consts, c);
}
function node_shader_context_add_texture_unit(raw: node_shader_context_t, ctype: string, name: string, link: string = null) {