From 95dd5b292fac09f545085ab7d7d9eabc898cf600 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Thu, 11 Jan 2024 16:10:38 -0500 Subject: [PATCH] fixup! feat(dx12,vulkan): make GPU-based validation opt-in with new `InstanceFlags::GPU_BASED_VALIDATION` --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c51d46dc993..c970aa3220b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.