gpujs / gpu.js

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

Bug with complicated function dependencies #730

Open m0ose opened 2 years ago

m0ose commented 2 years ago

There was a bug when someone added a bunch of interdependent functions. I think it had to do with the order that they were declared in the shader. Here is a fix and a test for #727.