From c1291bd1312a77be73954856d0e7728877232033 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 17 Apr 2024 16:31:20 -0400 Subject: [PATCH] Fix Merge Issues Between #5301 and #5508 (#5549) --- CHANGELOG.md | 2 +- tests/tests/subgroup_operations/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f4cfa4c4..b386d7183 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,6 +118,7 @@ Bottom level categories: - `wgpu::Texture::as_hal` now returns a user-defined type to match the other as_hal functions - Added support for pipeline-overridable constants. By @teoxoy & @jimblandy in [#5500](https://github.com/gfx-rs/wgpu/pull/5500) +- Add `SUBGROUP, SUBGROUP_VERTEX, SUBGROUP_BARRIER` features. By @exrook and @lichtso in [#5301](https://github.com/gfx-rs/wgpu/pull/5301) - Support disabling zero-initialization of workgroup local memory in compute shaders. By @DJMcNab in [#5508](https://github.com/gfx-rs/wgpu/pull/5508) #### GLES @@ -139,7 +140,6 @@ Bottom level categories: ### Bug Fixes #### General -- Add `SUBGROUP, SUBGROUP_VERTEX, SUBGROUP_BARRIER` features. By @exrook and @lichtso in [#5301](https://github.com/gfx-rs/wgpu/pull/5301) - Fix `serde` feature not compiling for `wgpu-types`. By @KirmesBude in [#5149](https://github.com/gfx-rs/wgpu/pull/5149) - Fix the validation of vertex and index ranges. By @nical in [#5144](https://github.com/gfx-rs/wgpu/pull/5144) and [#5156](https://github.com/gfx-rs/wgpu/pull/5156) - Fix panic when creating a surface while no backend is available. By @wumpf [#5166](https://github.com/gfx-rs/wgpu/pull/5166) diff --git a/tests/tests/subgroup_operations/mod.rs b/tests/tests/subgroup_operations/mod.rs index 504f765d9..c78cf131a 100644 --- a/tests/tests/subgroup_operations/mod.rs +++ b/tests/tests/subgroup_operations/mod.rs @@ -1,4 +1,4 @@ -use std::{borrow::Cow, collections::HashMap, num::NonZeroU64}; +use std::{borrow::Cow, num::NonZeroU64}; use wgpu_test::{gpu_test, GpuTestConfiguration, TestParameters}; @@ -62,7 +62,7 @@ static SUBGROUP_OPERATIONS: GpuTestConfiguration = GpuTestConfiguration::new() layout: Some(&pipeline_layout), module: &cs_module, entry_point: "main", - constants: &HashMap::default(), + compilation_options: Default::default(), }); let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor {