Open ben-clayton opened 1 year ago
Unlike some other shading languages, WGSL has a single way to lay out memory, and allows @size and @align to change struct field defaults.
@size
@align
Buffer layouts are validated differently between uniform and storage.
Unlike some other shading languages, WGSL has a single way to lay out memory, and allows
@size
and@align
to change struct field defaults.Buffer layouts are validated differently between uniform and storage.