Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

path-trace 1 cell did not pass its check

クローズ
#874 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
compilers, web-dev

調査の方向性

The error is a WGSL parsing error in a generated shader, specifically an unexpected '--' operator. Look at the path-trace workload in the test suite, likely under test/ or benchmarks/. Examine the GPU.js kernel generation code that produces WGSL, focusing on how unary minus or subtraction is emitted. Run the specific test to reproduce, then debug the code generation to avoid producing '--' in the output.

索引モデルが issue の本文から書いたものです。

説明

A cell reading WRONG or error is a gpu.js bug, not a property of your machine — the same kernel produced the right answer on the other backends. These are worth reporting, and a report with the workload name and your adapter in it is worth several without:
path-trace · webgpu · error

Shader '' parsing error: expected `)`, found "--"
   ┌─ wgsl:57:31
   │
57 │ var user_u_ut : f32 = (user_Ve--0.949999988079071);var user_dt : f32 = (user_et-0.8999999761581421);var user_Qe : f32 = (user_st--0.15000000596046448);var user_Xe : f32 = (((user_u_ut*user_Re)+(user_dt*user_Ie))+(user_Qe*user_Fe));var user_It : f32 = ((((user_u_ut*user_u_ut)+(user_dt*user_dt))+(user_Qe*user_Qe))-0.809999942779541);var user_ot : f32 = ((user_Xe*user_Xe)-user_It);if ((user_ot>0.0)){
   │                               ^^ expected `)`
Image
主要言語
JavaScript
スター
15.5k
フォーク
663
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

gpujs/gpu.js のほかの issue

gpujs/gpu.js の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。