Error compiling and running example `runners/ash`
オープン
まだ誰も着手していません。
bug
- 主要言語
- Rust
- スター
- 3.4k
- フォーク
- 126
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Expected Behaviour
Example runners/ash compiles and runs.
Example & Steps To Reproduce
git clone https://github.com/Rust-GPU/rust-gpucd rust-gpu/yard-rs/example-xp/rust-gpu/examples/runners/ashcargo run --release- error:
thread 'main' panicked at examples/runners/ash/src/main.rs:255:10:
called `Result::unwrap()` on an `Err` value: CratePathDoesntExist("examples/shaders/sky-shader")
Following the working example multibuilder, one can change the error line from
SpirvBuilder::new("examples/shaders/sky-shader", "spirv-unknown-vulkan1.1")
to
SpirvBuilder::new(concat!(env!("CARGO_MANIFEST_DIR"), "/../../shaders/sky-shader"), "spirv-unknown-vulkan1.1")
Now the example and the shader crate compiles, but running it gives an error
[mvk-error] VK_ERROR_EXTENSION_NOT_PRESENT: Vulkan extension VK_KHR_shader_non_semantic_info is not supported.
thread 'main' panicked at examples/runners/ash/src/main.rs:441:22:
called `Result::unwrap()` on an `Err` value: ERROR_EXTENSION_NOT_PRESENT
This might be fixable by updating ash, or might not be fixable at the moment. In the latter case, an explicit "support matrix"-ish table would be nice.
System Info
- Rust:
rustc 1.79.0-nightly (244da22fa 2024-04-23) - OS: MacBook Pro M1, 16-inch, 2021, macOS 14.4.1 (23E224)
- GPU: Integrated
- SPIR-V:
SPIRV-Tools v2024.3 unknown hash, 2024-06-20T14:29:42+00:00
Backtrace
N/A
Backtrace
<backtrace>
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず examples/runners/ash で cargo run --release を実行し、255 行目と 441 行目付近の examples/runners/ash/src/main.rs を確認してください。シェーダー パスの処理を動作する multibuilder 例と比較し、macOS で報告されている VK_KHR_shader_non_semantic_info の失敗を調査してください。例が実行できるようになるか、サポートされていない要件が明示的なサポート マトリックスに記載されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100