diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 08:58:46 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 08:58:46 +0100 |
| commit | 04938fc4a3335e1459e5fb23d0d091fd2a40c296 (patch) | |
| tree | 769ab31b1545e17e42e10bf5b35b5ea9d35564f3 /src/effects/passthrough_effect_v2.h | |
| parent | 79fc9fc1e56ef78dfb7b9732febc8c8777fac9fb (diff) | |
feat(sequence): complete phase 3 - v2 shader integration and effect ports
- Create v2-compatible WGSL shaders with UniformsSequenceParams
- Add sequence_v2_uniforms snippet for ShaderComposer
- Port 3 effects: PassthroughEffectV2, GaussianBlurEffectV2, HeptagonEffectV2
- Enable and fix end-to-end test (test_sequence_v2_e2e)
- Fix shader binding order (sampler at 0, texture at 1)
- Fix WebGPU validation (maxAnisotropy=1, explicit depthSlice)
- Add v2 shaders to main and test workspace assets
- All tests passing (36/36)
handoff(Claude): Phase 3 complete, v2 effects functional, ready for phase 4
Diffstat (limited to 'src/effects/passthrough_effect_v2.h')
| -rw-r--r-- | src/effects/passthrough_effect_v2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/passthrough_effect_v2.h b/src/effects/passthrough_effect_v2.h index 813361e..a272b87 100644 --- a/src/effects/passthrough_effect_v2.h +++ b/src/effects/passthrough_effect_v2.h @@ -3,6 +3,7 @@ #pragma once #include "gpu/effect_v2.h" +#include "gpu/uniform_helper.h" class PassthroughEffectV2 : public EffectV2 { public: @@ -16,4 +17,5 @@ class PassthroughEffectV2 : public EffectV2 { WGPURenderPipeline pipeline_; WGPUBindGroup bind_group_; WGPUSampler sampler_; + UniformBuffer<UniformsSequenceParams> uniforms_buffer_; }; |
