Hacker News new | ask | show | jobs
by ruined 553 days ago
nightly with webgpu enabled gets farther, but still fails.

    Uncaptured WebGPU error: Shader module creation failed: Parsing error
    Encountered one or more errors while creating shader module "Update Lights Shader Module"
    WebGPU compilation info for shader module "Update Lights Shader Module" (1 error(s), 0 warning(s), 0 info)

    Shader 'Update Lights Shader Module' parsing error: unknown attribute: 'must_use'
       ┌─ wgsl:44:4
       │
    44 │   @must_use
       │    ^^^^^^^^ unknown attribute
    Uncaptured WebGPU error: ShaderModule with 'Update Lights Shader Module' label is invalid 
looks like this happens for most of the shaders.

edit: seems to be related to this issue https://github.com/gfx-rs/wgpu/issues/5186