From d48aac685ecd47a80e0752011a1d78bc86094947 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 9 Feb 2026 11:39:54 +0100 Subject: Refactor Effect class to centralize common uniforms management Moved to Effect base class. Updated all subclasses to use the base member, removing redundant declarations and initializations. Cleaned up by removing redundant class definitions and including specific headers. Fixed a typo in DistortEffect constructor. --- src/gpu/effects/passthrough_effect.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gpu/effects/passthrough_effect.cc') diff --git a/src/gpu/effects/passthrough_effect.cc b/src/gpu/effects/passthrough_effect.cc index 93cf948..01d557a 100644 --- a/src/gpu/effects/passthrough_effect.cc +++ b/src/gpu/effects/passthrough_effect.cc @@ -7,7 +7,6 @@ // --- PassthroughEffect --- PassthroughEffect::PassthroughEffect(const GpuContext& ctx) : PostProcessEffect(ctx) { - uniforms_.init(ctx_.device); pipeline_ = create_post_process_pipeline(ctx_.device, ctx_.format, passthrough_shader_wgsl); } -- cgit v1.2.3