diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-07-28 13:42:15 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 11:53:29 +0100 |
commit | 60c7498cee169b2cd652045ec19bb526d76f9d61 (patch) | |
tree | 60f8c149be49c07ec70b24f9bc8529695e964c39 /servers/visual/rasterizer_rd/shader_compiler_rd.cpp | |
parent | 0586e184490fd132f99acb1a67c788959cfdbade (diff) |
Replaced GLSLang reflection by SPIRV-Reflect, eventually allowing to move GLSLang out.
Diffstat (limited to 'servers/visual/rasterizer_rd/shader_compiler_rd.cpp')
-rw-r--r-- | servers/visual/rasterizer_rd/shader_compiler_rd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/rasterizer_rd/shader_compiler_rd.cpp b/servers/visual/rasterizer_rd/shader_compiler_rd.cpp index 76b1a288e6..b43fabce59 100644 --- a/servers/visual/rasterizer_rd/shader_compiler_rd.cpp +++ b/servers/visual/rasterizer_rd/shader_compiler_rd.cpp @@ -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 |