Skip to content

[ChuGL]: ERRORUncaptured device error: type 1 (Validation Error...) #8

@nathanleiby

Description

@nathanleiby

Thanks for the workshop! Forgot to file this a that time, but found it again...

How to reproduce:

  1. clone repo: https://github.com/nathanleiby/chuck-workshop
  2. checkout commit known to reproduce the bug (git checkout 137d3436939775e940d280feae4c8aaa4af047ff)
  3. cd orbits/ then run chuck main.ck

When the UI is running, press 2 on the keyboard to spawn a planet.
When the planet hits an anchor point, the program will crash.

$ chuck main.ck
key down 2 (CodAe = 50 )
"Using SinOsc variant" :(string)
[ChuGL]: ERRORUncaptured device error: type 1 (Validation Error

Caused by:
  In wgpuDeviceCreateBindGroup, label = 'ScenePass[26:ChuGL Default ScenePass] for Scene[21:] @group(1)'
    Binding 1 has a different type (Sampler(Filtering)) than the one in the layout ("UniformBuffer, StorageBuffer or ReadonlyStorageBuffer")
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions