Comments (5)
this a problem for you?
GPU.js already has a webgl and webgl2 backend. We want new backends, ones that are server side GPU centric.
Develop in one language, with one environment, and deploy everywhere.
from nvk.
A compute shader example is one of my main Todos! I will let you know when I got something up for you.
A good starting point is the Triangle example, just remove the window and graphics stuff and you are ready to try it yourself - It's not enforced to use a window.
Also please note that node-vulkan only runs on desktop, not in the browser - is this a problem for you?
from nvk.
Forgot to mention, gpu.js transpiles on the fly to whatever backends we need.
from nvk.
@robertleeplummerjr Added this compute shader example
Edit: At the very end of the example file there is a read-back part. This is where data gets read back from the GPU to the CPU. The example saves the data into an image file, but it's up to you how you process it.
from nvk.
Consider this closed. Great job!
from nvk.
Related Issues (20)
- Typescript is broken? HOT 6
- Wrong parameter type in index.d.ts HOT 8
- pNext: "Member isn't allowed to be filled!" incorrect behavior when 'null'
- Empty arrays cause a crash when a structure gets flushed
- Add documentation for ArrayBuffer.getAddress and ArrayBuffer.fromAddress
- Add Cursor/Pointer Lock support
- ArrayBuffer members of structures are not correctly handled
- No render devices available in vmware HOT 2
- oculus support HOT 1
- BigInt.prototype.dereference doesn't actually dereference
- Running new VkDescriptorBufferInfo() in an electron render process causes crash on getArrayBufferFromAddress() in VkBuffer initialisation. HOT 3
- [WebAssembly, ArrayBuffer] Low-level input for structs? HOT 4
- Drop Vk and VK_ prefixes? HOT 1
- Validation Layer name change to "VK_LAYER_KHRONOS_validation" HOT 4
- TypeScript types not working HOT 2
- Disabling rate limit / vsync using NVK
- Howto get humanized Vulkan driver version?
- Issue with BigUint64Array
- VkImageBlit and VkImageBlit2KHR srcOffsets and dstOffsets cause RangeError crash.
- Incorrect TypeScript signature for vkCmdBindVertexBuffers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvk.