summaryrefslogtreecommitdiff
path: root/src/effects/particles_effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/particles_effect.cc')
-rw-r--r--src/effects/particles_effect.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/effects/particles_effect.cc b/src/effects/particles_effect.cc
index 3c9feb7..d0336f6 100644
--- a/src/effects/particles_effect.cc
+++ b/src/effects/particles_effect.cc
@@ -14,8 +14,6 @@ Particles::Particles(const GpuContext& ctx,
: Effect(ctx, inputs, outputs, start_time, end_time) {
HEADLESS_RETURN_IF_NULL(ctx_.device);
- init_uniforms_buffer();
-
// Initialize particles buffer
std::vector<Particle> init_p(NUM_PARTICLES);
for (int i = 0; i < NUM_PARTICLES; ++i) {
@@ -66,9 +64,6 @@ Particles::Particles(const GpuContext& ctx,
void Particles::render(WGPUCommandEncoder encoder,
const UniformsSequenceParams& params,
NodeRegistry& nodes) {
- // Update uniforms
- uniforms_buffer_.update(ctx_.queue, params);
-
// Run compute pass (particle simulation)
WGPUComputePassEncoder compute =
wgpuCommandEncoderBeginComputePass(encoder, nullptr);