Open robertleeplummerjr opened 5 years ago
It is a good idea for couple of reasons:
@robertleeplummerjr Just started to work on my libraries for vulkan:
https://github.com/DanielMazurkiewicz/vulkan-spirv https://github.com/DanielMazurkiewicz/vulkan-spirv-pretty https://github.com/DanielMazurkiewicz/vulkan-compute
Feel free to drop any comments, or expectations or so ...
Still considering using a Vulkan backend? - nvk now uses N-API, runs on Windows, Linux, Darwin, has no dependencies and is only 6mb in size
I would definitely love if this is implemented. Maybe it can be released in the next major? Vulkan is awesome! Much Much much faster than the current state. @robertleeplummerjr
Is there an example that is both headless, and returns an array?
Also, @HarshKhandeparkar speaks what I'm feeling as well. We do want this, I think in the form of its own dependency, that way it is optional. Probably similar to https://www.npmjs.com/package/@gpujs/expo-gl .
@robertleeplummerjr Yes that's what the mandelbrot example does. See this line, where the GPU memory gets read back
Started the thread here: https://github.com/maierfelix/nvk/issues/2 and got a good response for a GPGPU. Might be worth a shot.