flowchart TD
V["byte-offset SRV, R32G32B32_UINT
Offset 4, Size 36: three 12-byte elements"] --> B
B["Metal texture buffer: R32, base byte 0
(16-byte aligned, as Metal needs)"] --> T
T["texels: 0 | 1 2 3 | 4 5 6 | 7 8 9 | ...
view element 0 starts at texel 1"] --> R
R["descriptor record word:
1 + shift = 1 + (4 mod 12) / 4 = 2"] --> S
S["spvTexelBufferRead(c)
i = 3c + word - 1"] --> E
E["element 1 = texels 4, 5, 6
= bytes 16..27 of the buffer"]