Fix unfortunate flag duplication. (I wish bitflags would catch that).

This commit is contained in:
Alex S 2021-06-20 05:05:33 +03:00
parent 6d2e6e5a56
commit 3d6cda100a

View File

@ -593,7 +593,7 @@ bitflags::bitflags! {
/// - All /// - All
/// ///
/// This is a native only feature. /// 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). /// Enables creating shader modules from SPIR-V binary data (unsafe).
/// ///
/// Supported platforms: /// Supported platforms:
@ -601,7 +601,7 @@ bitflags::bitflags! {
/// Vulkan implementation. /// Vulkan implementation.
/// ///
/// This is a native only feature. /// 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. /// Features which are part of the upstream WebGPU standard.
const ALL_WEBGPU = 0x0000_0000_0000_FFFF; const ALL_WEBGPU = 0x0000_0000_0000_FFFF;