From d806027dcaeadcdd8d2febd88bc46b2fd2c465de Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 21 May 2026 08:10:47 +0200 Subject: style: apply clang-format --- src/gpu/wgsl_effect.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gpu/wgsl_effect.cc') diff --git a/src/gpu/wgsl_effect.cc b/src/gpu/wgsl_effect.cc index 4f658a5..4c5f7e2 100644 --- a/src/gpu/wgsl_effect.cc +++ b/src/gpu/wgsl_effect.cc @@ -13,8 +13,7 @@ WgslEffect::WgslEffect(const GpuContext& ctx, WgslEffectParams initial_params, WgslSamplerType sampler_type) : Effect(ctx, inputs, outputs, start_time, end_time), - effect_params(initial_params), - load_op_(load_op) { + effect_params(initial_params), load_op_(load_op) { HEADLESS_RETURN_IF_NULL(ctx_.device); if (sampler_type == WgslSamplerType::Nearest) @@ -23,9 +22,8 @@ WgslEffect::WgslEffect(const GpuContext& ctx, create_linear_sampler(); params_buffer_.init(ctx_.device); - pipeline_.set(create_post_process_pipeline(ctx_.device, - WGPUTextureFormat_RGBA8Unorm, - shader_code)); + pipeline_.set(create_post_process_pipeline( + ctx_.device, WGPUTextureFormat_RGBA8Unorm, shader_code)); } void WgslEffect::render(WGPUCommandEncoder encoder, -- cgit v1.2.3