Giter Club home page Giter Club logo

webgpu-playground's Introduction

๐Ÿ‘‰๐Ÿป Online Demo

WebGPU Playground

A playground for WebGPU.

webgpu-playground's People

Contributors

06wj avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webgpu-playground's Issues

GPUBuffer.setSubData is deprecated

I tried running the WebGPU Playground sample on Chrome Canary.
However, it seems that the following error is output to the console.

GPUBuffer.setSubData is deprecated: use createBufferMapped (with copyBufferToBuffer if needed) (but note the design/spec of this API is still in flux)

This is probably because the methods of the WebGPU API you're using are outdated.
Also, Firefox Nightly is starting to support WebGPU, but it doesn't seem to support the older methods.

TypeError: verticesBuffer.setSubData is not a function

Sample does not work on Chrome Canary 93

The sample doesn't seem to work on Chrome Canary right now due to some breaking changes in WebGPU specs in the last few months.
The following article will be helpful for understanding the main changes.

PSA for Chromium / Dawn WebGPU API updates 2020-10-19
https://hackmd.io/@webgpu/B1UCwfgzv

PSA for Chromium / Dawn WebGPU API updates 2021-04-07
https://hackmd.io/@webgpu/HJdib9rOD

PSA for Chromium / Dawn WebGPU API updates XXXX-XX-XX
https://hackmd.io/@webgpu/BkGB45T8O

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.