summaryrefslogtreecommitdiff
path: root/src/effects/peak_meter_effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/peak_meter_effect.cc')
-rw-r--r--src/effects/peak_meter_effect.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/effects/peak_meter_effect.cc b/src/effects/peak_meter_effect.cc
index d077302..27adba4 100644
--- a/src/effects/peak_meter_effect.cc
+++ b/src/effects/peak_meter_effect.cc
@@ -12,8 +12,6 @@ PeakMeter::PeakMeter(const GpuContext& ctx,
: Effect(ctx, inputs, outputs, start_time, end_time), pipeline_(nullptr), bind_group_(nullptr) {
HEADLESS_RETURN_IF_NULL(ctx_.device);
- init_uniforms_buffer();
-
const char* shader_main = R"(
struct VertexOutput {
@builtin(position) position: vec4<f32>,
@@ -76,7 +74,6 @@ void PeakMeter::render(WGPUCommandEncoder encoder,
WGPUTextureView input_view = nodes.get_view(input_nodes_[0]);
WGPUTextureView output_view = nodes.get_view(output_nodes_[0]);
- uniforms_buffer_.update(ctx_.queue, params);
pp_update_bind_group(ctx_.device, pipeline_, &bind_group_, input_view,
uniforms_buffer_.get(), {nullptr, 0});