Skip to content

Validation failure on sky-shader with debuginfo (i.e. OpName) enabled. #403

Closed
@eddyb

Description

@eddyb

To enable "debuginfo" (i.e. disable OpName stripping) for sky-shader, I added this to top-level Cargo.toml:

[profile.release.package."sky-shader"]
debug = true

but it results in:

     Compiling sky-shader v0.1.0 (/home/eddy/Projects/rust-gpu/examples/shaders/sky-shader)
  error: invalid id:0:0 - OpStore Pointer <id> '1085[%1085]'s type does not match Object <id> '3[%in_frag_coord]'s type.
    OpStore %1085 %in_frag_coord

Haven't looked into it but I'm guessing some necessary deduplication is prevented by an OpName (that normally gets stripped).

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions