Skip to content

Commit adc666e

Browse files
version bump
1 parent f0c404f commit adc666e

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
npm install [email protected]
4545
cp -r node_modules/webgpu-spd/dist docs/1.0.0/dist
4646
mkdir -p docs/2.x
47-
cp -r dist docs/2.x/dist
47+
npm install [email protected]
48+
cp -r node_modules/webgpu-spd/dist docs/2.x/dist
49+
mkdir -p docs/3.x
50+
cp -r dist docs/3.x/dist
4851
cp -r demo docs/demo
4952
- name: Setup Pages
5053
uses: actions/configure-pages@v5

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [v3.0.0] - 2025-08-03
6+
57
### Added
68

79
- Add support for texture formats enabled by the device feature [texture-formats-tier1](https://www.w3.org/TR/webgpu/#texture-formats-tier1).
@@ -18,7 +20,6 @@
1820
- Cast downsampling weight to concrete scalar type for average filter.
1921
- Fix minor typing issues.
2022

21-
2223
## [v2.0.1] - 2024-06-20
2324

2425
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ npm install webgpu-spd
1717

1818
### From GitHub
1919
```js
20-
import { WebGPUSinglePassDownsampler } from 'https://jolifantobambla.github.io/webgpu-spd/2.x/dist/index.js';
20+
import { WebGPUSinglePassDownsampler } from 'https://jolifantobambla.github.io/webgpu-spd/3.x/dist/index.js';
2121
```
2222

2323
### From UNPKG
2424
```js
25-
import { WebGPUSinglePassDownsampler } from 'https://unpkg.com/webgpu-spd@2.0.0/dist/index.js';
25+
import { WebGPUSinglePassDownsampler } from 'https://unpkg.com/webgpu-spd@3.0.0/dist/index.js';
2626
```
2727

2828
## Usage

demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ <h2>Display options</h2>
9393
</div>
9494

9595
<script type="module">
96-
import { WebGPUSinglePassDownsampler, maxMipLevelCount } from '../2.x/dist/index.js';
97-
96+
import { WebGPUSinglePassDownsampler, maxMipLevelCount } from '../3.x/dist/index.js';
97+
9898
function makeCheckerboardTextureData(size, numChannels, tileSize = 16, offset = 0, scalarType = 'f32') {
9999
const data = new (scalarType === 'f32' ? Float32Array : scalarType === 'i32' ? Int32Array : Uint32Array)(size * size * numChannels);
100100
for (let i = 0; i < size * size; ++i) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webgpu-spd",
3-
"version": "2.0.1",
3+
"version": "3.0.0",
44
"description": "A port of AMD's Single Pass Downsampler for WebGPU",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)