Heavily dependent functions throw Error: no matching overloaded function found
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
リンクされている StackBlitz の再現環境から始め、報告された 457 行目付近の生成されたフラグメントシェーダーを調査し、vecDotProduct とそれに依存するベクトル関数がどのように出力されるかに注目してください。カーネルの実行中に関数の依存関係とオーバーロード解決を追跡します。再現したカーネルが no-matching-overloaded-function エラーなしで実行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What is wrong?
I have a problem with the added functions while running the kernel. Added some simple vector functions (dotProduct, scale, magnitude, normalize) and when I call them in a specific order, I get the error: Error compiling fragment shader: ERROR: 0:457: 'vecDotProduct' : no matching overloaded function found. The problem only occurs when I try to run/execute the kernel, not when I create it. (Note: the function, which was refered in the error, does exist with the proper types)
The mentioned functions rely on each other (calls each other), and I belive the problem might be related to this, because with independent functions I get no error.
Where does it happen?
A webpage using GPU.js running on my computer (Win10, Chrome)
How do we replicate the issue?
I created a Stackblitz to replitcate the issue:
https://stackblitz.com/edit/js-ztmz1t?devToolsHeight=33&file=index.js
(If the previous link doesn't work: https://js-ztmz1t.stackblitz.io )
How important is this (1-5)?
4
Expected behavior (i.e. solution)
The kernel runs without any error.
- 主要言語
- JavaScript
- スター
- 15.5k
- フォーク
- 663
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gpujs/gpu.js のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
WebGL backend silently returns all zeros for long-running kernels (no GL error, no context loss)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
factory-active factory-automatic harness/codex task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
ux
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
rr-djk/rr-djuikoo.com#53 ·
メンテナーはふだん 1 日以内に返信
-
new spec review
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
w3c/browser-specs#2666 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
thim81/openapi-format#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
decentespresso/dye2#13 ·