diff options
Diffstat (limited to 'src/effects/placeholder_effect.cc')
| -rw-r--r-- | src/effects/placeholder_effect.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/effects/placeholder_effect.cc b/src/effects/placeholder_effect.cc index e024a6b..beb5f33 100644 --- a/src/effects/placeholder_effect.cc +++ b/src/effects/placeholder_effect.cc @@ -17,7 +17,6 @@ Placeholder::Placeholder(const GpuContext& ctx, HEADLESS_RETURN_IF_NULL(ctx_.device); - init_uniforms_buffer(); create_linear_sampler(); pipeline_ = create_post_process_pipeline( @@ -30,8 +29,6 @@ void Placeholder::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}); |
