diff options
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -83,6 +83,16 @@ This file tracks prioritized tasks with detailed attack plans. **Goal**: Refactor `ShaderComposer` and WGSL assets to support granular, reusable snippets and `#include` directives. This is an ongoing task to maintain shader code hygiene as new features are added. +### Sub-task: Split common_uniforms.wgsl (Low Priority) +- **Current**: `common_uniforms.wgsl` contains 4 structs (CommonUniforms, GlobalUniforms, ObjectData, ObjectsBuffer) +- **Goal**: Split into separate files for granular #include + - `common_uniforms/common.wgsl` - CommonUniforms only + - `common_uniforms/global.wgsl` - GlobalUniforms only + - `common_uniforms/object.wgsl` - ObjectData + ObjectsBuffer +- **Benefit**: Shaders only include what they need, reducing compiled size +- **Impact**: Minimal (most shaders only use CommonUniforms anyway) +- **Priority**: Low (nice-to-have for code organization) + ## Phase 2: Size Optimization (Final Goal) - [ ] **Task #34: Full STL Removal**: Replace all remaining `std::vector`, `std::map`, and `std::string` usage with custom minimal containers or C-style arrays to allow for CRT replacement. (Minimal Priority - deferred to end). |
