gpujs / gpujs/gpu.js

not correct canvas output: I get right cancas when I set cpu({ mode:'cpu'}) , but get wrong canvas when I set cpu()

Open
#697 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15.5k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

int16array input .
1. new gpu({ mode: ' cpu' }) , right cancas

![企业微信截图_16215054383106](https://user-images.githubusercontent.com/2399971/118961691-2eb8df00-b997-11eb-9886-c1b4c85d04c2.png)

2. new gpu() , wrong canvas .

![企业微信截图_16215053749401](https://user-images.githubusercontent.com/2399971/118961712-34162980-b997-11eb-8986-859ff8d0df71.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing issue #697 with the reported Int16Array input, comparing new GPU({ mode: 'cpu' }) with new GPU() and their canvas output. Use the attached screenshots as the expected comparison; done means the default mode produces the same correct canvas as CPU mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.