You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue automatically imported from old repo: EmbarkStudios/rust-gpu#1037 Old labels: t: bug,s: qptr may fix Originally creatd by TrueDoctor on 2023-04-18T16:53:55Z
Comment from eddyb (CONTRIBUTOR) on 2023-04-18T20:07:37Z
Noting Discord discussion outcome on here just so nobody wastes their time: the problem here is not that the SPIR-V type lacks the ZSTs, and the solution is not to add them.
Instead, the thing to remember is that Rust ZSTs are not data, and pointers to them cannot be used for memory accesses. The only reason we even need to cast a pointer is because we're using SPIR-V pointer types. qptr (#1020 / EmbarkStudios/spirt#24) should help a lot here.
Issue automatically imported from old repo: EmbarkStudios/rust-gpu#1037
Old labels: t: bug,s: qptr may fix
Originally creatd by TrueDoctor on 2023-04-18T16:53:55Z
Expected Behaviour
The code should compile
Example & Steps To Reproduce
code:
result:
System Info
The text was updated successfully, but these errors were encountered: