From 34afbd6ca21d2b960573d787e6eae46fa86b200e Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 5 Mar 2026 22:55:56 +0100 Subject: style: run clang-format to adhere to coding style --- tools/shadertoy/template.cc | 2 +- tools/shadertoy/template.h | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'tools/shadertoy') diff --git a/tools/shadertoy/template.cc b/tools/shadertoy/template.cc index 81c39ba..bcaea3b 100644 --- a/tools/shadertoy/template.cc +++ b/tools/shadertoy/template.cc @@ -2,8 +2,8 @@ // ShaderToy effect implementation - REPLACE THIS LINE // TODO: Update description, rename class -#include "effects/shadertoy_effect.h" #include "effects/shaders.h" +#include "effects/shadertoy_effect.h" #include "gpu/gpu.h" #include "gpu/post_process_helper.h" #include "util/fatal_error.h" diff --git a/tools/shadertoy/template.h b/tools/shadertoy/template.h index 5f105d5..c8d132a 100644 --- a/tools/shadertoy/template.h +++ b/tools/shadertoy/template.h @@ -11,13 +11,11 @@ class ShaderToyEffect : public Effect { public: // TODO: Rename class, keep same constructor signature - ShaderToyEffect(const GpuContext& ctx, - const std::vector& inputs, - const std::vector& outputs, - float start_time, float end_time); + ShaderToyEffect(const GpuContext& ctx, const std::vector& inputs, + const std::vector& outputs, float start_time, + float end_time); - void render(WGPUCommandEncoder encoder, - const UniformsSequenceParams& params, + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) override; private: -- cgit v1.2.3