<feed xmlns='http://www.w3.org/2005/Atom'>
<title>demo.git/assets/final/shaders/compute, branch main</title>
<subtitle>Vide-coded 64k demo system</subtitle>
<id>https://git.taar-o.com/demo.git/atom?h=main</id>
<link rel='self' href='https://git.taar-o.com/demo.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.taar-o.com/demo.git/'/>
<updated>2026-02-13T07:21:34Z</updated>
<entry>
<title>Refactor: Reorganize workspaces and remove assets/ directory</title>
<updated>2026-02-13T07:21:34Z</updated>
<author>
<name>skal</name>
<email>pascal.massimino@gmail.com</email>
</author>
<published>2026-02-13T07:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.taar-o.com/demo.git/commit/?id=eb15703a3f87e4eadc8839b06de12b9c6ec54023'/>
<id>urn:sha1:eb15703a3f87e4eadc8839b06de12b9c6ec54023</id>
<content type='text'>
Workspace structure now:
- workspaces/{main,test}/obj/      (3D models)
- workspaces/{main,test}/shaders/  (WGSL shaders)
- workspaces/{main,test}/music/    (audio samples)

Changes:
- Moved workspaces/*/assets/music/ → workspaces/*/music/
- Updated assets.txt paths (assets/music/ → music/)
- Moved test_demo.{seq,track} to tools/
- Moved assets/originals/ → tools/originals/
- Removed assets/common/ (legacy, duplicated in workspaces)
- Removed assets/final/ (legacy, superseded by workspaces)
- Updated hot-reload paths in main.cc
- Updated CMake references for test_demo and validation
- Updated gen_spectrograms.sh paths

handoff(Claude): Workspace reorganization complete
</content>
</entry>
<entry>
<title>feat: GPU procedural Phase 4 - texture composition</title>
<updated>2026-02-09T13:28:46Z</updated>
<author>
<name>skal</name>
<email>pascal.massimino@gmail.com</email>
</author>
<published>2026-02-09T13:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.taar-o.com/demo.git/commit/?id=9bb5fd64776ac8a7e4b012ac2de340ddfa09a2c9'/>
<id>urn:sha1:9bb5fd64776ac8a7e4b012ac2de340ddfa09a2c9</id>
<content type='text'>
Multi-input composite shaders with sampler support.
- Dynamic bind group layouts (N input textures + 1 sampler)
- dispatch_composite() for multi-input compute dispatch
- create_gpu_composite_texture() API
- gen_blend.wgsl and gen_mask.wgsl shaders

Guarded with #if !defined(STRIP_GPU_COMPOSITE) for easy removal.

Tests:
- Blend two noise textures
- Mask noise with grid
- Multi-stage composite (composite of composites)

Size: ~830 bytes (2 shaders + dispatch logic)

handoff(Claude): GPU procedural Phase 4 complete
</content>
</entry>
<entry>
<title>feat(gpu): Phase 2 - Add gen_perlin and gen_grid GPU compute shaders</title>
<updated>2026-02-09T12:59:07Z</updated>
<author>
<name>skal</name>
<email>pascal.massimino@gmail.com</email>
</author>
<published>2026-02-09T12:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.taar-o.com/demo.git/commit/?id=744bcadfe8f4bb1b2d4f1daf9f880fa511d65405'/>
<id>urn:sha1:744bcadfe8f4bb1b2d4f1daf9f880fa511d65405</id>
<content type='text'>
Complete Phase 2 implementation:
- gen_perlin.wgsl: FBM with configurable octaves, amplitude decay
- gen_grid.wgsl: Grid pattern with configurable spacing/thickness
- TextureManager extensions: create_gpu_perlin_texture(), create_gpu_grid_texture()
- Asset packer now validates gen_noise, gen_perlin, gen_grid for PROC_GPU()
- 3 compute pipelines (lazy-init on first use)

Shader parameters:
- gen_perlin: seed, frequency, amplitude, amplitude_decay, octaves (32 bytes)
- gen_grid: width, height, grid_size, thickness (16 bytes)

test_3d_render migration:
- Replaced CPU sky texture (gen_perlin) with GPU version
- Replaced CPU noise texture (gen_noise) with GPU version
- Added new GPU grid texture (256x256, 32px grid, 2px lines)

Size impact:
- gen_perlin.wgsl: ~200 bytes (compressed)
- gen_grid.wgsl: ~100 bytes (compressed)
- Total Phase 2 code: ~300 bytes
- Cumulative (Phase 1+2): ~600 bytes

Testing:
- All 34 tests passing (100%)
- test_gpu_procedural validates all generators
- test_3d_render uses 3 GPU textures (noise, perlin, grid)

Next: Phase 3 - Variable dimensions, async generation, pipeline caching

Co-Authored-By: Claude Sonnet 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat(gpu): Add GPU procedural texture generation system</title>
<updated>2026-02-09T12:52:37Z</updated>
<author>
<name>skal</name>
<email>pascal.massimino@gmail.com</email>
</author>
<published>2026-02-09T12:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.taar-o.com/demo.git/commit/?id=c712874ece1ca7073904f5fb84cc866d28084de0'/>
<id>urn:sha1:c712874ece1ca7073904f5fb84cc866d28084de0</id>
<content type='text'>
Phase 1 implementation complete:
- GPU compute shader for noise generation (gen_noise.wgsl)
- TextureManager extensions: create_gpu_noise_texture(), dispatch_noise_compute()
- Asset packer PROC_GPU() syntax support with validation
- ShaderComposer integration for #include resolution
- Zero CPU memory overhead (GPU-only textures)
- Init-time and on-demand generation modes

Technical details:
- 8×8 workgroup size for 256×256 textures
- UniformBuffer for params (width, height, seed, frequency)
- Storage texture binding (rgba8unorm, write-only)
- Lazy pipeline compilation on first use
- ~300 bytes code (Phase 1)

Testing:
- New test: test_gpu_procedural.cc (passes)
- All 34 tests passing (100%)

Future phases:
- Phase 2: Add gen_perlin, gen_grid compute shaders
- Phase 3: Variable dimensions, async generation

Co-Authored-By: Claude Sonnet 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
