Skip to content

Commit 3850995

Browse files
committed
Merge branch 'trunk' into raw-window-metal
2 parents 9565109 + 3016c56 commit 3850995

File tree

580 files changed

+29355
-7852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

580 files changed

+29355
-7852
lines changed

.deny.toml

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,48 @@
11
[bans]
22
multiple-versions = "deny"
33
skip-tree = [
4-
# We never enable loom in any of our dependencies but it causes dupes
5-
{ name = "loom", version = "0.7.2" },
6-
{ name = "windows-sys", version = "0.45" },
7-
{ name = "winit", version = "0.29" },
8-
{ name = "rustc_version", version = "0.2.3" },
9-
{ name = "sourcemap", version = "7.1.1" },
10-
{ name = "miniz_oxide", version = "0.7.4" },
4+
# We never enable loom in any of our dependencies but it causes dupes
5+
{ name = "loom", version = "0.7.2" },
6+
{ name = "windows-sys", version = "0.45" },
7+
{ name = "winit", version = "0.29" },
8+
{ name = "rustc_version", version = "0.2.3" },
9+
{ name = "sourcemap", version = "7.1.1" },
10+
{ name = "miniz_oxide", version = "0.7.4" },
1111
]
1212
skip = [
13-
{ name = "hlsl-snapshots", version = "0.1.0" },
14-
# Strum uses an old version
15-
{ name = "heck", version = "0.4.0" },
13+
{ name = "hlsl-snapshots", version = "0.1.0" },
14+
# Strum uses an old version
15+
{ name = "heck", version = "0.4.0" },
1616
]
1717
wildcards = "deny"
1818
allow-wildcard-paths = true
1919

2020
[licenses]
2121
allow = [
22-
"Apache-2.0",
23-
"Apache-2.0 WITH LLVM-exception",
24-
"BSD-2-Clause",
25-
"BSD-3-Clause",
26-
"CC0-1.0",
27-
"ISC",
28-
"MPL-2.0",
29-
"MIT",
30-
"MIT-0",
31-
"Unicode-DFS-2016",
32-
"Zlib",
22+
"Apache-2.0",
23+
"Apache-2.0 WITH LLVM-exception",
24+
"BSD-2-Clause",
25+
"BSD-3-Clause",
26+
"CC0-1.0",
27+
"ISC",
28+
"MPL-2.0",
29+
"MIT",
30+
"MIT-0",
31+
"Unicode-DFS-2016",
32+
"Zlib",
3333
]
3434

3535
[sources]
3636
allow-git = [
37-
# Waiting on releases; used in examples only
38-
"https://github.com/Razaekel/noise-rs",
39-
40-
"https://github.com/grovesNL/glow",
41-
"https://github.com/gfx-rs/metal-rs",
37+
# Waiting on releases; used in examples only
38+
"https://github.com/Razaekel/noise-rs",
39+
40+
"https://github.com/grovesNL/glow",
41+
"https://github.com/gfx-rs/metal-rs",
4242
]
4343
unknown-registry = "deny"
4444
unknown-git = "deny"
4545
required-git-spec = "rev"
4646

4747
[sources.allow-org]
48-
github = [
49-
"gfx-rs"
50-
]
48+
github = ["gfx-rs"]

.github/CODEOWNERS

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
* @gfx-rs/wgpu
22

3-
/cts_runner/ @gfx-rs/deno @gfx-rs/wgpu
4-
/deno_webgpu/ @gfx-rs/deno @gfx-rs/wgpu
3+
/cts_runner/ @crowlkats @gfx-rs/wgpu
4+
/deno_webgpu/ @crowlkats @gfx-rs/wgpu
55
/naga/ @gfx-rs/naga
66
/naga-cli/ @gfx-rs/naga
77

8+
# Both wgpu and naga teams are owners of naga infrastructure so
9+
# either team can review changes to deps and docs.
10+
naga/Cargo.toml @gfx-rs/wgpu @gfx-rs/naga
11+
naga/README.md @gfx-rs/wgpu @gfx-rs/naga
12+
naga/CHANGELOG.md @gfx-rs/wgpu @gfx-rs/naga
13+
naga-cli/Cargo.toml @gfx-rs/wgpu @gfx-rs/naga
14+
815
# We leave the codeowners empty for the changelog, so naga changes
916
# don't trigger wgpu reviews and vise versa.
1017
/CHANGELOG.md

.github/pull_request_template.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _Describe what problem this is solving, and how it's solved._
77
**Testing**
88
_Explain how this change is tested._
99

10-
<!--
10+
<!--
1111
Thanks for filing! The codeowners file will automatically request reviews from the appropriate teams.
1212
1313
After you get a review and have addressed any comments, please explicitly re-request a review from the
@@ -17,6 +17,7 @@ person(s) who reviewed your changes. This will make sure it gets re-added to the
1717
**Checklist**
1818

1919
- [ ] Run `cargo fmt`.
20+
- [ ] Run `taplo format`.
2021
- [ ] Run `cargo clippy`. If applicable, add:
2122
- [ ] `--target wasm32-unknown-unknown`
2223
- [ ] `--target wasm32-unknown-emscripten`

.github/workflows/ci.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,23 @@ env:
1313
#
1414

