diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 17:16:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 17:16:56 +0100 |
| commit | f6b3ea72a03850654b69986bc82bb249aaabe2e3 (patch) | |
| tree | 1f6c85b603462a661691854c1ce1e45a3dd1e142 /common/shaders/ray_triangle.wgsl | |
| parent | f80869ba4378b82aa6ac28b19e0c55cbe340a48b (diff) | |
CNN v2: Fix WebGPU validation error in uniform buffer alignment
Fix two issues causing validation errors in test_demo:
1. Remove redundant pipeline creation without layout (static_pipeline_)
2. Change vec3<u32> to 3× u32 fields in StaticFeatureParams struct
WGSL vec3<u32> aligns to 16 bytes (std140), making struct 32 bytes,
while C++ struct was 16 bytes. Explicit fields ensure consistent layout.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'common/shaders/ray_triangle.wgsl')
0 files changed, 0 insertions, 0 deletions
