ash/vk/
constants.rs
1use crate::vk::definitions::*;
2pub const MAX_PHYSICAL_DEVICE_NAME_SIZE: usize = 256;
3pub const UUID_SIZE: usize = 16;
4pub const LUID_SIZE: usize = 8;
5pub const MAX_EXTENSION_NAME_SIZE: usize = 256;
6pub const MAX_DESCRIPTION_SIZE: usize = 256;
7pub const MAX_MEMORY_TYPES: usize = 32;
8#[doc = "The maximum number of unique memory heaps, each of which supporting 1 or more memory types"]
9pub const MAX_MEMORY_HEAPS: usize = 16;
10pub const LOD_CLAMP_NONE: f32 = 1000.00;
11pub const REMAINING_MIP_LEVELS: u32 = !0;
12pub const REMAINING_ARRAY_LAYERS: u32 = !0;
13pub const WHOLE_SIZE: u64 = !0;
14pub const ATTACHMENT_UNUSED: u32 = !0;
15pub const TRUE: Bool32 = 1;
16pub const FALSE: Bool32 = 0;
17pub const QUEUE_FAMILY_IGNORED: u32 = !0;
18pub const QUEUE_FAMILY_EXTERNAL: u32 = !1;
19pub const QUEUE_FAMILY_FOREIGN_EXT: u32 = !2;
20pub const SUBPASS_EXTERNAL: u32 = !0;
21pub const MAX_DEVICE_GROUP_SIZE: usize = 32;
22pub const MAX_DRIVER_NAME_SIZE: usize = 256;
23pub const MAX_DRIVER_INFO_SIZE: usize = 256;
24pub const SHADER_UNUSED_KHR: u32 = !0;
25pub const MAX_GLOBAL_PRIORITY_SIZE_KHR: usize = 16;
26pub const SHADER_UNUSED_NV: u32 = SHADER_UNUSED_KHR;