diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-07 18:50:40 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-07 18:50:40 +0100 |
| commit | 3b1d28500629b8488863aeaba3203ad5c3118d5f (patch) | |
| tree | a55fe3c61682077d1717bde8dc8a719054a272d9 /src/tests/webgpu_test_fixture.cc | |
| parent | 01d3d4ecd33b74ffa8935a0a58079d59a3074700 (diff) | |
feat(gpu): Systematize post-process bindings and enable vertex shader uniforms
- Add PP_BINDING_* macros for standard post-process bind group layout
- PP_BINDING_SAMPLER (0): Input texture sampler
- PP_BINDING_TEXTURE (1): Input texture from previous pass
- PP_BINDING_UNIFORMS (2): Custom uniforms buffer
- Change uniforms visibility from Fragment-only to Vertex|Fragment
- Enables dynamic geometry in vertex shaders (e.g., peak meter bar)
- Replace all hardcoded binding numbers with macros in post_process_helper.cc
- Update test_demo.cc to use systematic bindings
- Benefits: All post-process effects can now access uniforms in vertex shaders
Result: More flexible post-process effects, better code maintainability
Diffstat (limited to 'src/tests/webgpu_test_fixture.cc')
0 files changed, 0 insertions, 0 deletions
