const bindingsToModules: (
bindings: ({
attribute: UniformAttribute,
uniform?: StorageSource,
storage?: StorageSource,
texture?: TextureSource,
lambda?: LambdaSource<ShaderModule<SymbolTable>>,
constant?: any,
})[],
) => Record<string, ParsedBundle<SymbolTable> | ParsedModule<SymbolTable>>
packages / shader / src / wgsl / bind.ts