diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 11:04:09 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 11:04:09 +0100 |
| commit | 4a95bb4f59ee4e5f4fddf3f18c597e19f5bd98f8 (patch) | |
| tree | 504f15a57d83c427e698d80a4e51d55921e2640e /workspaces/test/shaders/flash.wgsl | |
| parent | a30a9878fe083240dbd98ae4ca93339cd8a8d667 (diff) | |
refactor(codegen): Use gpu_init helper in seq_compiler.py
Refactors the timeline code generator (`tools/seq_compiler.py`) to use the `gpu_init_color_attachment` helper function from `src/gpu/gpu.h`.
This change removes platform-specific `#if !defined(DEMO_CROSS_COMPILE_WIN32)` directives from the generated C++ files (`timeline.cc`, `test_timeline.cc`) and centralizes the platform-aware initialization logic within the existing helper function.
The generated code is now cleaner and easier to maintain. Both native macOS and Windows cross-compilation builds are confirmed to be successful.
Diffstat (limited to 'workspaces/test/shaders/flash.wgsl')
0 files changed, 0 insertions, 0 deletions
