Skip to content

Commit

Permalink
fixup! feat(dx12,vulkan): make GPU-based validation opt-in with new `…
Browse files Browse the repository at this point in the history
…InstanceFlags::GPU_BASED_VALIDATION`
  • Loading branch information
ErichDonGubler committed Jan 11, 2024
1 parent 67f8a52 commit 95dd5b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ Wgpu now exposes backend feature for the Direct3D 12 (`dx12`) and Metal (`metal`
- wgpu and wgpu-core features are now documented on docs.rs. By @wumpf in [#4886](https://github.com/gfx-rs/wgpu/pull/4886)
- DeviceLostClosure is guaranteed to be invoked exactly once. By @bradwerth in [#4862](https://github.com/gfx-rs/wgpu/pull/4862)
- Added `InstanceFlags::GPU_BASED_VALIDATION`, which enables GPU-based validation for shaders. This is currently only supported on the DX12 and Vulkan back ends; other platforms ignore this flag, for now.
- This has been added to the set of flags set by `InstanceFlags::debugging`.
If you notice your graphics workloads running more slowly, this may be the
culprit.
- This has been added to the set of flags set by `InstanceFlags::debugging`
and `InstanceFlags::from_build_config`. If you notice your graphics
workloads running more slowly, this may be the culprit.
- As with other instance flags, this flag can be changed in calls to
`InstanceFlags::with_env` with the new `WGPU_GPU_BASED_VALIDATION`
environment variable.
Expand Down

0 comments on commit 95dd5b2

Please sign in to comment.