gpujs / gpujs/gpu.js

gpu.js 不能被webpack 打包使用吗

オープン
#587 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
15.5k
フォーク
663
PR マージ指標
30日以内にマージされた PR はありません

説明

![A GIF or MEME to give some spice of the internet](url)

## *What* is wrong?

## *Where* does it happen?

## *How* do we replicate the issue?

## *How* important is this (1-5)?

## Expected behavior (i.e. solution)

打包编译就报错 开发环境 很正常
renderer.js:1 Error: Error compiling fragment shader: ERROR: 0:404: '!' : wrong operand type - no operation '!' exists that takes an operand of type lowp int (or there is no acceptable conversion)
ERROR: 0:404: '&&' : wrong operand types - no operation '&&' exists that takes a left-hand operand of type 'bool' and a right operand of type 'void' (or there is no acceptable conversion)
## Other Comments

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

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

調査の方向性

まず gpu.js の本番 webpack ビルドを再現し、issue で報告されている renderer.js の fragment-shader コンパイルエラーを調査します。関連する開発ビルドとバンドル済みビルドを確認し、それらの shader の動作を比較します。webpack でビルドしたバージョンが報告された GLSL 型エラーなしでコンパイルできれば完了です。

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

評価

技術スタック
javascript, webpack
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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