From 06add309d7fe04bab459e011cb35ef9bb4e9b50d Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Tue, 17 Aug 2021 13:22:04 +0300 Subject: Fix incorrect uniform buffer size for particles --- servers/rendering/renderer_rd/renderer_storage_rd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'servers/rendering/renderer_rd') diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.h b/servers/rendering/renderer_rd/renderer_storage_rd.h index c048be5dc8..b7adef6c60 100644 --- a/servers/rendering/renderer_rd/renderer_storage_rd.h +++ b/servers/rendering/renderer_rd/renderer_storage_rd.h @@ -668,14 +668,14 @@ private: }; uint32_t emitting; - double system_phase; - double prev_system_phase; + float system_phase; + float prev_system_phase; uint32_t cycle; real_t explosiveness; real_t randomness; - double time; - double delta; + float time; + float delta; uint32_t frame; uint32_t pad0; @@ -812,7 +812,7 @@ private: struct ParticlesShader { struct PushConstant { - double lifetime; + float lifetime; uint32_t clear; uint32_t total_particles; uint32_t trail_size; -- cgit v1.2.3