Fix incorrect uniform buffer size for particles

This commit is contained in:
Yuri Roubinsky 2021-08-17 13:22:04 +03:00
parent 84b11fbaa6
commit 06add309d7

View File

@ -668,14 +668,14 @@ private:
}; };
uint32_t emitting; uint32_t emitting;
double system_phase; float system_phase;
double prev_system_phase; float prev_system_phase;
uint32_t cycle; uint32_t cycle;
real_t explosiveness; real_t explosiveness;
real_t randomness; real_t randomness;
double time; float time;
double delta; float delta;
uint32_t frame; uint32_t frame;
uint32_t pad0; uint32_t pad0;
@ -812,7 +812,7 @@ private:
struct ParticlesShader { struct ParticlesShader {
struct PushConstant { struct PushConstant {
double lifetime; float lifetime;
uint32_t clear; uint32_t clear;
uint32_t total_particles; uint32_t total_particles;
uint32_t trail_size; uint32_t trail_size;