Skip to content

Commit

Permalink
Deploying to gh-pages from @ e1106df 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-clayton committed Mar 7, 2024
1 parent 183838c commit 8fb2994
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>
<input type="checkbox" id="menuToggle">
<label class="expand" for="menuToggle"></label>
<div class="panelContents">
<a href="https://github.com/webgpu/webpgu-samples">
<a href="https://github.com/webgpu/webgpu-samples">
Github
</a>
<hr>
Expand Down
17 changes: 16 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,21 @@ var texturedCube = {
],
};

var twoCubes = {
name: 'Two Cubes',
description: 'This example shows some of the alignment requirements \
involved when updating and binding multiple slices of a \
uniform buffer. It renders two rotating cubes which have transform \
matrices at different offsets in a uniform buffer.',
filename: 'sample/twoCubes',
sources: [
{ path: 'main.ts' },
{ path: '../../shaders/basic.vert.wgsl' },
{ path: '../../shaders/vertexPositionColor.frag.wgsl' },
{ path: '../../meshes/cube.ts' },
],
};

var videoUploading = {
name: 'Video Uploading',
description: 'This example shows how to upload video frame to WebGPU.',
Expand Down Expand Up @@ -408,7 +423,7 @@ const pageCategories = [
helloTriangle,
helloTriangleMSAA,
rotatingCube,
twoCubes: texturedCube,
twoCubes,
texturedCube,
instancedCube,
fractalCube,
Expand Down
2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

0 comments on commit 8fb2994

Please sign in to comment.