Skip to content

dukang/webgpu-samples

 
 

Repository files navigation

WebGPU Samples

The WebGPU Samples are a set of SPIR-V compatible samples demonstrating the use of the WebGPU API. Please see the current implementation status at webgpu.io;

These samples run in Chrome Canary behind the flag --enable-unsafe-webgpu. If something isn't working, please file an issue here.

Building

webgpu-samples is built with Typescript and compiled using webpack. Building the project requires an installation of Node.js.

  • Install dependencies: npm install.
  • For development, start the dev server which will watch and recompile sources: npm start.
  • For production, compile the project: npm run build.
  • To view the project locally in the browser, start a web server in the project root directory. http-server is the recommended package.

About

WebGPU Samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.8%
  • HTML 5.0%
  • JavaScript 3.2%