The WGSL of several layouts for one shader module: each shared chunk once, each layout's prefixed functions, and no single-layout aliases (call layout.sampleFunction / layout.dirFunction).
layout.sampleFunction
layout.dirFunction
The WGSL of several layouts for one shader module: each shared chunk once, each layout's prefixed functions, and no single-layout aliases (call
layout.sampleFunction/layout.dirFunction).