Use LinkedWesl.createShaderModule for a better error reporting experience.
Creates a GPUShaderModule. When errors occur, they will point at the original WESL source code.
The compilation info GPUShaderModule.getCompilationInfo can be remapped with mapGPUCompilationInfo
GPUDevice. Preferably a WeslDevice for better error reporting.
Description of the GPUShaderModule to create.
Turns raw compilation info into compilation info that points at the WESL sources.
Multiple WESL files that have been linked together to produce WGSL code.
Call LinkedWesl.createShaderModule on a WeslDevice to make the error reporting aware of the WESL code.