From 3333230095c47fef8e32044ab741bffe9f2eb02b Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 12 Apr 2023 16:48:44 -0400 Subject: [PATCH] Fix tests --- wgpu-types/src/lib.rs | 2 +- wgpu/examples/framework.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index fe98dbc1cf..0804ba262e 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -2784,7 +2784,7 @@ impl TextureFormat { Self::Bc5RgUnorm => ( noaa, basic), Self::Bc5RgSnorm => ( noaa, basic), Self::Bc6hRgbUfloat => ( noaa, basic), - Self::Bc6hRgbFloat => ( noaa, basic), + Self::Bc6hRgbFloat => ( noaa, basic), Self::Bc7RgbaUnorm => ( noaa, basic), Self::Bc7RgbaUnormSrgb => ( noaa, basic), diff --git a/wgpu/examples/framework.rs b/wgpu/examples/framework.rs index 2dcef68410..53f3c81dfe 100644 --- a/wgpu/examples/framework.rs +++ b/wgpu/examples/framework.rs @@ -550,7 +550,7 @@ pub fn test(mut params: FrameworkRefTest) { height: params.height, present_mode: wgpu::PresentMode::Fifo, alpha_mode: wgpu::CompositeAlphaMode::Auto, - view_formats: vec![wgpu::TextureFormat::Rgba8Unorm], + view_formats: vec![wgpu::TextureFormat::Rgba8UnormSrgb], }, &ctx.adapter, &ctx.device,