diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-17 19:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 19:50:10 +0200 |
commit | 819aa47feeefe76bf1cb2e179765bf35ee5d3dda (patch) | |
tree | 8276d96cfc16a4f0544d66542ca65c92b4a9eca5 /servers/rendering/renderer_rd/shader_rd.cpp | |
parent | aa3909cf5412cc96e4f5958e47f687034bf82150 (diff) | |
parent | 6027cd0a1dc0726b039a96c8d1b811158464540b (diff) |
Merge pull request #51768 from reduz/fixes-to-mobile-renderer-2
Fixes to mobile renderer
Diffstat (limited to 'servers/rendering/renderer_rd/shader_rd.cpp')
-rw-r--r-- | servers/rendering/renderer_rd/shader_rd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shader_rd.cpp b/servers/rendering/renderer_rd/shader_rd.cpp index 5bb12fc168..82efa1318c 100644 --- a/servers/rendering/renderer_rd/shader_rd.cpp +++ b/servers/rendering/renderer_rd/shader_rd.cpp @@ -279,7 +279,7 @@ void ShaderRD::_compile_variant(uint32_t p_variant, Version *p_version) { return; } - Vector<uint8_t> shader_data = RD::get_singleton()->shader_compile_binary_from_spirv(stages); + Vector<uint8_t> shader_data = RD::get_singleton()->shader_compile_binary_from_spirv(stages, name + ":" + itos(p_variant)); ERR_FAIL_COND(shader_data.size() == 0); |