diff --git a/README.md b/README.md index 8e89a65..c51b3c3 100644 --- a/README.md +++ b/README.md @@ -437,6 +437,8 @@ import { createTextureFromImage } from 'webgpu-utils'; * [cube-map](examples/cube-map.html) * [instancing](examples/instancing.html) * [primitives](examples/primitives.html) +* [stencil](examples/stencil.html) +* [stencil-cube](examples/stencil-cube.html) ## Development diff --git a/dist/1.x/webgpu-utils.js b/dist/1.x/webgpu-utils.js index d682d3d..3e557b3 100644 --- a/dist/1.x/webgpu-utils.js +++ b/dist/1.x/webgpu-utils.js @@ -1,4 +1,4 @@ -/* webgpu-utils@1.7.1, license MIT */ +/* webgpu-utils@1.7.2, license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : diff --git a/dist/1.x/webgpu-utils.module.js b/dist/1.x/webgpu-utils.module.js index d9d79b9..e08949e 100644 --- a/dist/1.x/webgpu-utils.module.js +++ b/dist/1.x/webgpu-utils.module.js @@ -1,4 +1,4 @@ -/* webgpu-utils@1.7.1, license MIT */ +/* webgpu-utils@1.7.2, license MIT */ const roundUpToMultipleOf = (v, multiple) => (((v + multiple - 1) / multiple) | 0) * multiple; function keysOf(obj) { return Object.keys(obj); diff --git a/docs/index.html b/docs/index.html index 0247a55..c43c090 100644 --- a/docs/index.html +++ b/docs/index.html @@ -106,6 +106,8 @@
git clone https://github.com/greggman/webgpu-utils.git
cd webgpu-utils
npm ci
npm start
diff --git a/examples/2d-array.html b/examples/2d-array.html
index ba09d39..edac047 100644
--- a/examples/2d-array.html
+++ b/examples/2d-array.html
@@ -8,6 +8,7 @@