Skip to content
#

webgpu

Here are 190 public repositories matching this topic...

wgpu
kpreid
kpreid commented Jul 4, 2022

There are a number of items in wgpu whose documentation contain examples using GLSL syntax or other references to GLSL elements. Since WGSL is now the standard shading language for WebGPU, it would be beneficial to readers if these examples were presented first in WGSL. (Keeping the GLSL would still be helpful for new users arriving from WebGL.)

Relevant occurrences of the text "GLSL" in docu

type: enhancement help wanted good first issue area: documentation

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 Jun 15, 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