Rust-GPU / Rust-GPU/rust-gpu

[Migrated] Point users towards correct fix for "missing capability" errors

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.4k
Forks
126
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.