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 REMAINING_3D_SLICES_EXT: u32 = !0;
14pub const WHOLE_SIZE: u64 = !0;
15pub const ATTACHMENT_UNUSED: u32 = !0;
16pub const TRUE: Bool32 = 1;
17pub const FALSE: Bool32 = 0;
18pub const QUEUE_FAMILY_IGNORED: u32 = !0;
19pub const QUEUE_FAMILY_EXTERNAL: u32 = !1;
20pub const QUEUE_FAMILY_FOREIGN_EXT: u32 = !2;
21pub const SUBPASS_EXTERNAL: u32 = !0;
22pub const MAX_DEVICE_GROUP_SIZE: usize = 32;
23pub const MAX_DRIVER_NAME_SIZE: usize = 256;
24pub const MAX_DRIVER_INFO_SIZE: usize = 256;
25pub const SHADER_UNUSED_KHR: u32 = !0;
26pub const MAX_GLOBAL_PRIORITY_SIZE_KHR: usize = 16;
27pub const MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT: usize = 32;
28pub const MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR: usize = 7;
29pub const SHADER_INDEX_UNUSED_AMDX: u32 = !0;
30pub const SHADER_UNUSED_NV: u32 = SHADER_UNUSED_KHR;