summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shader_rd.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-17 19:50:10 +0200
committerGitHub <noreply@github.com>2021-08-17 19:50:10 +0200
commit819aa47feeefe76bf1cb2e179765bf35ee5d3dda (patch)
tree8276d96cfc16a4f0544d66542ca65c92b4a9eca5 /servers/rendering/renderer_rd/shader_rd.cpp
parentaa3909cf5412cc96e4f5958e47f687034bf82150 (diff)
parent6027cd0a1dc0726b039a96c8d1b811158464540b (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.cpp2
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);