From 3d78c6a1ab51464b7efc45ec8339b289ff630812 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Mon, 4 Jul 2022 15:26:37 -0400 Subject: [PATCH 1/2] Add aniso to dx12 --- wgpu-types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 5e72546201..26677729b8 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -990,7 +990,7 @@ pub struct DownlevelCapabilities { impl Default for DownlevelCapabilities { fn default() -> Self { Self { - flags: DownlevelFlags::compliant(), + flags: DownlevelFlags::all(), limits: DownlevelLimits::default(), shader_model: ShaderModel::Sm5, } From bd6f676b4729237e2fe7add98042a1d13edce026 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Mon, 4 Jul 2022 15:29:35 -0400 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f2828918f..9b0dd96480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,11 @@ Bottom level categories: ## Unreleased +### Bug Fixes + +#### DX12 +- `DownlevelCapabilities::default()` now returns the `ANISOTROPIC_FILTERING` flag set to true so DX12 lists `ANISOTROPIC_FILTERING` as true again by @cwfitzgerald in [#2851](https://github.com/gfx-rs/wgpu/pull/2851) + ## wgpu-0.13.1 (2022-07-02) ### Bug Fixes