Skip to content
#

webgpu

Here are 194 public repositories matching this topic...

wgpu
swiftcoder
swiftcoder commented Jul 21, 2022

Is your feature request related to a problem? Please describe.

Per the draft spec, it appears that GPUBuffer is supposed to expose it's size and usage via readonly properties:
https://gpuweb.github.io/gpuweb/#buffer-interface

As of wgpu-rs 0.13.1, on the rust side neither of these properties are currently visible to application code. Also the wgpu::Buffer type doesn't appear to be cachi

type: enhancement help wanted good first issue area: api

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