From 3d6cda100af632ebdcb5e300aab47a8b28186977 Mon Sep 17 00:00:00 2001 From: Alex S Date: Sun, 20 Jun 2021 05:05:33 +0300 Subject: [PATCH] Fix unfortunate flag duplication. (I wish bitflags would catch that). --- wgpu-types/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index e562a4e4fa..920465728d 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -593,7 +593,7 @@ bitflags::bitflags! { /// - All /// /// This is a native only feature. - const CLEAR_COMMANDS = 0x0000_0001_0000_0000; + const CLEAR_COMMANDS = 0x0000_0200_0000_0000; /// Enables creating shader modules from SPIR-V binary data (unsafe). /// /// Supported platforms: @@ -601,7 +601,7 @@ bitflags::bitflags! { /// Vulkan implementation. /// /// This is a native only feature. - const SPIR_V_SHADER_MODULES = 0x0000_0002_0000_0000; + const SPIR_V_SHADER_MODULES = 0x0000_0400_0000_0000; /// Features which are part of the upstream WebGPU standard. const ALL_WEBGPU = 0x0000_0000_0000_FFFF;