gpu.js
gpu.js copied to clipboard
GPU Accelerated JavaScript
I tried to do some calculate inside kernel but the returned value was different with result in browser: Calculate used: >12568701 | 771751936 In kernel return 7843206**40** but the browser...
See the attached file: [2023-12-28T19_27_29_239Z-debug-0.log](https://github.com/gpujs/gpu.js/files/13789006/2023-12-28T19_27_29_239Z-debug-0.log)
Okay fellas, we have compute support now in native web, and outputting kernels are possible e.g. this tutorial: https://jott.live/markdown/webgpu_safari Who has started or where do we want to start the...
## *What* is wrong? const gpu = new GPU(); const multiplyMatrix = gpu.createKernel(function(a, b) { let sum = 0; for (let i = 0; i < 512; i++) { sum...
 ## *What* is wrong? Chrome 113 breaks GPU.js when not scoped, its already has GPU object ## *Where* does...
No meme sorry ## *What* is wrong? I have made a lighting shader using GPU.js. After taking the exact same code and modifying it to work with variables passed to...
## *What* is wrong? As per the [installation instructions](https://github.com/gpujs/gpu.js#installation): > On Linux, ensure you have the correct header files installed: sudo apt install mesa-common-dev libxi-dev (adjust for your distribution) >...
# Description Instead of `gpu.js` transpiling the javascript code into a shader, I would like to provide the shader code directly. In this case `gpu.js` will only be used to...
Hey Guys, I've been now using gpujs to create a complex image processing pipeline and been wondering what is the best way to pass an array of images/textures to a...
## *What* is wrong? Cannot handle transpiled imported function (Markup type null not handled) ## *Where* does it happen? I use Gatsby with Webpack 5 and Typescript and try to...