diff options
Diffstat (limited to 'src/effects/passthrough_effect.cc')
| -rw-r--r-- | src/effects/passthrough_effect.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/effects/passthrough_effect.cc b/src/effects/passthrough_effect.cc index 24eefca..217b5d2 100644 --- a/src/effects/passthrough_effect.cc +++ b/src/effects/passthrough_effect.cc @@ -12,7 +12,6 @@ Passthrough::Passthrough(const GpuContext& ctx, : Effect(ctx, inputs, outputs, start_time, end_time) { HEADLESS_RETURN_IF_NULL(ctx_.device); - init_uniforms_buffer(); create_linear_sampler(); pipeline_.set(create_post_process_pipeline_simple( @@ -26,9 +25,6 @@ void Passthrough::render(WGPUCommandEncoder encoder, WGPUTextureView input_view = nodes.get_view(input_nodes_[0]); WGPUTextureView output_view = nodes.get_view(output_nodes_[0]); - // Update uniforms - uniforms_buffer_.update(ctx_.queue, params); - // Manually create bind group with only 3 entries (no effect params needed) WGPUBindGroupEntry entries[3] = {}; entries[0].binding = PP_BINDING_SAMPLER; |
