From 50350344d289c3389161cd6914c57f88d1a04dcc Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 17 Feb 2026 08:12:05 +0100 Subject: refactor: move shaders.{h,cc} to src/effects and remove v2 suffix - Removed unused v1 shader declarations (13 variables) - Removed _v2 suffix from active shader names - Moved shaders.{h,cc} from src/gpu to src/effects - Updated all includes and build references - All tests pass (34/34) handoff(Claude): Cleaned up shader management, tests passing --- src/effects/heptagon_effect.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/effects/heptagon_effect.cc') diff --git a/src/effects/heptagon_effect.cc b/src/effects/heptagon_effect.cc index 1bc9d06..20761dc 100644 --- a/src/effects/heptagon_effect.cc +++ b/src/effects/heptagon_effect.cc @@ -1,10 +1,10 @@ -// Heptagon effect v2 implementation +// Heptagon effect implementation #include "effects/heptagon_effect.h" #include "util/fatal_error.h" #include "gpu/gpu.h" #include "gpu/post_process_helper.h" -#include "gpu/shaders.h" +#include "effects/shaders.h" Heptagon::Heptagon(const GpuContext& ctx, const std::vector& inputs, @@ -16,9 +16,9 @@ Heptagon::Heptagon(const GpuContext& ctx, // Init uniforms uniforms_buffer_.init(ctx_.device); - // Create pipeline (standard v2 post-process, no depth) + // Create pipeline (standard post-process, no depth) pipeline_ = create_post_process_pipeline(ctx_.device, WGPUTextureFormat_RGBA8Unorm, - heptagon_v2_shader_wgsl); + heptagon_shader_wgsl); // Create dummy sampler (scene effects don't use texture input) WGPUSamplerDescriptor sampler_desc = {}; -- cgit v1.2.3