Fix many asan and ubsan reported issues
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
This commit is contained in:
@ -110,7 +110,7 @@ static String dump_node_code(SL::Node *p_node, int p_level) {
|
||||
for (Map<StringName, SL::ShaderNode::Uniform>::Element *E = pnode->uniforms.front(); E; E = E->next()) {
|
||||
|
||||
String ucode = "uniform ";
|
||||
ucode += _prestr(E->get().precission);
|
||||
ucode += _prestr(E->get().precision);
|
||||
ucode += _typestr(E->get().type);
|
||||
ucode += " " + String(E->key());
|
||||
|
||||
@ -137,7 +137,7 @@ static String dump_node_code(SL::Node *p_node, int p_level) {
|
||||
for (Map<StringName, SL::ShaderNode::Varying>::Element *E = pnode->varyings.front(); E; E = E->next()) {
|
||||
|
||||
String vcode = "varying ";
|
||||
vcode += _prestr(E->get().precission);
|
||||
vcode += _prestr(E->get().precision);
|
||||
vcode += _typestr(E->get().type);
|
||||
vcode += " " + String(E->key());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user