gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.08k stars 650 forks source link

WebGL: INVALID_VALUE #733

Open hasanainaz opened 2 years ago

hasanainaz commented 2 years ago

some spice of the internet

What is wrong?

(Warning from Line 14967) WebGL: INVALID_VALUE: enableVertexAttribArray: index out of range (Warning from Line 14968) WebGL: INVALID_VALUE: vertexAttribPointer: index out of range

Where does it happen?

gpu-browser.js - version 2.11.0 - date Tue Jan 05 2021 15:55:59 GMT-0500 (Eastern Standard Time)

How do we replicate the issue?

Simply "new GPU();" at PlayCanvas Online test: https://playcanvas.com/project/864431/overview/gpujs

How important is this (1-5)?

1 annoying warning.

Expected behavior (i.e. solution)

compatibility with Playcanvas context

Other Comments

radman-x commented 2 years ago

Getting these same warnings when running this code from #422 (closed) on a Samsung S8+ on Android Chrome browser vers. 101.0.4951.41. However, the S8+ results are correct. Also, these warnings do not occur on desktop Chrome.