GitXplorerGitXplorer
b

webgpu_examples_c

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
ef4f28622f3cd03699548caee63ca9ed27ef1fea

add Readme

bbobajeff committed a year ago
Unverified
9a1e43750c639793891e9f23ff932905cee68390

and script to test all the binaries

bbobajeff committed a year ago
Unverified
051970fd111eb475064bf1c9a092f309dcbb12e9

lock glfw at revision 73948e6c0f15b1053cf74b7c4e6b04fd36e97e29

bbobajeff committed a year ago
Unverified
4bc00ecd14a92d8770cf3e46a74b50bbd0605689

last chapter of 'An introduction to Shader Art Coding' ('pow()')

bbobajeff committed a year ago
Unverified
fa1423b53f610c733c5a7644187a9534af9223a8

chapter 'exp()' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
ff7fabd85c46f3a542eb3809528d084652204b68

chapter 'iterations' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago

README

The README file for this repository.

webgpu examples c

Note: I'm freezing the wgpu version at v0.17.0.2 because the webgpu native API is still very much in flux and it's alot of work to update all of the examples for breaking changes.

This project is more of an extension on the webgpu_fundamentals_c. The examples here aren't from https://webgpufundamentals.org/ and are more exersizes I've been trying or in the case of the shadertoy example just something I've ported. Still just learning wgpu.

building

get the source

git clone git@github.com:bobajeff/webgpu_examples_c.git

get the dependecies

  • wgpu-native v0.17.0.2 (required) -

build the project

In source directory run:

cmake -B build
cmake --build build

running examples

Run the executables found in their respective build subdirectories or run the test_build.sh script