Skip to content

Base code for starting a WebGPU project using Dawn (C++). Native and WebAssembly builds

Notifications You must be signed in to change notification settings

jspdown/webgpu-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU starter

Base code for starting a WebGPU project using Dawn (C++).

Dependencies:

Build

Native:

mkdir -p dist/native && cd dist/native
cmake -DCMAKE_BUILD_TYPE=Release ../..
make -j 10

Web:

mkdir -p dist/web && cd dist/web
emcmake cmake -DCMAKE_BUILD_TYPE=Release ../..
make -j 10

Update dependencies

Prerequisites:

# Update all submodules to the latest commit on the upstream. 
git submodule update --remote --merge

# Pull Dawn external packages.
cd lib/dawn && gclient sync

About

Base code for starting a WebGPU project using Dawn (C++). Native and WebAssembly builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published