Closed
Description
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).