Code quality review caught that BatchData uses Pack=4 but contains a ulong field. With the current field order (TextureHandle first), offset 0 is always 8-byte aligned so std430 works. But adding a 4-byte field before TextureHandle without bumping Pack would silently misalign the GPU struct. Pack=8 makes the alignment requirement explicit and adds a comment documenting expected std430 offsets. No runtime change — current offsets (0/8/12) are identical under both Pack values for this field order. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AcDream.App | ||
| AcDream.Cli | ||
| AcDream.Core | ||
| AcDream.Core.Net | ||
| AcDream.Plugin.Abstractions | ||
| AcDream.Plugins.Smoke | ||
| AcDream.UI.Abstractions | ||
| AcDream.UI.ImGui | ||