[Migrated] Point users towards correct fix for "missing capability" errors
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
Issue automatically imported from old repo: https://github.com/EmbarkStudios/rust-gpu/issues/1072
Old labels: t: enhancement
Originally creatd by jansol on 2023-06-07T19:53:52Z 👍: 1
While trying to get texpresso to compile to SPIR-V I very early on encountered an error about a missing OpCapability Int8.
After some searching around I eventually found out how to fix this, but it would be nice if the error message could point users towards the right API, i.e. in this case SpirvBuilder.capability(spirv_builder::capability::Cap)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the diagnostic for the missing OpCapability Int8 encountered while compiling texpresso to SPIR-V. Check how SpirvBuilder.capability(spirv_builder::capability::Cap) is exposed, and consider the issue done when the missing-capability error points users toward that API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100