summaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-09 15:24:01 +0100
committerskal <pascal.massimino@gmail.com>2026-02-09 15:24:01 +0100
commit1fa811727d674d2ebcd8d46661642e2c4b4c0a34 (patch)
tree18496fd5de551cd2ef6cb72657a179013679a9b3 /TODO.md
parent3fa548aecd85a3a8eb0a93e649575973eee50e8f (diff)
docs: Add sub-task for splitting common_uniforms.wgsl
Low priority task to split common_uniforms.wgsl (4 structs) into separate files for more granular #include directives. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 46baa06..a8cfdb4 100644
--- a/TODO.md
+++ b/TODO.md
@@ -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).