-
Updated
May 16, 2022 - JavaScript
webgpu
Here are 175 public repositories matching this topic...
-
Updated
May 16, 2022 - JavaScript
Description
I'm trying to port an existing application using GLSL to wgpu, so I have existing complex shaders I want to modify to be compatible. While trying to get them working, I have found that if the shader has (something which naga considers) a syntax error, wgpu will panic via .unwrap():
https://github.com/gfx-rs/wgpu/blob/326af60df8623e93b47a0de090e6cb449c8507f5/wgpu/src/bac
-
Updated
Mar 30, 2022 - TypeScript
-
Updated
May 15, 2022 - C++
-
Updated
May 16, 2022 - C++
-
Updated
May 14, 2022 - TypeScript
-
Updated
Apr 25, 2022 - JavaScript
-
Updated
Mar 15, 2022
-
Updated
Apr 29, 2022 - TypeScript
-
Updated
May 9, 2022 - JavaScript
-
Updated
May 11, 2022
-
Updated
Apr 29, 2022 - TypeScript
-
Updated
Apr 25, 2022 - C++
-
Updated
Mar 13, 2022 - TypeScript
-
Updated
Sep 15, 2020 - JavaScript
Right now the compute rasterizer only supports a simple list of triangles. It would be a good exercise to add support for an index buffer to support more complex models without using too much memory. You'll need to:
- Create another buffer, similar to the vertex buffer, that holds indices into the vertex buffer, and send that to the compute shader
- Change how many times the compute dispatches
-
Updated
Apr 9, 2022 - TypeScript
Improve this page
Add a description, image, and links to the webgpu topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the webgpu topic, visit your repo's landing page and select "manage topics."
See KhronosGroup/glTF#1691 for implementation spec.