1515
# Sourced from https://vulkan.lunarg.com/sdk/home#linux
16-
VULKAN_SDK_VERSION: "1.3.268"
16+
#
17+
# We don't include the 4th version number, as it's not used in any URL.
18+
VULKAN_SDK_VERSION: "1.3.290"
1719
# Sourced from https://www.nuget.org/packages/Microsoft.Direct3D.WARP
18-
WARP_VERSION: "1.0.8"
20+
WARP_VERSION: "1.0.13"
1921

2022
# Sourced from https://github.com/microsoft/DirectXShaderCompiler/releases
2123
#
2224
# Must also be changed in shaders.yaml
23-
DXC_RELEASE: "v1.7.2308"
24-
DXC_FILENAME: "dxc_2023_08_14.zip"
25+
DXC_RELEASE: "v1.8.2407"
26+
DXC_FILENAME: "dxc_2024_07_31_clang_cl.zip"
2527

2628
# Sourced from https://archive.mesa3d.org/. Bumping this requires
2729
# updating the mesa build in https://github.com/gfx-rs/ci-build and creating a new release.
28-
MESA_VERSION: "23.3.1"
30+
MESA_VERSION: "24.2.3"
2931
# Corresponds to https://github.com/gfx-rs/ci-build/releases
30-
CI_BINARY_BUILD: "build18"
32+
CI_BINARY_BUILD: "build19"
3133

3234
# We sometimes need nightly to use special things in CI.
3335
#
@@ -311,7 +313,6 @@ jobs:
311313
rustup override set ${{ env.CORE_MSRV }}
312314
cargo -V
313315
314-
# Use special toolchain for rustdoc, see https://github.com/gfx-rs/wgpu/issues/4905
315316
- name: Install Nightly Toolchain
316317
run: |
317318
rustup toolchain install ${{ env.NIGHTLY_VERSION }} --no-self-update --profile=minimal --component clippy
@@ -442,7 +443,7 @@ jobs:
442443
dxc --version
443444
444445
curl.exe -L --retry 5 https://www.nuget.org/api/v2/package/Microsoft.Direct3D.WARP/$WARP_VERSION -o warp.zip
445-
7z.exe e warp.zip -owarp build/native/amd64/d3d10warp.dll
446+
7z.exe e warp.zip -owarp build/native/bin/x64/d3d10warp.dll
446447
447448
mkdir -p target/llvm-cov-target/debug/deps
448449
@@ -554,7 +555,7 @@ jobs:
554555
cargo llvm-cov report --lcov --output-path lcov.info
555556
556557
- name: upload coverage report to codecov
557-
uses: codecov/codecov-action@v3
558+
uses: codecov/codecov-action@v4
558559
if: steps.coverage.outcome == 'success'
559560
with:
560561
files: lcov.info
@@ -613,13 +614,22 @@ jobs:
613614
rustup override set ${{ env.REPO_MSRV }}
614615
cargo -V
615616
616-
- name: run rustfmt
617+
- name: Run `cargo fmt`
617618
run: |
618619
cargo fmt -- --check
619620
cargo fmt --manifest-path xtask/Cargo.toml -- --check
621+
cargo fmt --manifest-path naga/xtask/Cargo.toml -- --check
622+
623+
- name: Install Taplo
624+
uses: uncenter/setup-taplo@v1
625+
with:
626+
version: "0.9.3"
627+
628+
- name: run `taplo fmt`
629+
run: taplo format --check --diff
620630

621631
- name: Check for typos
622-
uses: crate-ci/typos@v1.24.5
632+
uses: crate-ci/typos@v1.27.3
623633

624634
check-cts-runner:
625635
# runtime is normally 2 minutes

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: ${{ failure() }}
4242

4343
- name: Deploy the docs
44-
uses: JamesIves/github-pages-deploy-action@v4.6.4
44+
uses: JamesIves/github-pages-deploy-action@v4.6.9
4545
if: github.ref == 'refs/heads/trunk'
4646
with:
4747
token: ${{ secrets.WEB_DEPLOY }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: cargo xtask run-wasm --no-serve
4242

4343
- name: Deploy WebGPU examples
44-
uses: JamesIves/github-pages-deploy-action@v4.6.4
44+
uses: JamesIves/github-pages-deploy-action@v4.6.9
4545
if: github.ref == 'refs/heads/trunk'
4646
with:
4747
token: ${{ secrets.WEB_DEPLOY }}

.github/workflows/shaders.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ on:
99

1010
env:
1111
# Sourced from https://vulkan.lunarg.com/sdk/home#linux
12-
VULKAN_SDK_VERSION: "1.3.268"
12+
#
13+
# We don't include the 4th version number, as it's not used in any URL.
14+
#
15+
# Held back from 1.3.290 by https://github.com/gfx-rs/wgpu/issues/6307
16+
VULKAN_SDK_VERSION: "1.3.283"
1317

1418
# Sourced from https://github.com/microsoft/DirectXShaderCompiler/releases
1519
#
1620
# Must also be changed in ci.yaml
17-
DXC_RELEASE: "v1.7.2308"
18-
DXC_FILENAME: "dxc_2023_08_14.zip"
21+
DXC_RELEASE: "v1.8.2407"
22+
DXC_FILENAME: "dxc_2024_07_31_clang_cl.zip"
1923

2024
jobs:
2125
naga-validate-windows:

0 commit comments

Comments
 (0)