Skip to content

Commit 930b35b

Browse files
Merge branch 'trunk' into precompiled-shaders-macro
2 parents f7ecc4c + 04a3401 commit 930b35b

Some content is hidden

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

48 files changed

+3753
-2991
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,27 @@ Available on `CommandEncoder`, `CommandBuffer`, `RenderPass`, and `ComputePass`.
6464

6565
By @cwfitzgerald in [#8125](https://github.com/gfx-rs/wgpu/pull/8125).
6666

67+
#### Builtin Support for DXGI swapchains on top of of DirectComposition Visuals in DX12
68+
69+
By enabling DirectComposition support, the dx12 backend can now support transparent windows.
70+
71+
This creates a single `IDCompositionVisual` over the entire window that is used by the mf`Surface`. If a user wants to manage the composition tree themselves, they should create their own device and composition, and pass the relevant visual down into `wgpu` via `SurfaceTargetUnsafe::CompositionVisual`.
72+
73+
```rust
74+
let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor {
75+
backend_options: wgpu::BackendOptions {
76+
dx12: wgpu::Dx12BackendOptions {
77+
presentation_system: wgpu::Dx12SwapchainKind::DxgiFromVisual,
78+
..
79+
},
80+
..
81+
},
82+
..
83+
});
84+
```
85+
86+
By @n1ght-hunter in [#7550](https://github.com/gfx-rs/wgpu/pull/7550).
87+
6788
#### `EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE` has been merged into `EXPERIMENTAL_RAY_QUERY`
6889

6990
We have merged the acceleration structure feature into the `RayQuery` feature. This is to help work around an AMD driver bug and reduce the feature complexity of ray tracing. In the future when ray tracing pipelines are implemented, if either feature is enabled, acceleration structures will be available.
@@ -198,6 +219,12 @@ By @cwfitzgerald in [#8162](https://github.com/gfx-rs/wgpu/pull/8162).
198219

199220
- [wgsl-in] Allow a trailing comma in `@blend_src(…)` attributes. By @ErichDonGubler in [#8137](https://github.com/gfx-rs/wgpu/pull/8137).
200221

222+
### Documentation
223+
224+
#### General
225+
226+
- Clarify that subgroup barriers require both the `SUBGROUP` and `SUBGROUP_BARRIER` features / capabilities. By @andyleiserson in [#8203](https://github.com/gfx-rs/wgpu/pull/8203).
227+
201228
## v26.0.4 (2025-08-07)
202229

203230
### Bug Fixes

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ members = [
1010
"examples/standalone/*",
1111
"lock-analyzer",
1212
"naga-cli",
13+
"naga-test",
1314
"naga",
1415
"naga/fuzz",
1516
"naga/hlsl-snapshots",
@@ -33,6 +34,7 @@ default-members = [
3334
"examples/standalone/*",
3435
"lock-analyzer",
3536
"naga-cli",
37+
"naga-test",
3638
"naga",
3739
"naga/fuzz",
3840
"naga/hlsl-snapshots",
@@ -66,6 +68,7 @@ authors = ["gfx-rs developers"]
6668

6769
[workspace.dependencies]
6870
naga = { version = "26.0.0", path = "./naga" }
71+
naga-test = { version = "26.0.0", path = "./naga-test" }
6972
wgpu = { version = "26.0.0", path = "./wgpu", default-features = false, features = [
7073
"serde",
7174
"wgsl",

benches/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ naga = { workspace = true, features = [
4141
"glsl-out",
4242
"wgsl-out",
4343
] }
44+
naga-test = { workspace = true, features = [] }
4445
nanorand.workspace = true
4546
pollster.workspace = true
4647
profiling.workspace = true

0 commit comments

Comments
 (0)