summaryrefslogtreecommitdiffstats
path: root/servers/rendering/renderer_rd/storage_rd/particles_storage.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-28 20:34:17 +0200
committerGitHub <noreply@github.com>2022-07-28 20:34:17 +0200
commit8e0f328a80a4c01bc4788a9aa6daaeb3097b4fab (patch)
treecd8ed89c8e953679ce42aa01925b4e9861137ec1 /servers/rendering/renderer_rd/storage_rd/particles_storage.cpp
parent1c820f19b1a0ba72316896ad354cb31391638a3b (diff)
parent4b42379c8fb89c28a8c38e79ac3573f5b34f8fb4 (diff)
downloadredot-engine-8e0f328a80a4c01bc4788a9aa6daaeb3097b4fab.tar.gz
Merge pull request #59840 from Calinou/renderingserver-global-uniform-rename
Diffstat (limited to 'servers/rendering/renderer_rd/storage_rd/particles_storage.cpp')
-rw-r--r--servers/rendering/renderer_rd/storage_rd/particles_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/storage_rd/particles_storage.cpp b/servers/rendering/renderer_rd/storage_rd/particles_storage.cpp
index 75977c5bc9..1e5511eeda 100644
--- a/servers/rendering/renderer_rd/storage_rd/particles_storage.cpp
+++ b/servers/rendering/renderer_rd/storage_rd/particles_storage.cpp
@@ -112,7 +112,7 @@ ParticlesStorage::ParticlesStorage() {
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
actions.default_repeat = ShaderLanguage::REPEAT_ENABLE;
- actions.global_buffer_array_variable = "global_variables.data";
+ actions.global_buffer_array_variable = "global_shader_uniforms.data";
particles_shader.compiler.initialize(actions);
}
@@ -164,7 +164,7 @@ void process() {
RD::Uniform u;
u.uniform_type = RD::UNIFORM_TYPE_STORAGE_BUFFER;
u.binding = 2;
- u.append_id(material_storage->global_variables_get_storage_buffer());
+ u.append_id(material_storage->global_shader_uniforms_get_storage_buffer());
uniforms.push_back(u);
}