You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Replaced GLSLang reflection by SPIRV-Reflect, eventually allowing to move GLSLang out.
This commit is contained in:
@@ -410,7 +410,7 @@ String ShaderCompilerRD::_dump_node_code(const SL::Node *p_node, int p_level, Ge
|
||||
r_gen_code.uniform_total_size = offset;
|
||||
print_line("uniform total: " + itos(r_gen_code.uniform_total_size));
|
||||
if (r_gen_code.uniform_total_size % 16 != 0) { //UBO sizes must be multiples of 16
|
||||
//r_gen_code.uniform_total_size += 16 - (r_gen_code.uniform_total_size % 16);
|
||||
r_gen_code.uniform_total_size += 16 - (r_gen_code.uniform_total_size % 16);
|
||||
}
|
||||
#else
|
||||
// add up
|
||||
|
||||
Reference in New Issue
Block a user