Skip to content
#

webgpu

Here are 175 public repositories matching this topic...

wgpu
kpreid
kpreid commented Mar 21, 2022

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

type: bug help wanted good first issue area: validation

Paddle.js is a web project for Baidu PaddlePaddle, which is an open source deep learning framework running in the browser. Paddle.js can either load a pre-trained model, or transforming a model from paddle-hub with model transforming tools provided by Paddle.js. It could run in every browser with WebGL/WebGPU/WebAssembly supported. It could also run in Baidu Smartprogram and WX miniprogram.

  • Updated Apr 25, 2022
  • JavaScript
OmarShehata
OmarShehata commented Dec 11, 2021

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
good first issue

Improve this page

Add a description, image, and links to the webgpu topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webgpu topic, visit your repo's landing page and select "manage topics."

Learn more