diff --git a/README.md b/README.md index 78caa0a..b0a9075 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ Platform support: For those interested in performance, we did a comprehensive benchmarks of Dota2 and Dolphin Emulator on macOS. Results were published to gfx-rs blog [here](https://gfx-rs.github.io/2018/08/10/dota2-macos-performance.html) and [there](https://gfx-rs.github.io/2019/03/22/dolphin-macos-performance.html). +For the extension support, see `INSTANCE_EXTENSIONS` and `DEVICE_EXTENSIONS` in the code. + ## Showcase ### [Dota2](https://github.com/ValveSoftware/Dota-2): diff --git a/libportability-gfx/src/impls.rs b/libportability-gfx/src/impls.rs index 303e929..dcc7968 100644 --- a/libportability-gfx/src/impls.rs +++ b/libportability-gfx/src/impls.rs @@ -19,7 +19,7 @@ use std::{ ffi::{CStr, CString}, mem, os::raw::{c_int, c_void}, - ptr, str, + ptr, }; const VERSION: (u32, u32, u32) = (1, 0, 66); @@ -311,6 +311,11 @@ pub unsafe extern "C" fn gfxGetPhysicalDeviceFeatures2KHR( } data.pNext } + VkStructureType::VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR => { + let data = (ptr as *mut VkPhysicalDeviceImagelessFramebufferFeaturesKHR).as_mut().unwrap(); + data.imagelessFramebuffer = true; + data.pNext + } other => { warn!("Unrecognized {:?}, skipping", other); (ptr as *const VkBaseStruct).as_ref().unwrap().pNext @@ -592,7 +597,7 @@ pub unsafe extern "C" fn gfxGetInstanceProcAddr( #[inline] pub unsafe extern "C" fn gfxGetDeviceProcAddr( - device: VkDevice, + gpu: VkDevice, pName: *const ::std::os::raw::c_char, ) -> PFN_vkVoidFunction { let name = CStr::from_ptr(pName); @@ -603,22 +608,14 @@ pub unsafe extern "C" fn gfxGetDeviceProcAddr( // Requesting the function pointer to an extensions which is available but not // enabled with an valid device requires returning NULL. - if let Some(device) = device.as_ref() { + if let Some(gpu) = gpu.as_ref() { match name { "vkCreateSwapchainKHR" | "vkDestroySwapchainKHR" | "vkGetSwapchainImagesKHR" | "vkAcquireNextImageKHR" | "vkQueuePresentKHR" => { - let search_name = str::from_utf8( - &VK_KHR_SWAPCHAIN_EXTENSION_NAME[..VK_KHR_SWAPCHAIN_EXTENSION_NAME.len() - 1], - ) - .unwrap(); - if !device - .enabled_extensions - .iter() - .any(|ext| ext == search_name) - { + if !gpu.has_extension(VK_KHR_SWAPCHAIN_EXTENSION_NAME) { return None; } } @@ -1045,6 +1042,10 @@ const DEVICE_EXTENSIONS: &[(&'static [u8], u32)] = &[ VK_EXT_DEBUG_MARKER_EXTENSION_NAME, VK_EXT_DEBUG_MARKER_SPEC_VERSION, ), + ( + VK_KHR_IMAGELESS_FRAMEBUFFER_EXTENSION_NAME, + VK_KHR_IMAGELESS_FRAMEBUFFER_SPEC_VERSION, + ), ( VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME, VK_KHR_PORTABILITY_SUBSET_SPEC_VERSION, @@ -3031,19 +3032,55 @@ pub unsafe extern "C" fn gfxCreateFramebuffer( depth: info.layers, }; - let attachments_slice = make_slice(info.pAttachments, info.attachmentCount as _); - let framebuffer = Framebuffer { - raw: match gpu.device.create_framebuffer( - &*info.renderPass, - attachments_slice - .iter() - .map(|attachment| attachment.framebuffer_attachment()), - extent, - ) { - Ok(fbo) => fbo, - Err(oom) => return map_oom(oom), - }, - image_views: attachments_slice.to_vec(), + let framebuffer = if info.flags & VkFramebufferCreateFlagBits::VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR as u32 != 0 { + let mut ptr = pCreateInfo as *const VkStructureType; + let mut raw_attachment_infos = &[][..]; + while !ptr.is_null() { + ptr = match *ptr { + VkStructureType::VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR => { + let data = (ptr as *const VkFramebufferAttachmentsCreateInfoKHR).as_ref().unwrap(); + raw_attachment_infos = make_slice(data.pAttachmentImageInfos, data.attachmentImageInfoCount as usize); + data.pNext + } + other => { + warn!("Unrecognized {:?}, skipping", other); + (ptr as *const VkBaseStruct).as_ref().unwrap().pNext + } + } as *const VkStructureType; + } + Framebuffer { + raw: match gpu.device.create_framebuffer( + &*info.renderPass, + raw_attachment_infos + .iter() + .map(|ai| hal::image::FramebufferAttachment { + usage: conv::map_image_usage(ai.usage), + view_caps: conv::map_image_create_flags(ai.flags), + //TODO: properly support view format lists! + format: ai.pViewFormats.as_ref().cloned().and_then(conv::map_format).unwrap(), + }), + extent, + ) { + Ok(fbo) => fbo, + Err(oom) => return map_oom(oom), + }, + image_views: None, + } + } else { + let attachments_slice = make_slice(info.pAttachments, info.attachmentCount as _); + Framebuffer { + raw: match gpu.device.create_framebuffer( + &*info.renderPass, + attachments_slice + .iter() + .map(|attachment| attachment.framebuffer_attachment()), + extent, + ) { + Ok(fbo) => fbo, + Err(oom) => return map_oom(oom), + }, + image_views: Some(attachments_slice.to_vec().into_boxed_slice()), + } }; *pFramebuffer = Handle::new(framebuffer); @@ -4142,6 +4179,28 @@ pub unsafe extern "C" fn gfxCmdBeginRenderPass( w: info.renderArea.extent.width as _, h: info.renderArea.extent.height as _, }; + let image_views = match info.framebuffer.image_views { + Some(ref image_views) => &image_views[..], + None => { + let mut image_views = &[][..]; + let mut ptr = pRenderPassBegin as *const VkStructureType; + while !ptr.is_null() { + ptr = match *ptr { + VkStructureType::VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR => { + let data = (ptr as *const VkRenderPassAttachmentBeginInfoKHR).as_ref().unwrap(); + image_views = make_slice(data.pAttachments, data.attachmentCount as usize); + data.pNext + } + other => { + warn!("Unrecognized {:?}, skipping", other); + (ptr as *const VkBaseStruct).as_ref().unwrap().pNext + } + } as *const VkStructureType; + } + image_views + } + }; + // gfx-hal expects exactly one clear value for an attachment that needs // to be cleared, while Vulkan has gaps. let clear_values_slice = make_slice(info.pClearValues, info.clearValueCount as _); @@ -4150,24 +4209,22 @@ pub unsafe extern "C" fn gfxCmdBeginRenderPass( // HAL and Vulkan clear value union sharing same memory representation .map(|cv| mem::transmute::<_, com::ClearValue>(*cv)) .chain((info.clearValueCount..).map(|_| hal::command::ClearValue::default())); - let attachments = - info.framebuffer - .image_views - .iter() - .zip(clear_values) - .map(|(view, clear_value)| hal::command::RenderAttachmentInfo { - image_view: match **view { - ImageView::Native { ref raw, .. } => raw, - ImageView::SwapchainFrame { - ref swapchain, - frame, - } => swapchain.active[frame as usize] - .as_ref() - .expect("Swapchain frame is not acquired!") - .borrow(), - }, - clear_value, - }); + let attachments = image_views + .iter() + .zip(clear_values) + .map(|(view, clear_value)| hal::command::RenderAttachmentInfo { + image_view: match **view { + ImageView::Native { ref raw, .. } => raw, + ImageView::SwapchainFrame { + ref swapchain, + frame, + } => swapchain.active[frame as usize] + .as_ref() + .expect("Swapchain frame is not acquired!") + .borrow(), + }, + clear_value, + }); let contents = conv::map_subpass_contents(contents); commandBuffer.begin_render_pass( diff --git a/libportability-gfx/src/lib.rs b/libportability-gfx/src/lib.rs index fdaf131..3fcc622 100644 --- a/libportability-gfx/src/lib.rs +++ b/libportability-gfx/src/lib.rs @@ -43,7 +43,7 @@ use crate::{ handle::{DispatchHandle, Handle}, }; -use std::{cell::Cell, collections::HashMap, slice}; +use std::{cell::Cell, collections::HashMap, os::raw, slice}; pub use crate::impls::*; @@ -92,6 +92,12 @@ pub struct Gpu { capturing: *mut (), } +impl Gpu { + fn has_extension(&self, extension: &[u8]) -> bool { + self.enabled_extensions.iter().any(|ext| ext.as_bytes() == &extension[..extension.len() - 1]) + } +} + pub struct Queue { raw: B::CommandQueue, temp_semaphores: Vec<(VkPipelineStageFlags, VkSemaphore)>, @@ -171,7 +177,8 @@ impl ImageView { pub struct Framebuffer { raw: ::Framebuffer, - image_views: Vec, + // If none, the VkFramebuffer is image-less + image_views: Option>, } pub struct Semaphore { @@ -210,314 +217,316 @@ pub struct Swapchain { /* automatically generated by rust-bindgen */ -pub const VULKAN_H_: ::std::os::raw::c_uint = 1; -pub const VK_VERSION_1_0: ::std::os::raw::c_uint = 1; -pub const _STDINT_H: ::std::os::raw::c_uint = 1; -pub const _FEATURES_H: ::std::os::raw::c_uint = 1; -pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1; -pub const __USE_ISOC11: ::std::os::raw::c_uint = 1; -pub const __USE_ISOC99: ::std::os::raw::c_uint = 1; -pub const __USE_ISOC95: ::std::os::raw::c_uint = 1; -pub const __USE_POSIX_IMPLICITLY: ::std::os::raw::c_uint = 1; -pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1; -pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809; -pub const __USE_POSIX: ::std::os::raw::c_uint = 1; -pub const __USE_POSIX2: ::std::os::raw::c_uint = 1; -pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1; -pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1; -pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1; -pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1; -pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1; -pub const __USE_MISC: ::std::os::raw::c_uint = 1; -pub const __USE_ATFILE: ::std::os::raw::c_uint = 1; -pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0; -pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1; -pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1; -pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1; -pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201605; -pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1; -pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6; -pub const __GLIBC__: ::std::os::raw::c_uint = 2; -pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 25; -pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1; -pub const __glibc_c99_flexarr_available: ::std::os::raw::c_uint = 1; -pub const __WORDSIZE: ::std::os::raw::c_uint = 64; -pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1; -pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64; -pub const __GLIBC_USE_LIB_EXT2: ::std::os::raw::c_uint = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: ::std::os::raw::c_uint = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: ::std::os::raw::c_uint = 0; -pub const _BITS_TYPES_H: ::std::os::raw::c_uint = 1; -pub const _BITS_TYPESIZES_H: ::std::os::raw::c_uint = 1; -pub const __OFF_T_MATCHES_OFF64_T: ::std::os::raw::c_uint = 1; -pub const __INO_T_MATCHES_INO64_T: ::std::os::raw::c_uint = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: ::std::os::raw::c_uint = 1; -pub const __FD_SETSIZE: ::std::os::raw::c_uint = 1024; -pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1; -pub const INT8_MIN: ::std::os::raw::c_int = -128; -pub const INT16_MIN: ::std::os::raw::c_int = -32768; -pub const INT32_MIN: ::std::os::raw::c_int = -2147483648; -pub const INT8_MAX: ::std::os::raw::c_uint = 127; -pub const INT16_MAX: ::std::os::raw::c_uint = 32767; -pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647; -pub const UINT8_MAX: ::std::os::raw::c_uint = 255; -pub const UINT16_MAX: ::std::os::raw::c_uint = 65535; -pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295; -pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128; -pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768; -pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648; -pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127; -pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767; -pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647; -pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255; -pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535; -pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295; -pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128; -pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808; -pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808; -pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127; -pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; -pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; -pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255; -pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1; -pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1; -pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808; -pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; -pub const UINTPTR_MAX: ::std::os::raw::c_int = -1; -pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808; -pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; -pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648; -pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647; -pub const SIZE_MAX: ::std::os::raw::c_int = -1; -pub const WINT_MIN: ::std::os::raw::c_uint = 0; -pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295; -pub const VK_HEADER_VERSION: ::std::os::raw::c_uint = 42; -pub const VK_NULL_HANDLE: ::std::os::raw::c_uint = 0; +pub const VULKAN_H_: raw::c_uint = 1; +pub const VK_VERSION_1_0: raw::c_uint = 1; +pub const _STDINT_H: raw::c_uint = 1; +pub const _FEATURES_H: raw::c_uint = 1; +pub const _DEFAULT_SOURCE: raw::c_uint = 1; +pub const __USE_ISOC11: raw::c_uint = 1; +pub const __USE_ISOC99: raw::c_uint = 1; +pub const __USE_ISOC95: raw::c_uint = 1; +pub const __USE_POSIX_IMPLICITLY: raw::c_uint = 1; +pub const _POSIX_SOURCE: raw::c_uint = 1; +pub const _POSIX_C_SOURCE: raw::c_uint = 200809; +pub const __USE_POSIX: raw::c_uint = 1; +pub const __USE_POSIX2: raw::c_uint = 1; +pub const __USE_POSIX199309: raw::c_uint = 1; +pub const __USE_POSIX199506: raw::c_uint = 1; +pub const __USE_XOPEN2K: raw::c_uint = 1; +pub const __USE_XOPEN2K8: raw::c_uint = 1; +pub const _ATFILE_SOURCE: raw::c_uint = 1; +pub const __USE_MISC: raw::c_uint = 1; +pub const __USE_ATFILE: raw::c_uint = 1; +pub const __USE_FORTIFY_LEVEL: raw::c_uint = 0; +pub const _STDC_PREDEF_H: raw::c_uint = 1; +pub const __STDC_IEC_559__: raw::c_uint = 1; +pub const __STDC_IEC_559_COMPLEX__: raw::c_uint = 1; +pub const __STDC_ISO_10646__: raw::c_uint = 201605; +pub const __STDC_NO_THREADS__: raw::c_uint = 1; +pub const __GNU_LIBRARY__: raw::c_uint = 6; +pub const __GLIBC__: raw::c_uint = 2; +pub const __GLIBC_MINOR__: raw::c_uint = 25; +pub const _SYS_CDEFS_H: raw::c_uint = 1; +pub const __glibc_c99_flexarr_available: raw::c_uint = 1; +pub const __WORDSIZE: raw::c_uint = 64; +pub const __WORDSIZE_TIME64_COMPAT32: raw::c_uint = 1; +pub const __SYSCALL_WORDSIZE: raw::c_uint = 64; +pub const __GLIBC_USE_LIB_EXT2: raw::c_uint = 0; +pub const __GLIBC_USE_IEC_60559_BFP_EXT: raw::c_uint = 0; +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: raw::c_uint = 0; +pub const _BITS_TYPES_H: raw::c_uint = 1; +pub const _BITS_TYPESIZES_H: raw::c_uint = 1; +pub const __OFF_T_MATCHES_OFF64_T: raw::c_uint = 1; +pub const __INO_T_MATCHES_INO64_T: raw::c_uint = 1; +pub const __RLIM_T_MATCHES_RLIM64_T: raw::c_uint = 1; +pub const __FD_SETSIZE: raw::c_uint = 1024; +pub const _BITS_WCHAR_H: raw::c_uint = 1; +pub const INT8_MIN: raw::c_int = -128; +pub const INT16_MIN: raw::c_int = -32768; +pub const INT32_MIN: raw::c_int = -2147483648; +pub const INT8_MAX: raw::c_uint = 127; +pub const INT16_MAX: raw::c_uint = 32767; +pub const INT32_MAX: raw::c_uint = 2147483647; +pub const UINT8_MAX: raw::c_uint = 255; +pub const UINT16_MAX: raw::c_uint = 65535; +pub const UINT32_MAX: raw::c_uint = 4294967295; +pub const INT_LEAST8_MIN: raw::c_int = -128; +pub const INT_LEAST16_MIN: raw::c_int = -32768; +pub const INT_LEAST32_MIN: raw::c_int = -2147483648; +pub const INT_LEAST8_MAX: raw::c_uint = 127; +pub const INT_LEAST16_MAX: raw::c_uint = 32767; +pub const INT_LEAST32_MAX: raw::c_uint = 2147483647; +pub const UINT_LEAST8_MAX: raw::c_uint = 255; +pub const UINT_LEAST16_MAX: raw::c_uint = 65535; +pub const UINT_LEAST32_MAX: raw::c_uint = 4294967295; +pub const INT_FAST8_MIN: raw::c_int = -128; +pub const INT_FAST16_MIN: raw::c_longlong = -9223372036854775808; +pub const INT_FAST32_MIN: raw::c_longlong = -9223372036854775808; +pub const INT_FAST8_MAX: raw::c_uint = 127; +pub const INT_FAST16_MAX: raw::c_ulonglong = 9223372036854775807; +pub const INT_FAST32_MAX: raw::c_ulonglong = 9223372036854775807; +pub const UINT_FAST8_MAX: raw::c_uint = 255; +pub const UINT_FAST16_MAX: raw::c_int = -1; +pub const UINT_FAST32_MAX: raw::c_int = -1; +pub const INTPTR_MIN: raw::c_longlong = -9223372036854775808; +pub const INTPTR_MAX: raw::c_ulonglong = 9223372036854775807; +pub const UINTPTR_MAX: raw::c_int = -1; +pub const PTRDIFF_MIN: raw::c_longlong = -9223372036854775808; +pub const PTRDIFF_MAX: raw::c_ulonglong = 9223372036854775807; +pub const SIG_ATOMIC_MIN: raw::c_int = -2147483648; +pub const SIG_ATOMIC_MAX: raw::c_uint = 2147483647; +pub const SIZE_MAX: raw::c_int = -1; +pub const WINT_MIN: raw::c_uint = 0; +pub const WINT_MAX: raw::c_uint = 4294967295; +pub const VK_HEADER_VERSION: raw::c_uint = 42; +pub const VK_NULL_HANDLE: raw::c_uint = 0; pub const VK_LOD_CLAMP_NONE: f64 = 1000.; -pub const VK_REMAINING_MIP_LEVELS: ::std::os::raw::c_int = -1; -pub const VK_REMAINING_ARRAY_LAYERS: ::std::os::raw::c_int = -1; -pub const VK_WHOLE_SIZE: ::std::os::raw::c_int = -1; -pub const VK_ATTACHMENT_UNUSED: ::std::os::raw::c_int = -1; -pub const VK_TRUE: ::std::os::raw::c_uint = 1; -pub const VK_FALSE: ::std::os::raw::c_uint = 0; -pub const VK_QUEUE_FAMILY_IGNORED: ::std::os::raw::c_int = -1; -pub const VK_SUBPASS_EXTERNAL: ::std::os::raw::c_int = -1; -pub const VK_MAX_PHYSICAL_DEVICE_NAME_SIZE: ::std::os::raw::c_uint = 256; -pub const VK_UUID_SIZE: ::std::os::raw::c_uint = 16; -pub const VK_MAX_MEMORY_TYPES: ::std::os::raw::c_uint = 32; -pub const VK_MAX_MEMORY_HEAPS: ::std::os::raw::c_uint = 16; -pub const VK_MAX_EXTENSION_NAME_SIZE: ::std::os::raw::c_uint = 256; -pub const VK_MAX_DESCRIPTION_SIZE: ::std::os::raw::c_uint = 256; -pub const VK_KHR_surface: ::std::os::raw::c_uint = 1; -pub const VK_KHR_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 25; +pub const VK_REMAINING_MIP_LEVELS: raw::c_int = -1; +pub const VK_REMAINING_ARRAY_LAYERS: raw::c_int = -1; +pub const VK_WHOLE_SIZE: raw::c_int = -1; +pub const VK_ATTACHMENT_UNUSED: raw::c_int = -1; +pub const VK_TRUE: raw::c_uint = 1; +pub const VK_FALSE: raw::c_uint = 0; +pub const VK_QUEUE_FAMILY_IGNORED: raw::c_int = -1; +pub const VK_SUBPASS_EXTERNAL: raw::c_int = -1; +pub const VK_MAX_PHYSICAL_DEVICE_NAME_SIZE: raw::c_uint = 256; +pub const VK_UUID_SIZE: raw::c_uint = 16; +pub const VK_MAX_MEMORY_TYPES: raw::c_uint = 32; +pub const VK_MAX_MEMORY_HEAPS: raw::c_uint = 16; +pub const VK_MAX_EXTENSION_NAME_SIZE: raw::c_uint = 256; +pub const VK_MAX_DESCRIPTION_SIZE: raw::c_uint = 256; +pub const VK_KHR_surface: raw::c_uint = 1; +pub const VK_KHR_SURFACE_SPEC_VERSION: raw::c_uint = 25; pub const VK_KHR_SURFACE_EXTENSION_NAME: &'static [u8; 15usize] = b"VK_KHR_surface\x00"; -pub const VK_KHR_XLIB_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 6; -pub const VK_KHR_XCB_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 6; -pub const VK_KHR_WIN32_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 6; -pub const VK_MVK_MACOS_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 2; +pub const VK_KHR_XLIB_SURFACE_SPEC_VERSION: raw::c_uint = 6; +pub const VK_KHR_XCB_SURFACE_SPEC_VERSION: raw::c_uint = 6; +pub const VK_KHR_WIN32_SURFACE_SPEC_VERSION: raw::c_uint = 6; +pub const VK_MVK_MACOS_SURFACE_SPEC_VERSION: raw::c_uint = 2; pub const VK_KHR_XLIB_SURFACE_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_KHR_xlib_surface\x00"; pub const VK_KHR_XCB_SURFACE_EXTENSION_NAME: &'static [u8; 19usize] = b"VK_KHR_xcb_surface\x00"; pub const VK_KHR_WIN32_SURFACE_EXTENSION_NAME: &'static [u8; 21usize] = b"VK_KHR_win32_surface\x00"; pub const VK_MVK_MACOS_SURFACE_EXTENSION_NAME: &'static [u8; 21usize] = b"VK_MVK_macos_surface\x00"; pub const VK_EXT_METAL_SURFACE_EXTENSION_NAME: &'static [u8; 21usize] = b"VK_EXT_metal_surface\x00"; -pub const VK_EXT_METAL_SURFACE_SPEC_VERSION: ::std::os::raw::c_uint = 1; -pub const VK_KHR_swapchain: ::std::os::raw::c_uint = 1; -pub const VK_KHR_SWAPCHAIN_SPEC_VERSION: ::std::os::raw::c_uint = 68; +pub const VK_EXT_METAL_SURFACE_SPEC_VERSION: raw::c_uint = 1; +pub const VK_KHR_swapchain: raw::c_uint = 1; +pub const VK_KHR_SWAPCHAIN_SPEC_VERSION: raw::c_uint = 68; pub const VK_KHR_SWAPCHAIN_EXTENSION_NAME: &'static [u8; 17usize] = b"VK_KHR_swapchain\x00"; -pub const VK_KHR_display: ::std::os::raw::c_uint = 1; -pub const VK_KHR_DISPLAY_SPEC_VERSION: ::std::os::raw::c_uint = 21; +pub const VK_KHR_display: raw::c_uint = 1; +pub const VK_KHR_DISPLAY_SPEC_VERSION: raw::c_uint = 21; pub const VK_KHR_DISPLAY_EXTENSION_NAME: &'static [u8; 15usize] = b"VK_KHR_display\x00"; -pub const VK_KHR_display_swapchain: ::std::os::raw::c_uint = 1; -pub const VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION: ::std::os::raw::c_uint = 9; +pub const VK_KHR_display_swapchain: raw::c_uint = 1; +pub const VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION: raw::c_uint = 9; pub const VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME: &'static [u8; 25usize] = b"VK_KHR_display_swapchain\x00"; -pub const VK_KHR_sampler_mirror_clamp_to_edge: ::std::os::raw::c_uint = 1; -pub const VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_sampler_mirror_clamp_to_edge: raw::c_uint = 1; +pub const VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME: &'static [u8; 36usize] = b"VK_KHR_sampler_mirror_clamp_to_edge\x00"; -pub const VK_KHR_get_physical_device_properties2: ::std::os::raw::c_uint = 1; -pub const VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION: ::std::os::raw::c_uint = 2; +pub const VK_KHR_get_physical_device_properties2: raw::c_uint = 1; +pub const VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION: raw::c_uint = 2; pub const VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME: &'static [u8; 39usize] = b"VK_KHR_get_physical_device_properties2\x00"; -pub const VK_KHR_get_surface_capabilities2: ::std::os::raw::c_uint = 1; -pub const VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_get_surface_capabilities2: raw::c_uint = 1; +pub const VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME: &'static [u8; 33usize] = b"VK_KHR_get_surface_capabilities2\x00"; -pub const VK_KHR_shader_draw_parameters: ::std::os::raw::c_uint = 1; -pub const VK_KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_shader_draw_parameters: raw::c_uint = 1; +pub const VK_KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME: &'static [u8; 30usize] = b"VK_KHR_shader_draw_parameters\x00"; -pub const VK_KHR_maintenance1: ::std::os::raw::c_uint = 1; -pub const VK_KHR_MAINTENANCE1_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_maintenance1: raw::c_uint = 1; +pub const VK_KHR_MAINTENANCE1_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_MAINTENANCE1_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_KHR_maintenance1\x00"; -pub const VK_KHR_push_descriptor: ::std::os::raw::c_uint = 1; -pub const VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_push_descriptor: raw::c_uint = 1; +pub const VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME: &'static [u8; 23usize] = b"VK_KHR_push_descriptor\x00"; -pub const VK_KHR_descriptor_update_template: ::std::os::raw::c_uint = 1; -pub const VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_descriptor_update_template: raw::c_uint = 1; +pub const VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME: &'static [u8; 34usize] = b"VK_KHR_descriptor_update_template\x00"; -pub const VK_EXT_debug_report: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DEBUG_REPORT_SPEC_VERSION: ::std::os::raw::c_uint = 5; +pub const VK_EXT_debug_report: raw::c_uint = 1; +pub const VK_EXT_DEBUG_REPORT_SPEC_VERSION: raw::c_uint = 5; pub const VK_EXT_DEBUG_REPORT_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_EXT_debug_report\x00"; -pub const VK_NV_glsl_shader: ::std::os::raw::c_uint = 1; -pub const VK_NV_GLSL_SHADER_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_glsl_shader: raw::c_uint = 1; +pub const VK_NV_GLSL_SHADER_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_GLSL_SHADER_EXTENSION_NAME: &'static [u8; 18usize] = b"VK_NV_glsl_shader\x00"; -pub const VK_IMG_filter_cubic: ::std::os::raw::c_uint = 1; -pub const VK_IMG_FILTER_CUBIC_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_IMG_filter_cubic: raw::c_uint = 1; +pub const VK_IMG_FILTER_CUBIC_SPEC_VERSION: raw::c_uint = 1; pub const VK_IMG_FILTER_CUBIC_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_IMG_filter_cubic\x00"; -pub const VK_AMD_rasterization_order: ::std::os::raw::c_uint = 1; -pub const VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_rasterization_order: raw::c_uint = 1; +pub const VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_RASTERIZATION_ORDER_EXTENSION_NAME: &'static [u8; 27usize] = b"VK_AMD_rasterization_order\x00"; -pub const VK_AMD_shader_trinary_minmax: ::std::os::raw::c_uint = 1; -pub const VK_AMD_SHADER_TRINARY_MINMAX_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_shader_trinary_minmax: raw::c_uint = 1; +pub const VK_AMD_SHADER_TRINARY_MINMAX_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_SHADER_TRINARY_MINMAX_EXTENSION_NAME: &'static [u8; 29usize] = b"VK_AMD_shader_trinary_minmax\x00"; -pub const VK_AMD_shader_explicit_vertex_parameter: ::std::os::raw::c_uint = 1; -pub const VK_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_shader_explicit_vertex_parameter: raw::c_uint = 1; +pub const VK_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_EXTENSION_NAME: &'static [u8; 40usize] = b"VK_AMD_shader_explicit_vertex_parameter\x00"; -pub const VK_EXT_debug_marker: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DEBUG_MARKER_SPEC_VERSION: ::std::os::raw::c_uint = 4; +pub const VK_EXT_debug_marker: raw::c_uint = 1; +pub const VK_EXT_DEBUG_MARKER_SPEC_VERSION: raw::c_uint = 4; pub const VK_EXT_DEBUG_MARKER_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_EXT_debug_marker\x00"; -pub const VK_AMD_gcn_shader: ::std::os::raw::c_uint = 1; -pub const VK_AMD_GCN_SHADER_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_gcn_shader: raw::c_uint = 1; +pub const VK_AMD_GCN_SHADER_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_GCN_SHADER_EXTENSION_NAME: &'static [u8; 18usize] = b"VK_AMD_gcn_shader\x00"; -pub const VK_NV_dedicated_allocation: ::std::os::raw::c_uint = 1; -pub const VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_dedicated_allocation: raw::c_uint = 1; +pub const VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_DEDICATED_ALLOCATION_EXTENSION_NAME: &'static [u8; 27usize] = b"VK_NV_dedicated_allocation\x00"; -pub const VK_AMD_draw_indirect_count: ::std::os::raw::c_uint = 1; -pub const VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_draw_indirect_count: raw::c_uint = 1; +pub const VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME: &'static [u8; 27usize] = b"VK_AMD_draw_indirect_count\x00"; -pub const VK_AMD_negative_viewport_height: ::std::os::raw::c_uint = 1; -pub const VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_negative_viewport_height: raw::c_uint = 1; +pub const VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME: &'static [u8; 32usize] = b"VK_AMD_negative_viewport_height\x00"; -pub const VK_AMD_gpu_shader_half_float: ::std::os::raw::c_uint = 1; -pub const VK_AMD_GPU_SHADER_HALF_FLOAT_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_gpu_shader_half_float: raw::c_uint = 1; +pub const VK_AMD_GPU_SHADER_HALF_FLOAT_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_GPU_SHADER_HALF_FLOAT_EXTENSION_NAME: &'static [u8; 29usize] = b"VK_AMD_gpu_shader_half_float\x00"; -pub const VK_AMD_shader_ballot: ::std::os::raw::c_uint = 1; -pub const VK_AMD_SHADER_BALLOT_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_AMD_shader_ballot: raw::c_uint = 1; +pub const VK_AMD_SHADER_BALLOT_SPEC_VERSION: raw::c_uint = 1; pub const VK_AMD_SHADER_BALLOT_EXTENSION_NAME: &'static [u8; 21usize] = b"VK_AMD_shader_ballot\x00"; -pub const VK_KHX_multiview: ::std::os::raw::c_uint = 1; -pub const VK_KHX_MULTIVIEW_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_multiview: raw::c_uint = 1; +pub const VK_KHX_MULTIVIEW_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_MULTIVIEW_EXTENSION_NAME: &'static [u8; 17usize] = b"VK_KHX_multiview\x00"; -pub const VK_IMG_format_pvrtc: ::std::os::raw::c_uint = 1; -pub const VK_IMG_FORMAT_PVRTC_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_IMG_format_pvrtc: raw::c_uint = 1; +pub const VK_IMG_FORMAT_PVRTC_SPEC_VERSION: raw::c_uint = 1; pub const VK_IMG_FORMAT_PVRTC_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_IMG_format_pvrtc\x00"; -pub const VK_NV_external_memory_capabilities: ::std::os::raw::c_uint = 1; -pub const VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_external_memory_capabilities: raw::c_uint = 1; +pub const VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME: &'static [u8; 35usize] = b"VK_NV_external_memory_capabilities\x00"; -pub const VK_NV_external_memory: ::std::os::raw::c_uint = 1; -pub const VK_NV_EXTERNAL_MEMORY_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_external_memory: raw::c_uint = 1; +pub const VK_NV_EXTERNAL_MEMORY_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_EXTERNAL_MEMORY_EXTENSION_NAME: &'static [u8; 22usize] = b"VK_NV_external_memory\x00"; -pub const VK_KHX_device_group: ::std::os::raw::c_uint = 1; -pub const VK_MAX_DEVICE_GROUP_SIZE_KHX: ::std::os::raw::c_uint = 32; -pub const VK_KHX_DEVICE_GROUP_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_device_group: raw::c_uint = 1; +pub const VK_MAX_DEVICE_GROUP_SIZE_KHX: raw::c_uint = 32; +pub const VK_KHX_DEVICE_GROUP_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_DEVICE_GROUP_EXTENSION_NAME: &'static [u8; 20usize] = b"VK_KHX_device_group\x00"; -pub const VK_EXT_validation_flags: ::std::os::raw::c_uint = 1; -pub const VK_EXT_VALIDATION_FLAGS_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_validation_flags: raw::c_uint = 1; +pub const VK_EXT_VALIDATION_FLAGS_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_VALIDATION_FLAGS_EXTENSION_NAME: &'static [u8; 24usize] = b"VK_EXT_validation_flags\x00"; -pub const VK_EXT_shader_subgroup_ballot: ::std::os::raw::c_uint = 1; -pub const VK_EXT_SHADER_SUBGROUP_BALLOT_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_shader_subgroup_ballot: raw::c_uint = 1; +pub const VK_EXT_SHADER_SUBGROUP_BALLOT_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_SHADER_SUBGROUP_BALLOT_EXTENSION_NAME: &'static [u8; 30usize] = b"VK_EXT_shader_subgroup_ballot\x00"; -pub const VK_EXT_shader_subgroup_vote: ::std::os::raw::c_uint = 1; -pub const VK_EXT_SHADER_SUBGROUP_VOTE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_shader_subgroup_vote: raw::c_uint = 1; +pub const VK_EXT_SHADER_SUBGROUP_VOTE_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_SHADER_SUBGROUP_VOTE_EXTENSION_NAME: &'static [u8; 28usize] = b"VK_EXT_shader_subgroup_vote\x00"; -pub const VK_KHX_device_group_creation: ::std::os::raw::c_uint = 1; -pub const VK_KHX_DEVICE_GROUP_CREATION_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_device_group_creation: raw::c_uint = 1; +pub const VK_KHX_DEVICE_GROUP_CREATION_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_DEVICE_GROUP_CREATION_EXTENSION_NAME: &'static [u8; 29usize] = b"VK_KHX_device_group_creation\x00"; -pub const VK_KHX_external_memory_capabilities: ::std::os::raw::c_uint = 1; -pub const VK_LUID_SIZE_KHX: ::std::os::raw::c_uint = 8; -pub const VK_KHX_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_external_memory_capabilities: raw::c_uint = 1; +pub const VK_LUID_SIZE_KHX: raw::c_uint = 8; +pub const VK_KHX_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME: &'static [u8; 36usize] = b"VK_KHX_external_memory_capabilities\x00"; -pub const VK_KHX_external_memory: ::std::os::raw::c_uint = 1; -pub const VK_KHX_EXTERNAL_MEMORY_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_external_memory: raw::c_uint = 1; +pub const VK_KHX_EXTERNAL_MEMORY_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_MEMORY_EXTENSION_NAME: &'static [u8; 23usize] = b"VK_KHX_external_memory\x00"; -pub const VK_QUEUE_FAMILY_EXTERNAL_KHX: ::std::os::raw::c_int = -2; -pub const VK_KHX_external_memory_fd: ::std::os::raw::c_uint = 1; -pub const VK_KHX_EXTERNAL_MEMORY_FD_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_QUEUE_FAMILY_EXTERNAL_KHX: raw::c_int = -2; +pub const VK_KHX_external_memory_fd: raw::c_uint = 1; +pub const VK_KHX_EXTERNAL_MEMORY_FD_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_MEMORY_FD_EXTENSION_NAME: &'static [u8; 26usize] = b"VK_KHX_external_memory_fd\x00"; -pub const VK_KHX_external_semaphore_capabilities: ::std::os::raw::c_uint = 1; -pub const VK_KHX_EXTERNAL_SEMAPHORE_CAPABILITIES_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_external_semaphore_capabilities: raw::c_uint = 1; +pub const VK_KHX_EXTERNAL_SEMAPHORE_CAPABILITIES_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME: &'static [u8; 39usize] = b"VK_KHX_external_semaphore_capabilities\x00"; -pub const VK_KHX_external_semaphore: ::std::os::raw::c_uint = 1; -pub const VK_KHX_EXTERNAL_SEMAPHORE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_external_semaphore: raw::c_uint = 1; +pub const VK_KHX_EXTERNAL_SEMAPHORE_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_SEMAPHORE_EXTENSION_NAME: &'static [u8; 26usize] = b"VK_KHX_external_semaphore\x00"; -pub const VK_KHX_external_semaphore_fd: ::std::os::raw::c_uint = 1; -pub const VK_KHX_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHX_external_semaphore_fd: raw::c_uint = 1; +pub const VK_KHX_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHX_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME: &'static [u8; 29usize] = b"VK_KHX_external_semaphore_fd\x00"; -pub const VK_NVX_device_generated_commands: ::std::os::raw::c_uint = 1; -pub const VK_NVX_DEVICE_GENERATED_COMMANDS_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NVX_device_generated_commands: raw::c_uint = 1; +pub const VK_NVX_DEVICE_GENERATED_COMMANDS_SPEC_VERSION: raw::c_uint = 1; pub const VK_NVX_DEVICE_GENERATED_COMMANDS_EXTENSION_NAME: &'static [u8; 33usize] = b"VK_NVX_device_generated_commands\x00"; -pub const VK_NV_clip_space_w_scaling: ::std::os::raw::c_uint = 1; -pub const VK_NV_CLIP_SPACE_W_SCALING_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_clip_space_w_scaling: raw::c_uint = 1; +pub const VK_NV_CLIP_SPACE_W_SCALING_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME: &'static [u8; 27usize] = b"VK_NV_clip_space_w_scaling\x00"; -pub const VK_EXT_direct_mode_display: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_direct_mode_display: raw::c_uint = 1; +pub const VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME: &'static [u8; 27usize] = b"VK_EXT_direct_mode_display\x00"; -pub const VK_EXT_display_surface_counter: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_display_surface_counter: raw::c_uint = 1; +pub const VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME: &'static [u8; 31usize] = b"VK_EXT_display_surface_counter\x00"; -pub const VK_EXT_display_control: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DISPLAY_CONTROL_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_display_control: raw::c_uint = 1; +pub const VK_EXT_DISPLAY_CONTROL_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_DISPLAY_CONTROL_EXTENSION_NAME: &'static [u8; 23usize] = b"VK_EXT_display_control\x00"; -pub const VK_NV_sample_mask_override_coverage: ::std::os::raw::c_uint = 1; -pub const VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_sample_mask_override_coverage: raw::c_uint = 1; +pub const VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME: &'static [u8; 36usize] = b"VK_NV_sample_mask_override_coverage\x00"; -pub const VK_NV_geometry_shader_passthrough: ::std::os::raw::c_uint = 1; -pub const VK_NV_GEOMETRY_SHADER_PASSTHROUGH_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_geometry_shader_passthrough: raw::c_uint = 1; +pub const VK_NV_GEOMETRY_SHADER_PASSTHROUGH_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_GEOMETRY_SHADER_PASSTHROUGH_EXTENSION_NAME: &'static [u8; 34usize] = b"VK_NV_geometry_shader_passthrough\x00"; -pub const VK_NV_viewport_array2: ::std::os::raw::c_uint = 1; -pub const VK_NV_VIEWPORT_ARRAY2_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_viewport_array2: raw::c_uint = 1; +pub const VK_NV_VIEWPORT_ARRAY2_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_VIEWPORT_ARRAY2_EXTENSION_NAME: &'static [u8; 22usize] = b"VK_NV_viewport_array2\x00"; -pub const VK_NVX_multiview_per_view_attributes: ::std::os::raw::c_uint = 1; -pub const VK_NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NVX_multiview_per_view_attributes: raw::c_uint = 1; +pub const VK_NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_SPEC_VERSION: raw::c_uint = 1; pub const VK_NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_EXTENSION_NAME: &'static [u8; 37usize] = b"VK_NVX_multiview_per_view_attributes\x00"; -pub const VK_NV_viewport_swizzle: ::std::os::raw::c_uint = 1; -pub const VK_NV_VIEWPORT_SWIZZLE_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_NV_viewport_swizzle: raw::c_uint = 1; +pub const VK_NV_VIEWPORT_SWIZZLE_SPEC_VERSION: raw::c_uint = 1; pub const VK_NV_VIEWPORT_SWIZZLE_EXTENSION_NAME: &'static [u8; 23usize] = b"VK_NV_viewport_swizzle\x00"; -pub const VK_EXT_discard_rectangles: ::std::os::raw::c_uint = 1; -pub const VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_EXT_discard_rectangles: raw::c_uint = 1; +pub const VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION: raw::c_uint = 1; pub const VK_EXT_DISCARD_RECTANGLES_EXTENSION_NAME: &'static [u8; 26usize] = b"VK_EXT_discard_rectangles\x00"; -pub const VK_KHR_portability_subset: ::std::os::raw::c_uint = 1; -pub const VK_KHR_PORTABILITY_SUBSET_SPEC_VERSION: ::std::os::raw::c_uint = 1; +pub const VK_KHR_portability_subset: raw::c_uint = 1; +pub const VK_KHR_PORTABILITY_SUBSET_SPEC_VERSION: raw::c_uint = 1; pub const VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME: &'static [u8; 26usize] = b"VK_KHR_portability_subset\x00"; +pub const VK_KHR_IMAGELESS_FRAMEBUFFER_SPEC_VERSION: raw::c_uint = 1; +pub const VK_KHR_IMAGELESS_FRAMEBUFFER_EXTENSION_NAME: &'static [u8; 29usize] = b"VK_KHR_imageless_framebuffer\x00"; -pub type wchar_t = ::std::os::raw::c_int; +pub type wchar_t = raw::c_int; #[repr(C)] #[derive(Debug, Copy)] pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, + pub __clang_max_align_nonce1: raw::c_longlong, pub __bindgen_padding_0: u64, pub __clang_max_align_nonce2: f64, } @@ -526,85 +535,85 @@ impl Clone for max_align_t { *self } } -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; -pub type __int8_t = ::std::os::raw::c_schar; -pub type __uint8_t = ::std::os::raw::c_uchar; -pub type __int16_t = ::std::os::raw::c_short; -pub type __uint16_t = ::std::os::raw::c_ushort; -pub type __int32_t = ::std::os::raw::c_int; -pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; +pub type __u_char = raw::c_uchar; +pub type __u_short = raw::c_ushort; +pub type __u_int = raw::c_uint; +pub type __u_long = raw::c_ulong; +pub type __int8_t = raw::c_schar; +pub type __uint8_t = raw::c_uchar; +pub type __int16_t = raw::c_short; +pub type __uint16_t = raw::c_ushort; +pub type __int32_t = raw::c_int; +pub type __uint32_t = raw::c_uint; +pub type __int64_t = raw::c_long; +pub type __uint64_t = raw::c_ulong; +pub type __quad_t = raw::c_long; +pub type __u_quad_t = raw::c_ulong; +pub type __intmax_t = raw::c_long; +pub type __uintmax_t = raw::c_ulong; +pub type __dev_t = raw::c_ulong; +pub type __uid_t = raw::c_uint; +pub type __gid_t = raw::c_uint; +pub type __ino_t = raw::c_ulong; +pub type __ino64_t = raw::c_ulong; +pub type __mode_t = raw::c_uint; +pub type __nlink_t = raw::c_ulong; +pub type __off_t = raw::c_long; +pub type __off64_t = raw::c_long; +pub type __pid_t = raw::c_int; #[repr(C)] #[derive(Debug, Copy)] pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], + pub __val: [raw::c_int; 2usize], } impl Clone for __fsid_t { fn clone(&self) -> Self { *self } } -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; +pub type __clock_t = raw::c_long; +pub type __rlim_t = raw::c_ulong; +pub type __rlim64_t = raw::c_ulong; +pub type __id_t = raw::c_uint; +pub type __time_t = raw::c_long; +pub type __useconds_t = raw::c_uint; +pub type __suseconds_t = raw::c_long; +pub type __daddr_t = raw::c_int; +pub type __key_t = raw::c_int; +pub type __clockid_t = raw::c_int; +pub type __timer_t = *mut raw::c_void; +pub type __blksize_t = raw::c_long; +pub type __blkcnt_t = raw::c_long; +pub type __blkcnt64_t = raw::c_long; +pub type __fsblkcnt_t = raw::c_ulong; +pub type __fsblkcnt64_t = raw::c_ulong; +pub type __fsfilcnt_t = raw::c_ulong; +pub type __fsfilcnt64_t = raw::c_ulong; +pub type __fsword_t = raw::c_long; +pub type __ssize_t = raw::c_long; +pub type __syscall_slong_t = raw::c_long; +pub type __syscall_ulong_t = raw::c_ulong; pub type __loff_t = __off64_t; pub type __qaddr_t = *mut __quad_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type int_least8_t = ::std::os::raw::c_schar; -pub type int_least16_t = ::std::os::raw::c_short; -pub type int_least32_t = ::std::os::raw::c_int; -pub type int_least64_t = ::std::os::raw::c_long; -pub type uint_least8_t = ::std::os::raw::c_uchar; -pub type uint_least16_t = ::std::os::raw::c_ushort; -pub type uint_least32_t = ::std::os::raw::c_uint; -pub type uint_least64_t = ::std::os::raw::c_ulong; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; +pub type __caddr_t = *mut raw::c_char; +pub type __intptr_t = raw::c_long; +pub type __socklen_t = raw::c_uint; +pub type int_least8_t = raw::c_schar; +pub type int_least16_t = raw::c_short; +pub type int_least32_t = raw::c_int; +pub type int_least64_t = raw::c_long; +pub type uint_least8_t = raw::c_uchar; +pub type uint_least16_t = raw::c_ushort; +pub type uint_least32_t = raw::c_uint; +pub type uint_least64_t = raw::c_ulong; +pub type int_fast8_t = raw::c_schar; +pub type int_fast16_t = raw::c_long; +pub type int_fast32_t = raw::c_long; +pub type int_fast64_t = raw::c_long; +pub type uint_fast8_t = raw::c_uchar; +pub type uint_fast16_t = raw::c_ulong; +pub type uint_fast32_t = raw::c_ulong; +pub type uint_fast64_t = raw::c_ulong; pub type intmax_t = __intmax_t; pub type uintmax_t = __uintmax_t; pub type VkFlags = u32; @@ -814,6 +823,10 @@ pub enum VkStructureType { VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV = 1000098000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT = 1000099000, VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT = 1000099001, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR = 1000108000, + VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR = 1000108001, + VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR = 1000108002, + VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR = 1000108003, VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK = 1000122000, VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK = 1000123000, VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT = 1000217000, @@ -1770,6 +1783,11 @@ pub enum VkDescriptorPoolCreateFlagBits { } pub type VkDescriptorPoolCreateFlags = VkFlags; pub type VkDescriptorPoolResetFlags = VkFlags; +#[repr(u32)] +#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] +pub enum VkFramebufferCreateFlagBits { + VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR = 0x00000001, +} pub type VkFramebufferCreateFlags = VkFlags; pub type VkRenderPassCreateFlags = VkFlags; #[repr(u32)] @@ -1870,60 +1888,60 @@ pub enum VkStencilFaceFlagBits { pub type VkStencilFaceFlags = VkFlags; pub type VkMetalSurfaceCreateFlagsEXT = VkFlags; -pub type PFN_vkAllocationFunction = ::std::option::Option< +pub type PFN_vkAllocationFunction = Option< unsafe extern "C" fn( - pUserData: *mut ::std::os::raw::c_void, + pUserData: *mut raw::c_void, size: usize, alignment: usize, allocationScope: VkSystemAllocationScope, - ) -> *mut ::std::os::raw::c_void, + ) -> *mut raw::c_void, >; -pub type PFN_vkReallocationFunction = ::std::option::Option< +pub type PFN_vkReallocationFunction = Option< unsafe extern "C" fn( - pUserData: *mut ::std::os::raw::c_void, - pOriginal: *mut ::std::os::raw::c_void, + pUserData: *mut raw::c_void, + pOriginal: *mut raw::c_void, size: usize, alignment: usize, allocationScope: VkSystemAllocationScope, - ) -> *mut ::std::os::raw::c_void, + ) -> *mut raw::c_void, >; -pub type PFN_vkFreeFunction = ::std::option::Option< +pub type PFN_vkFreeFunction = Option< unsafe extern "C" fn( - pUserData: *mut ::std::os::raw::c_void, - pMemory: *mut ::std::os::raw::c_void, + pUserData: *mut raw::c_void, + pMemory: *mut raw::c_void, ), >; -pub type PFN_vkInternalAllocationNotification = ::std::option::Option< +pub type PFN_vkInternalAllocationNotification = Option< unsafe extern "C" fn( - pUserData: *mut ::std::os::raw::c_void, + pUserData: *mut raw::c_void, size: usize, allocationType: VkInternalAllocationType, allocationScope: VkSystemAllocationScope, ), >; -pub type PFN_vkInternalFreeNotification = ::std::option::Option< +pub type PFN_vkInternalFreeNotification = Option< unsafe extern "C" fn( - pUserData: *mut ::std::os::raw::c_void, + pUserData: *mut raw::c_void, size: usize, allocationType: VkInternalAllocationType, allocationScope: VkSystemAllocationScope, ), >; -pub type PFN_vkVoidFunction = ::std::option::Option; +pub type PFN_vkVoidFunction = Option; #[repr(C)] #[derive(Debug)] pub struct VkBaseStruct { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, } #[repr(C)] #[derive(Debug, Copy)] pub struct VkApplicationInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, - pub pApplicationName: *const ::std::os::raw::c_char, + pub pNext: *const raw::c_void, + pub pApplicationName: *const raw::c_char, pub applicationVersion: u32, - pub pEngineName: *const ::std::os::raw::c_char, + pub pEngineName: *const raw::c_char, pub engineVersion: u32, pub apiVersion: u32, } @@ -1936,13 +1954,13 @@ impl Clone for VkApplicationInfo { #[derive(Debug, Copy)] pub struct VkInstanceCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkInstanceCreateFlags, pub pApplicationInfo: *const VkApplicationInfo, pub enabledLayerCount: u32, - pub ppEnabledLayerNames: *const *const ::std::os::raw::c_char, + pub ppEnabledLayerNames: *const *const raw::c_char, pub enabledExtensionCount: u32, - pub ppEnabledExtensionNames: *const *const ::std::os::raw::c_char, + pub ppEnabledExtensionNames: *const *const raw::c_char, } impl Clone for VkInstanceCreateInfo { fn clone(&self) -> Self { @@ -1952,7 +1970,7 @@ impl Clone for VkInstanceCreateInfo { #[repr(C)] #[derive(Debug, Copy)] pub struct VkAllocationCallbacks { - pub pUserData: *mut ::std::os::raw::c_void, + pub pUserData: *mut raw::c_void, pub pfnAllocation: PFN_vkAllocationFunction, pub pfnReallocation: PFN_vkReallocationFunction, pub pfnFree: PFN_vkFreeFunction, @@ -2203,7 +2221,7 @@ pub struct VkPhysicalDeviceProperties { pub vendorID: u32, pub deviceID: u32, pub deviceType: VkPhysicalDeviceType, - pub deviceName: [::std::os::raw::c_char; 256usize], + pub deviceName: [raw::c_char; 256usize], pub pipelineCacheUUID: [u8; 16usize], pub limits: VkPhysicalDeviceLimits, pub sparseProperties: VkPhysicalDeviceSparseProperties, @@ -2265,7 +2283,7 @@ impl Clone for VkPhysicalDeviceMemoryProperties { #[derive(Debug, Copy)] pub struct VkDeviceQueueCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDeviceQueueCreateFlags, pub queueFamilyIndex: u32, pub queueCount: u32, @@ -2280,14 +2298,14 @@ impl Clone for VkDeviceQueueCreateInfo { #[derive(Debug, Copy)] pub struct VkDeviceCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDeviceCreateFlags, pub queueCreateInfoCount: u32, pub pQueueCreateInfos: *const VkDeviceQueueCreateInfo, pub enabledLayerCount: u32, - pub ppEnabledLayerNames: *const *const ::std::os::raw::c_char, + pub ppEnabledLayerNames: *const *const raw::c_char, pub enabledExtensionCount: u32, - pub ppEnabledExtensionNames: *const *const ::std::os::raw::c_char, + pub ppEnabledExtensionNames: *const *const raw::c_char, pub pEnabledFeatures: *const VkPhysicalDeviceFeatures, } impl Clone for VkDeviceCreateInfo { @@ -2298,7 +2316,7 @@ impl Clone for VkDeviceCreateInfo { #[repr(C)] #[derive(Copy)] pub struct VkExtensionProperties { - pub extensionName: [::std::os::raw::c_char; 256usize], + pub extensionName: [raw::c_char; 256usize], pub specVersion: u32, } impl Clone for VkExtensionProperties { @@ -2309,10 +2327,10 @@ impl Clone for VkExtensionProperties { #[repr(C)] #[derive(Copy)] pub struct VkLayerProperties { - pub layerName: [::std::os::raw::c_char; 256usize], + pub layerName: [raw::c_char; 256usize], pub specVersion: u32, pub implementationVersion: u32, - pub description: [::std::os::raw::c_char; 256usize], + pub description: [raw::c_char; 256usize], } impl Clone for VkLayerProperties { fn clone(&self) -> Self { @@ -2323,7 +2341,7 @@ impl Clone for VkLayerProperties { #[derive(Debug, Copy)] pub struct VkSubmitInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub waitSemaphoreCount: u32, pub pWaitSemaphores: *const VkSemaphore, pub pWaitDstStageMask: *const VkPipelineStageFlags, @@ -2341,7 +2359,7 @@ impl Clone for VkSubmitInfo { #[derive(Debug, Copy)] pub struct VkMemoryAllocateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub allocationSize: VkDeviceSize, pub memoryTypeIndex: u32, } @@ -2354,7 +2372,7 @@ impl Clone for VkMemoryAllocateInfo { #[derive(Debug, Copy)] pub struct VkMappedMemoryRange { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub memory: VkDeviceMemory, pub offset: VkDeviceSize, pub size: VkDeviceSize, @@ -2495,7 +2513,7 @@ impl Clone for VkSparseImageMemoryBindInfo { #[derive(Debug, Copy)] pub struct VkBindSparseInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub waitSemaphoreCount: u32, pub pWaitSemaphores: *const VkSemaphore, pub bufferBindCount: u32, @@ -2516,7 +2534,7 @@ impl Clone for VkBindSparseInfo { #[derive(Debug, Copy)] pub struct VkFenceCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkFenceCreateFlags, } impl Clone for VkFenceCreateInfo { @@ -2528,7 +2546,7 @@ impl Clone for VkFenceCreateInfo { #[derive(Debug, Copy)] pub struct VkSemaphoreCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkSemaphoreCreateFlags, } impl Clone for VkSemaphoreCreateInfo { @@ -2540,7 +2558,7 @@ impl Clone for VkSemaphoreCreateInfo { #[derive(Debug, Copy)] pub struct VkEventCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkEventCreateFlags, } impl Clone for VkEventCreateInfo { @@ -2552,7 +2570,7 @@ impl Clone for VkEventCreateInfo { #[derive(Debug, Copy)] pub struct VkQueryPoolCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkQueryPoolCreateFlags, pub queryType: VkQueryType, pub queryCount: u32, @@ -2567,7 +2585,7 @@ impl Clone for VkQueryPoolCreateInfo { #[derive(Debug, Copy)] pub struct VkBufferCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkBufferCreateFlags, pub size: VkDeviceSize, pub usage: VkBufferUsageFlags, @@ -2584,7 +2602,7 @@ impl Clone for VkBufferCreateInfo { #[derive(Debug, Copy)] pub struct VkBufferViewCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkBufferViewCreateFlags, pub buffer: VkBuffer, pub format: VkFormat, @@ -2600,7 +2618,7 @@ impl Clone for VkBufferViewCreateInfo { #[derive(Debug, Copy)] pub struct VkImageCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkImageCreateFlags, pub imageType: VkImageType, pub format: VkFormat, @@ -2665,7 +2683,7 @@ impl Clone for VkImageSubresourceRange { #[derive(Debug, Copy)] pub struct VkImageViewCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkImageViewCreateFlags, pub image: VkImage, pub viewType: VkImageViewType, @@ -2682,7 +2700,7 @@ impl Clone for VkImageViewCreateInfo { #[derive(Debug, Copy)] pub struct VkShaderModuleCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkShaderModuleCreateFlags, pub codeSize: usize, pub pCode: *const u32, @@ -2696,10 +2714,10 @@ impl Clone for VkShaderModuleCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineCacheCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineCacheCreateFlags, pub initialDataSize: usize, - pub pInitialData: *const ::std::os::raw::c_void, + pub pInitialData: *const raw::c_void, } impl Clone for VkPipelineCacheCreateInfo { fn clone(&self) -> Self { @@ -2724,7 +2742,7 @@ pub struct VkSpecializationInfo { pub mapEntryCount: u32, pub pMapEntries: *const VkSpecializationMapEntry, pub dataSize: usize, - pub pData: *const ::std::os::raw::c_void, + pub pData: *const raw::c_void, } impl Clone for VkSpecializationInfo { fn clone(&self) -> Self { @@ -2735,11 +2753,11 @@ impl Clone for VkSpecializationInfo { #[derive(Debug, Copy)] pub struct VkPipelineShaderStageCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineShaderStageCreateFlags, pub stage: VkShaderStageFlagBits, pub module: VkShaderModule, - pub pName: *const ::std::os::raw::c_char, + pub pName: *const raw::c_char, pub pSpecializationInfo: *const VkSpecializationInfo, } impl Clone for VkPipelineShaderStageCreateInfo { @@ -2776,7 +2794,7 @@ impl Clone for VkVertexInputAttributeDescription { #[derive(Debug, Copy)] pub struct VkPipelineVertexInputStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineVertexInputStateCreateFlags, pub vertexBindingDescriptionCount: u32, pub pVertexBindingDescriptions: *const VkVertexInputBindingDescription, @@ -2792,7 +2810,7 @@ impl Clone for VkPipelineVertexInputStateCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineInputAssemblyStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineInputAssemblyStateCreateFlags, pub topology: VkPrimitiveTopology, pub primitiveRestartEnable: VkBool32, @@ -2806,7 +2824,7 @@ impl Clone for VkPipelineInputAssemblyStateCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineTessellationStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineTessellationStateCreateFlags, pub patchControlPoints: u32, } @@ -2867,7 +2885,7 @@ impl Clone for VkRect2D { #[derive(Debug, Copy)] pub struct VkPipelineViewportStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineViewportStateCreateFlags, pub viewportCount: u32, pub pViewports: *const VkViewport, @@ -2883,7 +2901,7 @@ impl Clone for VkPipelineViewportStateCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineRasterizationStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineRasterizationStateCreateFlags, pub depthClampEnable: VkBool32, pub rasterizerDiscardEnable: VkBool32, @@ -2905,7 +2923,7 @@ impl Clone for VkPipelineRasterizationStateCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineMultisampleStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineMultisampleStateCreateFlags, pub rasterizationSamples: VkSampleCountFlagBits, pub sampleShadingEnable: VkBool32, @@ -2939,7 +2957,7 @@ impl Clone for VkStencilOpState { #[derive(Debug, Copy)] pub struct VkPipelineDepthStencilStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineDepthStencilStateCreateFlags, pub depthTestEnable: VkBool32, pub depthWriteEnable: VkBool32, @@ -2977,7 +2995,7 @@ impl Clone for VkPipelineColorBlendAttachmentState { #[derive(Debug, Copy)] pub struct VkPipelineColorBlendStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineColorBlendStateCreateFlags, pub logicOpEnable: VkBool32, pub logicOp: VkLogicOp, @@ -2994,7 +3012,7 @@ impl Clone for VkPipelineColorBlendStateCreateInfo { #[derive(Debug, Copy)] pub struct VkPipelineDynamicStateCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineDynamicStateCreateFlags, pub dynamicStateCount: u32, pub pDynamicStates: *const VkDynamicState, @@ -3008,7 +3026,7 @@ impl Clone for VkPipelineDynamicStateCreateInfo { #[derive(Debug, Copy)] pub struct VkGraphicsPipelineCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineCreateFlags, pub stageCount: u32, pub pStages: *const VkPipelineShaderStageCreateInfo, @@ -3036,7 +3054,7 @@ impl Clone for VkGraphicsPipelineCreateInfo { #[derive(Debug, Copy)] pub struct VkComputePipelineCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineCreateFlags, pub stage: VkPipelineShaderStageCreateInfo, pub layout: VkPipelineLayout, @@ -3064,7 +3082,7 @@ impl Clone for VkPushConstantRange { #[derive(Debug, Copy)] pub struct VkPipelineLayoutCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineLayoutCreateFlags, pub setLayoutCount: u32, pub pSetLayouts: *const VkDescriptorSetLayout, @@ -3080,7 +3098,7 @@ impl Clone for VkPipelineLayoutCreateInfo { #[derive(Debug, Copy)] pub struct VkSamplerCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkSamplerCreateFlags, pub magFilter: VkFilter, pub minFilter: VkFilter, @@ -3121,7 +3139,7 @@ impl Clone for VkDescriptorSetLayoutBinding { #[derive(Debug, Copy)] pub struct VkDescriptorSetLayoutCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDescriptorSetLayoutCreateFlags, pub bindingCount: u32, pub pBindings: *const VkDescriptorSetLayoutBinding, @@ -3146,7 +3164,7 @@ impl Clone for VkDescriptorPoolSize { #[derive(Debug, Copy)] pub struct VkDescriptorPoolCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDescriptorPoolCreateFlags, pub maxSets: u32, pub poolSizeCount: u32, @@ -3161,7 +3179,7 @@ impl Clone for VkDescriptorPoolCreateInfo { #[derive(Debug, Copy)] pub struct VkDescriptorSetAllocateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub descriptorPool: VkDescriptorPool, pub descriptorSetCount: u32, pub pSetLayouts: *const VkDescriptorSetLayout, @@ -3199,7 +3217,7 @@ impl Clone for VkDescriptorBufferInfo { #[derive(Debug, Copy)] pub struct VkWriteDescriptorSet { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub dstSet: VkDescriptorSet, pub dstBinding: u32, pub dstArrayElement: u32, @@ -3218,7 +3236,7 @@ impl Clone for VkWriteDescriptorSet { #[derive(Debug, Copy)] pub struct VkCopyDescriptorSet { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub srcSet: VkDescriptorSet, pub srcBinding: u32, pub srcArrayElement: u32, @@ -3236,7 +3254,7 @@ impl Clone for VkCopyDescriptorSet { #[derive(Debug, Copy)] pub struct VkFramebufferCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkFramebufferCreateFlags, pub renderPass: VkRenderPass, pub attachmentCount: u32, @@ -3318,7 +3336,7 @@ impl Clone for VkSubpassDependency { #[derive(Debug, Copy)] pub struct VkRenderPassCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkRenderPassCreateFlags, pub attachmentCount: u32, pub pAttachments: *const VkAttachmentDescription, @@ -3336,7 +3354,7 @@ impl Clone for VkRenderPassCreateInfo { #[derive(Debug, Copy)] pub struct VkCommandPoolCreateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkCommandPoolCreateFlags, pub queueFamilyIndex: u32, } @@ -3349,7 +3367,7 @@ impl Clone for VkCommandPoolCreateInfo { #[derive(Debug, Copy)] pub struct VkCommandBufferAllocateInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub commandPool: VkCommandPool, pub level: VkCommandBufferLevel, pub commandBufferCount: u32, @@ -3363,7 +3381,7 @@ impl Clone for VkCommandBufferAllocateInfo { #[derive(Debug, Copy)] pub struct VkCommandBufferInheritanceInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub renderPass: VkRenderPass, pub subpass: u32, pub framebuffer: VkFramebuffer, @@ -3380,7 +3398,7 @@ impl Clone for VkCommandBufferInheritanceInfo { #[derive(Debug, Copy)] pub struct VkCommandBufferBeginInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkCommandBufferUsageFlags, pub pInheritanceInfo: *const VkCommandBufferInheritanceInfo, } @@ -3534,7 +3552,7 @@ impl Clone for VkImageResolve { #[derive(Debug, Copy)] pub struct VkMemoryBarrier { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub srcAccessMask: VkAccessFlags, pub dstAccessMask: VkAccessFlags, } @@ -3547,7 +3565,7 @@ impl Clone for VkMemoryBarrier { #[derive(Debug, Copy)] pub struct VkBufferMemoryBarrier { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub srcAccessMask: VkAccessFlags, pub dstAccessMask: VkAccessFlags, pub srcQueueFamilyIndex: u32, @@ -3565,7 +3583,7 @@ impl Clone for VkBufferMemoryBarrier { #[derive(Debug, Copy)] pub struct VkImageMemoryBarrier { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub srcAccessMask: VkAccessFlags, pub dstAccessMask: VkAccessFlags, pub oldLayout: VkImageLayout, @@ -3584,7 +3602,7 @@ impl Clone for VkImageMemoryBarrier { #[derive(Debug, Copy)] pub struct VkRenderPassBeginInfo { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub renderPass: VkRenderPass, pub framebuffer: VkFramebuffer, pub renderArea: VkRect2D, @@ -3635,20 +3653,20 @@ impl Clone for VkDrawIndirectCommand { *self } } -pub type PFN_vkGetPhysicalDeviceFeatures = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceFeatures = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pFeatures: *mut VkPhysicalDeviceFeatures, ), >; -pub type PFN_vkGetPhysicalDeviceFormatProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceFormatProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: *mut VkFormatProperties, ), >; -pub type PFN_vkGetPhysicalDeviceImageFormatProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceImageFormatProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, format: VkFormat, @@ -3659,38 +3677,38 @@ pub type PFN_vkGetPhysicalDeviceImageFormatProperties = ::std::option::Option< pImageFormatProperties: *mut VkImageFormatProperties, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pProperties: *mut VkPhysicalDeviceProperties, ), >; -pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: *mut u32, pQueueFamilyProperties: *mut VkQueueFamilyProperties, ), >; -pub type PFN_vkGetPhysicalDeviceMemoryProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceMemoryProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pMemoryProperties: *mut VkPhysicalDeviceMemoryProperties, ), >; -pub type PFN_vkGetInstanceProcAddr = ::std::option::Option< +pub type PFN_vkGetInstanceProcAddr = Option< unsafe extern "C" fn( instance: VkInstance, - pName: *const ::std::os::raw::c_char, + pName: *const raw::c_char, ) -> PFN_vkVoidFunction, >; -pub type PFN_vkGetDeviceProcAddr = ::std::option::Option< +pub type PFN_vkGetDeviceProcAddr = Option< unsafe extern "C" fn( device: VkDevice, - pName: *const ::std::os::raw::c_char, + pName: *const raw::c_char, ) -> PFN_vkVoidFunction, >; -pub type PFN_vkCreateDevice = ::std::option::Option< +pub type PFN_vkCreateDevice = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pCreateInfo: *const VkDeviceCreateInfo, @@ -3698,35 +3716,35 @@ pub type PFN_vkCreateDevice = ::std::option::Option< pDevice: *mut VkDevice, ) -> VkResult, >; -pub type PFN_vkDestroyDevice = ::std::option::Option< +pub type PFN_vkDestroyDevice = Option< unsafe extern "C" fn(device: VkDevice, pAllocator: *const VkAllocationCallbacks), >; -pub type PFN_vkEnumerateInstanceExtensionProperties = ::std::option::Option< +pub type PFN_vkEnumerateInstanceExtensionProperties = Option< unsafe extern "C" fn( - pLayerName: *const ::std::os::raw::c_char, + pLayerName: *const raw::c_char, pPropertyCount: *mut u32, pProperties: *mut VkExtensionProperties, ) -> VkResult, >; -pub type PFN_vkEnumerateDeviceExtensionProperties = ::std::option::Option< +pub type PFN_vkEnumerateDeviceExtensionProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, - pLayerName: *const ::std::os::raw::c_char, + pLayerName: *const raw::c_char, pPropertyCount: *mut u32, pProperties: *mut VkExtensionProperties, ) -> VkResult, >; -pub type PFN_vkEnumerateInstanceLayerProperties = ::std::option::Option< +pub type PFN_vkEnumerateInstanceLayerProperties = Option< unsafe extern "C" fn(pPropertyCount: *mut u32, pProperties: *mut VkLayerProperties) -> VkResult, >; -pub type PFN_vkEnumerateDeviceLayerProperties = ::std::option::Option< +pub type PFN_vkEnumerateDeviceLayerProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut VkLayerProperties, ) -> VkResult, >; -pub type PFN_vkGetDeviceQueue = ::std::option::Option< +pub type PFN_vkGetDeviceQueue = Option< unsafe extern "C" fn( device: VkDevice, queueFamilyIndex: u32, @@ -3734,7 +3752,7 @@ pub type PFN_vkGetDeviceQueue = ::std::option::Option< pQueue: *mut VkQueue, ), >; -pub type PFN_vkQueueSubmit = ::std::option::Option< +pub type PFN_vkQueueSubmit = Option< unsafe extern "C" fn( queue: VkQueue, submitCount: u32, @@ -3743,10 +3761,10 @@ pub type PFN_vkQueueSubmit = ::std::option::Option< ) -> VkResult, >; pub type PFN_vkQueueWaitIdle = - ::std::option::Option VkResult>; + Option VkResult>; pub type PFN_vkDeviceWaitIdle = - ::std::option::Option VkResult>; -pub type PFN_vkAllocateMemory = ::std::option::Option< + Option VkResult>; +pub type PFN_vkAllocateMemory = Option< unsafe extern "C" fn( device: VkDevice, pAllocateInfo: *const VkMemoryAllocateInfo, @@ -3754,47 +3772,47 @@ pub type PFN_vkAllocateMemory = ::std::option::Option< pMemory: *mut VkDeviceMemory, ) -> VkResult, >; -pub type PFN_vkFreeMemory = ::std::option::Option< +pub type PFN_vkFreeMemory = Option< unsafe extern "C" fn( device: VkDevice, memory: VkDeviceMemory, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkMapMemory = ::std::option::Option< +pub type PFN_vkMapMemory = Option< unsafe extern "C" fn( device: VkDevice, memory: VkDeviceMemory, offset: VkDeviceSize, size: VkDeviceSize, flags: VkMemoryMapFlags, - ppData: *mut *mut ::std::os::raw::c_void, + ppData: *mut *mut raw::c_void, ) -> VkResult, >; pub type PFN_vkUnmapMemory = - ::std::option::Option; -pub type PFN_vkFlushMappedMemoryRanges = ::std::option::Option< + Option; +pub type PFN_vkFlushMappedMemoryRanges = Option< unsafe extern "C" fn( device: VkDevice, memoryRangeCount: u32, pMemoryRanges: *const VkMappedMemoryRange, ) -> VkResult, >; -pub type PFN_vkInvalidateMappedMemoryRanges = ::std::option::Option< +pub type PFN_vkInvalidateMappedMemoryRanges = Option< unsafe extern "C" fn( device: VkDevice, memoryRangeCount: u32, pMemoryRanges: *const VkMappedMemoryRange, ) -> VkResult, >; -pub type PFN_vkGetDeviceMemoryCommitment = ::std::option::Option< +pub type PFN_vkGetDeviceMemoryCommitment = Option< unsafe extern "C" fn( device: VkDevice, memory: VkDeviceMemory, pCommittedMemoryInBytes: *mut VkDeviceSize, ), >; -pub type PFN_vkBindBufferMemory = ::std::option::Option< +pub type PFN_vkBindBufferMemory = Option< unsafe extern "C" fn( device: VkDevice, buffer: VkBuffer, @@ -3802,7 +3820,7 @@ pub type PFN_vkBindBufferMemory = ::std::option::Option< memoryOffset: VkDeviceSize, ) -> VkResult, >; -pub type PFN_vkBindImageMemory = ::std::option::Option< +pub type PFN_vkBindImageMemory = Option< unsafe extern "C" fn( device: VkDevice, image: VkImage, @@ -3810,21 +3828,21 @@ pub type PFN_vkBindImageMemory = ::std::option::Option< memoryOffset: VkDeviceSize, ) -> VkResult, >; -pub type PFN_vkGetBufferMemoryRequirements = ::std::option::Option< +pub type PFN_vkGetBufferMemoryRequirements = Option< unsafe extern "C" fn( device: VkDevice, buffer: VkBuffer, pMemoryRequirements: *mut VkMemoryRequirements, ), >; -pub type PFN_vkGetImageMemoryRequirements = ::std::option::Option< +pub type PFN_vkGetImageMemoryRequirements = Option< unsafe extern "C" fn( device: VkDevice, image: VkImage, pMemoryRequirements: *mut VkMemoryRequirements, ), >; -pub type PFN_vkGetImageSparseMemoryRequirements = ::std::option::Option< +pub type PFN_vkGetImageSparseMemoryRequirements = Option< unsafe extern "C" fn( device: VkDevice, image: VkImage, @@ -3832,7 +3850,7 @@ pub type PFN_vkGetImageSparseMemoryRequirements = ::std::option::Option< pSparseMemoryRequirements: *mut VkSparseImageMemoryRequirements, ), >; -pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, format: VkFormat, @@ -3844,7 +3862,7 @@ pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties = ::std::option::Opt pProperties: *mut VkSparseImageFormatProperties, ), >; -pub type PFN_vkQueueBindSparse = ::std::option::Option< +pub type PFN_vkQueueBindSparse = Option< unsafe extern "C" fn( queue: VkQueue, bindInfoCount: u32, @@ -3852,7 +3870,7 @@ pub type PFN_vkQueueBindSparse = ::std::option::Option< fence: VkFence, ) -> VkResult, >; -pub type PFN_vkCreateFence = ::std::option::Option< +pub type PFN_vkCreateFence = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkFenceCreateInfo, @@ -3860,19 +3878,19 @@ pub type PFN_vkCreateFence = ::std::option::Option< pFence: *mut VkFence, ) -> VkResult, >; -pub type PFN_vkDestroyFence = ::std::option::Option< +pub type PFN_vkDestroyFence = Option< unsafe extern "C" fn( device: VkDevice, fence: VkFence, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkResetFences = ::std::option::Option< +pub type PFN_vkResetFences = Option< unsafe extern "C" fn(device: VkDevice, fenceCount: u32, pFences: *const VkFence) -> VkResult, >; pub type PFN_vkGetFenceStatus = - ::std::option::Option VkResult>; -pub type PFN_vkWaitForFences = ::std::option::Option< + Option VkResult>; +pub type PFN_vkWaitForFences = Option< unsafe extern "C" fn( device: VkDevice, fenceCount: u32, @@ -3881,7 +3899,7 @@ pub type PFN_vkWaitForFences = ::std::option::Option< timeout: u64, ) -> VkResult, >; -pub type PFN_vkCreateSemaphore = ::std::option::Option< +pub type PFN_vkCreateSemaphore = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkSemaphoreCreateInfo, @@ -3889,14 +3907,14 @@ pub type PFN_vkCreateSemaphore = ::std::option::Option< pSemaphore: *mut VkSemaphore, ) -> VkResult, >; -pub type PFN_vkDestroySemaphore = ::std::option::Option< +pub type PFN_vkDestroySemaphore = Option< unsafe extern "C" fn( device: VkDevice, semaphore: VkSemaphore, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateEvent = ::std::option::Option< +pub type PFN_vkCreateEvent = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkEventCreateInfo, @@ -3904,7 +3922,7 @@ pub type PFN_vkCreateEvent = ::std::option::Option< pEvent: *mut VkEvent, ) -> VkResult, >; -pub type PFN_vkDestroyEvent = ::std::option::Option< +pub type PFN_vkDestroyEvent = Option< unsafe extern "C" fn( device: VkDevice, event: VkEvent, @@ -3912,12 +3930,12 @@ pub type PFN_vkDestroyEvent = ::std::option::Option< ), >; pub type PFN_vkGetEventStatus = - ::std::option::Option VkResult>; + Option VkResult>; pub type PFN_vkSetEvent = - ::std::option::Option VkResult>; + Option VkResult>; pub type PFN_vkResetEvent = - ::std::option::Option VkResult>; -pub type PFN_vkCreateQueryPool = ::std::option::Option< + Option VkResult>; +pub type PFN_vkCreateQueryPool = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkQueryPoolCreateInfo, @@ -3925,26 +3943,26 @@ pub type PFN_vkCreateQueryPool = ::std::option::Option< pQueryPool: *mut VkQueryPool, ) -> VkResult, >; -pub type PFN_vkDestroyQueryPool = ::std::option::Option< +pub type PFN_vkDestroyQueryPool = Option< unsafe extern "C" fn( device: VkDevice, queryPool: VkQueryPool, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetQueryPoolResults = ::std::option::Option< +pub type PFN_vkGetQueryPoolResults = Option< unsafe extern "C" fn( device: VkDevice, queryPool: VkQueryPool, firstQuery: u32, queryCount: u32, dataSize: usize, - pData: *mut ::std::os::raw::c_void, + pData: *mut raw::c_void, stride: VkDeviceSize, flags: VkQueryResultFlags, ) -> VkResult, >; -pub type PFN_vkCreateBuffer = ::std::option::Option< +pub type PFN_vkCreateBuffer = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkBufferCreateInfo, @@ -3952,14 +3970,14 @@ pub type PFN_vkCreateBuffer = ::std::option::Option< pBuffer: *mut VkBuffer, ) -> VkResult, >; -pub type PFN_vkDestroyBuffer = ::std::option::Option< +pub type PFN_vkDestroyBuffer = Option< unsafe extern "C" fn( device: VkDevice, buffer: VkBuffer, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateBufferView = ::std::option::Option< +pub type PFN_vkCreateBufferView = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkBufferViewCreateInfo, @@ -3967,14 +3985,14 @@ pub type PFN_vkCreateBufferView = ::std::option::Option< pView: *mut VkBufferView, ) -> VkResult, >; -pub type PFN_vkDestroyBufferView = ::std::option::Option< +pub type PFN_vkDestroyBufferView = Option< unsafe extern "C" fn( device: VkDevice, bufferView: VkBufferView, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateImage = ::std::option::Option< +pub type PFN_vkCreateImage = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkImageCreateInfo, @@ -3982,14 +4000,14 @@ pub type PFN_vkCreateImage = ::std::option::Option< pImage: *mut VkImage, ) -> VkResult, >; -pub type PFN_vkDestroyImage = ::std::option::Option< +pub type PFN_vkDestroyImage = Option< unsafe extern "C" fn( device: VkDevice, image: VkImage, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetImageSubresourceLayout = ::std::option::Option< +pub type PFN_vkGetImageSubresourceLayout = Option< unsafe extern "C" fn( device: VkDevice, image: VkImage, @@ -3997,7 +4015,7 @@ pub type PFN_vkGetImageSubresourceLayout = ::std::option::Option< pLayout: *mut VkSubresourceLayout, ), >; -pub type PFN_vkCreateImageView = ::std::option::Option< +pub type PFN_vkCreateImageView = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkImageViewCreateInfo, @@ -4005,14 +4023,14 @@ pub type PFN_vkCreateImageView = ::std::option::Option< pView: *mut VkImageView, ) -> VkResult, >; -pub type PFN_vkDestroyImageView = ::std::option::Option< +pub type PFN_vkDestroyImageView = Option< unsafe extern "C" fn( device: VkDevice, imageView: VkImageView, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateShaderModule = ::std::option::Option< +pub type PFN_vkCreateShaderModule = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkShaderModuleCreateInfo, @@ -4020,14 +4038,14 @@ pub type PFN_vkCreateShaderModule = ::std::option::Option< pShaderModule: *mut VkShaderModule, ) -> VkResult, >; -pub type PFN_vkDestroyShaderModule = ::std::option::Option< +pub type PFN_vkDestroyShaderModule = Option< unsafe extern "C" fn( device: VkDevice, shaderModule: VkShaderModule, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreatePipelineCache = ::std::option::Option< +pub type PFN_vkCreatePipelineCache = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkPipelineCacheCreateInfo, @@ -4035,22 +4053,22 @@ pub type PFN_vkCreatePipelineCache = ::std::option::Option< pPipelineCache: *mut VkPipelineCache, ) -> VkResult, >; -pub type PFN_vkDestroyPipelineCache = ::std::option::Option< +pub type PFN_vkDestroyPipelineCache = Option< unsafe extern "C" fn( device: VkDevice, pipelineCache: VkPipelineCache, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetPipelineCacheData = ::std::option::Option< +pub type PFN_vkGetPipelineCacheData = Option< unsafe extern "C" fn( device: VkDevice, pipelineCache: VkPipelineCache, pDataSize: *mut usize, - pData: *mut ::std::os::raw::c_void, + pData: *mut raw::c_void, ) -> VkResult, >; -pub type PFN_vkMergePipelineCaches = ::std::option::Option< +pub type PFN_vkMergePipelineCaches = Option< unsafe extern "C" fn( device: VkDevice, dstCache: VkPipelineCache, @@ -4058,7 +4076,7 @@ pub type PFN_vkMergePipelineCaches = ::std::option::Option< pSrcCaches: *const VkPipelineCache, ) -> VkResult, >; -pub type PFN_vkCreateGraphicsPipelines = ::std::option::Option< +pub type PFN_vkCreateGraphicsPipelines = Option< unsafe extern "C" fn( device: VkDevice, pipelineCache: VkPipelineCache, @@ -4068,7 +4086,7 @@ pub type PFN_vkCreateGraphicsPipelines = ::std::option::Option< pPipelines: *mut VkPipeline, ) -> VkResult, >; -pub type PFN_vkCreateComputePipelines = ::std::option::Option< +pub type PFN_vkCreateComputePipelines = Option< unsafe extern "C" fn( device: VkDevice, pipelineCache: VkPipelineCache, @@ -4078,14 +4096,14 @@ pub type PFN_vkCreateComputePipelines = ::std::option::Option< pPipelines: *mut VkPipeline, ) -> VkResult, >; -pub type PFN_vkDestroyPipeline = ::std::option::Option< +pub type PFN_vkDestroyPipeline = Option< unsafe extern "C" fn( device: VkDevice, pipeline: VkPipeline, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreatePipelineLayout = ::std::option::Option< +pub type PFN_vkCreatePipelineLayout = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkPipelineLayoutCreateInfo, @@ -4093,14 +4111,14 @@ pub type PFN_vkCreatePipelineLayout = ::std::option::Option< pPipelineLayout: *mut VkPipelineLayout, ) -> VkResult, >; -pub type PFN_vkDestroyPipelineLayout = ::std::option::Option< +pub type PFN_vkDestroyPipelineLayout = Option< unsafe extern "C" fn( device: VkDevice, pipelineLayout: VkPipelineLayout, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateSampler = ::std::option::Option< +pub type PFN_vkCreateSampler = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkSamplerCreateInfo, @@ -4108,14 +4126,14 @@ pub type PFN_vkCreateSampler = ::std::option::Option< pSampler: *mut VkSampler, ) -> VkResult, >; -pub type PFN_vkDestroySampler = ::std::option::Option< +pub type PFN_vkDestroySampler = Option< unsafe extern "C" fn( device: VkDevice, sampler: VkSampler, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateDescriptorSetLayout = ::std::option::Option< +pub type PFN_vkCreateDescriptorSetLayout = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkDescriptorSetLayoutCreateInfo, @@ -4123,14 +4141,14 @@ pub type PFN_vkCreateDescriptorSetLayout = ::std::option::Option< pSetLayout: *mut VkDescriptorSetLayout, ) -> VkResult, >; -pub type PFN_vkDestroyDescriptorSetLayout = ::std::option::Option< +pub type PFN_vkDestroyDescriptorSetLayout = Option< unsafe extern "C" fn( device: VkDevice, descriptorSetLayout: VkDescriptorSetLayout, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateDescriptorPool = ::std::option::Option< +pub type PFN_vkCreateDescriptorPool = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkDescriptorPoolCreateInfo, @@ -4138,28 +4156,28 @@ pub type PFN_vkCreateDescriptorPool = ::std::option::Option< pDescriptorPool: *mut VkDescriptorPool, ) -> VkResult, >; -pub type PFN_vkDestroyDescriptorPool = ::std::option::Option< +pub type PFN_vkDestroyDescriptorPool = Option< unsafe extern "C" fn( device: VkDevice, descriptorPool: VkDescriptorPool, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkResetDescriptorPool = ::std::option::Option< +pub type PFN_vkResetDescriptorPool = Option< unsafe extern "C" fn( device: VkDevice, descriptorPool: VkDescriptorPool, flags: VkDescriptorPoolResetFlags, ) -> VkResult, >; -pub type PFN_vkAllocateDescriptorSets = ::std::option::Option< +pub type PFN_vkAllocateDescriptorSets = Option< unsafe extern "C" fn( device: VkDevice, pAllocateInfo: *const VkDescriptorSetAllocateInfo, pDescriptorSets: *mut VkDescriptorSet, ) -> VkResult, >; -pub type PFN_vkFreeDescriptorSets = ::std::option::Option< +pub type PFN_vkFreeDescriptorSets = Option< unsafe extern "C" fn( device: VkDevice, descriptorPool: VkDescriptorPool, @@ -4167,7 +4185,7 @@ pub type PFN_vkFreeDescriptorSets = ::std::option::Option< pDescriptorSets: *const VkDescriptorSet, ) -> VkResult, >; -pub type PFN_vkUpdateDescriptorSets = ::std::option::Option< +pub type PFN_vkUpdateDescriptorSets = Option< unsafe extern "C" fn( device: VkDevice, descriptorWriteCount: u32, @@ -4176,7 +4194,7 @@ pub type PFN_vkUpdateDescriptorSets = ::std::option::Option< pDescriptorCopies: *const VkCopyDescriptorSet, ), >; -pub type PFN_vkCreateFramebuffer = ::std::option::Option< +pub type PFN_vkCreateFramebuffer = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkFramebufferCreateInfo, @@ -4184,14 +4202,14 @@ pub type PFN_vkCreateFramebuffer = ::std::option::Option< pFramebuffer: *mut VkFramebuffer, ) -> VkResult, >; -pub type PFN_vkDestroyFramebuffer = ::std::option::Option< +pub type PFN_vkDestroyFramebuffer = Option< unsafe extern "C" fn( device: VkDevice, framebuffer: VkFramebuffer, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateRenderPass = ::std::option::Option< +pub type PFN_vkCreateRenderPass = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkRenderPassCreateInfo, @@ -4199,17 +4217,17 @@ pub type PFN_vkCreateRenderPass = ::std::option::Option< pRenderPass: *mut VkRenderPass, ) -> VkResult, >; -pub type PFN_vkDestroyRenderPass = ::std::option::Option< +pub type PFN_vkDestroyRenderPass = Option< unsafe extern "C" fn( device: VkDevice, renderPass: VkRenderPass, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetRenderAreaGranularity = ::std::option::Option< +pub type PFN_vkGetRenderAreaGranularity = Option< unsafe extern "C" fn(device: VkDevice, renderPass: VkRenderPass, pGranularity: *mut VkExtent2D), >; -pub type PFN_vkCreateCommandPool = ::std::option::Option< +pub type PFN_vkCreateCommandPool = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkCommandPoolCreateInfo, @@ -4217,28 +4235,28 @@ pub type PFN_vkCreateCommandPool = ::std::option::Option< pCommandPool: *mut VkCommandPool, ) -> VkResult, >; -pub type PFN_vkDestroyCommandPool = ::std::option::Option< +pub type PFN_vkDestroyCommandPool = Option< unsafe extern "C" fn( device: VkDevice, commandPool: VkCommandPool, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkResetCommandPool = ::std::option::Option< +pub type PFN_vkResetCommandPool = Option< unsafe extern "C" fn( device: VkDevice, commandPool: VkCommandPool, flags: VkCommandPoolResetFlags, ) -> VkResult, >; -pub type PFN_vkAllocateCommandBuffers = ::std::option::Option< +pub type PFN_vkAllocateCommandBuffers = Option< unsafe extern "C" fn( device: VkDevice, pAllocateInfo: *const VkCommandBufferAllocateInfo, pCommandBuffers: *mut VkCommandBuffer, ) -> VkResult, >; -pub type PFN_vkFreeCommandBuffers = ::std::option::Option< +pub type PFN_vkFreeCommandBuffers = Option< unsafe extern "C" fn( device: VkDevice, commandPool: VkCommandPool, @@ -4246,28 +4264,28 @@ pub type PFN_vkFreeCommandBuffers = ::std::option::Option< pCommandBuffers: *const VkCommandBuffer, ), >; -pub type PFN_vkBeginCommandBuffer = ::std::option::Option< +pub type PFN_vkBeginCommandBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pBeginInfo: *const VkCommandBufferBeginInfo, ) -> VkResult, >; pub type PFN_vkEndCommandBuffer = - ::std::option::Option VkResult>; -pub type PFN_vkResetCommandBuffer = ::std::option::Option< + Option VkResult>; +pub type PFN_vkResetCommandBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, flags: VkCommandBufferResetFlags, ) -> VkResult, >; -pub type PFN_vkCmdBindPipeline = ::std::option::Option< +pub type PFN_vkCmdBindPipeline = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, pipeline: VkPipeline, ), >; -pub type PFN_vkCmdSetViewport = ::std::option::Option< +pub type PFN_vkCmdSetViewport = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, firstViewport: u32, @@ -4275,7 +4293,7 @@ pub type PFN_vkCmdSetViewport = ::std::option::Option< pViewports: *const VkViewport, ), >; -pub type PFN_vkCmdSetScissor = ::std::option::Option< +pub type PFN_vkCmdSetScissor = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, firstScissor: u32, @@ -4284,8 +4302,8 @@ pub type PFN_vkCmdSetScissor = ::std::option::Option< ), >; pub type PFN_vkCmdSetLineWidth = - ::std::option::Option; -pub type PFN_vkCmdSetDepthBias = ::std::option::Option< + Option; +pub type PFN_vkCmdSetDepthBias = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, depthBiasConstantFactor: f32, @@ -4293,34 +4311,34 @@ pub type PFN_vkCmdSetDepthBias = ::std::option::Option< depthBiasSlopeFactor: f32, ), >; -pub type PFN_vkCmdSetBlendConstants = ::std::option::Option< +pub type PFN_vkCmdSetBlendConstants = Option< unsafe extern "C" fn(commandBuffer: VkCommandBuffer, blendConstants: *const f32), >; -pub type PFN_vkCmdSetDepthBounds = ::std::option::Option< +pub type PFN_vkCmdSetDepthBounds = Option< unsafe extern "C" fn(commandBuffer: VkCommandBuffer, minDepthBounds: f32, maxDepthBounds: f32), >; -pub type PFN_vkCmdSetStencilCompareMask = ::std::option::Option< +pub type PFN_vkCmdSetStencilCompareMask = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, compareMask: u32, ), >; -pub type PFN_vkCmdSetStencilWriteMask = ::std::option::Option< +pub type PFN_vkCmdSetStencilWriteMask = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, writeMask: u32, ), >; -pub type PFN_vkCmdSetStencilReference = ::std::option::Option< +pub type PFN_vkCmdSetStencilReference = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, faceMask: VkStencilFaceFlags, reference: u32, ), >; -pub type PFN_vkCmdBindDescriptorSets = ::std::option::Option< +pub type PFN_vkCmdBindDescriptorSets = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, @@ -4332,7 +4350,7 @@ pub type PFN_vkCmdBindDescriptorSets = ::std::option::Option< pDynamicOffsets: *const u32, ), >; -pub type PFN_vkCmdBindIndexBuffer = ::std::option::Option< +pub type PFN_vkCmdBindIndexBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, buffer: VkBuffer, @@ -4340,7 +4358,7 @@ pub type PFN_vkCmdBindIndexBuffer = ::std::option::Option< indexType: VkIndexType, ), >; -pub type PFN_vkCmdBindVertexBuffers = ::std::option::Option< +pub type PFN_vkCmdBindVertexBuffers = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, firstBinding: u32, @@ -4349,7 +4367,7 @@ pub type PFN_vkCmdBindVertexBuffers = ::std::option::Option< pOffsets: *const VkDeviceSize, ), >; -pub type PFN_vkCmdDraw = ::std::option::Option< +pub type PFN_vkCmdDraw = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, vertexCount: u32, @@ -4358,7 +4376,7 @@ pub type PFN_vkCmdDraw = ::std::option::Option< firstInstance: u32, ), >; -pub type PFN_vkCmdDrawIndexed = ::std::option::Option< +pub type PFN_vkCmdDrawIndexed = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, indexCount: u32, @@ -4368,7 +4386,7 @@ pub type PFN_vkCmdDrawIndexed = ::std::option::Option< firstInstance: u32, ), >; -pub type PFN_vkCmdDrawIndirect = ::std::option::Option< +pub type PFN_vkCmdDrawIndirect = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, buffer: VkBuffer, @@ -4377,7 +4395,7 @@ pub type PFN_vkCmdDrawIndirect = ::std::option::Option< stride: u32, ), >; -pub type PFN_vkCmdDrawIndexedIndirect = ::std::option::Option< +pub type PFN_vkCmdDrawIndexedIndirect = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, buffer: VkBuffer, @@ -4386,7 +4404,7 @@ pub type PFN_vkCmdDrawIndexedIndirect = ::std::option::Option< stride: u32, ), >; -pub type PFN_vkCmdDispatch = ::std::option::Option< +pub type PFN_vkCmdDispatch = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, groupCountX: u32, @@ -4394,10 +4412,10 @@ pub type PFN_vkCmdDispatch = ::std::option::Option< groupCountZ: u32, ), >; -pub type PFN_vkCmdDispatchIndirect = ::std::option::Option< +pub type PFN_vkCmdDispatchIndirect = Option< unsafe extern "C" fn(commandBuffer: VkCommandBuffer, buffer: VkBuffer, offset: VkDeviceSize), >; -pub type PFN_vkCmdCopyBuffer = ::std::option::Option< +pub type PFN_vkCmdCopyBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, @@ -4406,7 +4424,7 @@ pub type PFN_vkCmdCopyBuffer = ::std::option::Option< pRegions: *const VkBufferCopy, ), >; -pub type PFN_vkCmdCopyImage = ::std::option::Option< +pub type PFN_vkCmdCopyImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcImage: VkImage, @@ -4417,7 +4435,7 @@ pub type PFN_vkCmdCopyImage = ::std::option::Option< pRegions: *const VkImageCopy, ), >; -pub type PFN_vkCmdBlitImage = ::std::option::Option< +pub type PFN_vkCmdBlitImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcImage: VkImage, @@ -4429,7 +4447,7 @@ pub type PFN_vkCmdBlitImage = ::std::option::Option< filter: VkFilter, ), >; -pub type PFN_vkCmdCopyBufferToImage = ::std::option::Option< +pub type PFN_vkCmdCopyBufferToImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcBuffer: VkBuffer, @@ -4439,7 +4457,7 @@ pub type PFN_vkCmdCopyBufferToImage = ::std::option::Option< pRegions: *const VkBufferImageCopy, ), >; -pub type PFN_vkCmdCopyImageToBuffer = ::std::option::Option< +pub type PFN_vkCmdCopyImageToBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcImage: VkImage, @@ -4449,16 +4467,16 @@ pub type PFN_vkCmdCopyImageToBuffer = ::std::option::Option< pRegions: *const VkBufferImageCopy, ), >; -pub type PFN_vkCmdUpdateBuffer = ::std::option::Option< +pub type PFN_vkCmdUpdateBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, dstOffset: VkDeviceSize, dataSize: VkDeviceSize, - pData: *const ::std::os::raw::c_void, + pData: *const raw::c_void, ), >; -pub type PFN_vkCmdFillBuffer = ::std::option::Option< +pub type PFN_vkCmdFillBuffer = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, dstBuffer: VkBuffer, @@ -4467,7 +4485,7 @@ pub type PFN_vkCmdFillBuffer = ::std::option::Option< data: u32, ), >; -pub type PFN_vkCmdClearColorImage = ::std::option::Option< +pub type PFN_vkCmdClearColorImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, image: VkImage, @@ -4477,7 +4495,7 @@ pub type PFN_vkCmdClearColorImage = ::std::option::Option< pRanges: *const VkImageSubresourceRange, ), >; -pub type PFN_vkCmdClearDepthStencilImage = ::std::option::Option< +pub type PFN_vkCmdClearDepthStencilImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, image: VkImage, @@ -4487,7 +4505,7 @@ pub type PFN_vkCmdClearDepthStencilImage = ::std::option::Option< pRanges: *const VkImageSubresourceRange, ), >; -pub type PFN_vkCmdClearAttachments = ::std::option::Option< +pub type PFN_vkCmdClearAttachments = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, attachmentCount: u32, @@ -4496,7 +4514,7 @@ pub type PFN_vkCmdClearAttachments = ::std::option::Option< pRects: *const VkClearRect, ), >; -pub type PFN_vkCmdResolveImage = ::std::option::Option< +pub type PFN_vkCmdResolveImage = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcImage: VkImage, @@ -4507,21 +4525,21 @@ pub type PFN_vkCmdResolveImage = ::std::option::Option< pRegions: *const VkImageResolve, ), >; -pub type PFN_vkCmdSetEvent = ::std::option::Option< +pub type PFN_vkCmdSetEvent = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags, ), >; -pub type PFN_vkCmdResetEvent = ::std::option::Option< +pub type PFN_vkCmdResetEvent = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, event: VkEvent, stageMask: VkPipelineStageFlags, ), >; -pub type PFN_vkCmdWaitEvents = ::std::option::Option< +pub type PFN_vkCmdWaitEvents = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, eventCount: u32, @@ -4536,7 +4554,7 @@ pub type PFN_vkCmdWaitEvents = ::std::option::Option< pImageMemoryBarriers: *const VkImageMemoryBarrier, ), >; -pub type PFN_vkCmdPipelineBarrier = ::std::option::Option< +pub type PFN_vkCmdPipelineBarrier = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, srcStageMask: VkPipelineStageFlags, @@ -4550,7 +4568,7 @@ pub type PFN_vkCmdPipelineBarrier = ::std::option::Option< pImageMemoryBarriers: *const VkImageMemoryBarrier, ), >; -pub type PFN_vkCmdBeginQuery = ::std::option::Option< +pub type PFN_vkCmdBeginQuery = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, @@ -4558,10 +4576,10 @@ pub type PFN_vkCmdBeginQuery = ::std::option::Option< flags: VkQueryControlFlags, ), >; -pub type PFN_vkCmdEndQuery = ::std::option::Option< +pub type PFN_vkCmdEndQuery = Option< unsafe extern "C" fn(commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, query: u32), >; -pub type PFN_vkCmdResetQueryPool = ::std::option::Option< +pub type PFN_vkCmdResetQueryPool = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, @@ -4569,7 +4587,7 @@ pub type PFN_vkCmdResetQueryPool = ::std::option::Option< queryCount: u32, ), >; -pub type PFN_vkCmdWriteTimestamp = ::std::option::Option< +pub type PFN_vkCmdWriteTimestamp = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pipelineStage: VkPipelineStageFlagBits, @@ -4577,7 +4595,7 @@ pub type PFN_vkCmdWriteTimestamp = ::std::option::Option< query: u32, ), >; -pub type PFN_vkCmdCopyQueryPoolResults = ::std::option::Option< +pub type PFN_vkCmdCopyQueryPoolResults = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, queryPool: VkQueryPool, @@ -4589,29 +4607,29 @@ pub type PFN_vkCmdCopyQueryPoolResults = ::std::option::Option< flags: VkQueryResultFlags, ), >; -pub type PFN_vkCmdPushConstants = ::std::option::Option< +pub type PFN_vkCmdPushConstants = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, layout: VkPipelineLayout, stageFlags: VkShaderStageFlags, offset: u32, size: u32, - pValues: *const ::std::os::raw::c_void, + pValues: *const raw::c_void, ), >; -pub type PFN_vkCmdBeginRenderPass = ::std::option::Option< +pub type PFN_vkCmdBeginRenderPass = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pRenderPassBegin: *const VkRenderPassBeginInfo, contents: VkSubpassContents, ), >; -pub type PFN_vkCmdNextSubpass = ::std::option::Option< +pub type PFN_vkCmdNextSubpass = Option< unsafe extern "C" fn(commandBuffer: VkCommandBuffer, contents: VkSubpassContents), >; pub type PFN_vkCmdEndRenderPass = - ::std::option::Option; -pub type PFN_vkCmdExecuteCommands = ::std::option::Option< + Option; +pub type PFN_vkCmdExecuteCommands = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, commandBufferCount: u32, @@ -4691,7 +4709,7 @@ impl Clone for VkSurfaceCapabilitiesKHR { #[derive(Debug, Copy)] pub struct VkSurfaceCapabilities2KHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub surfaceCapabilities: VkSurfaceCapabilitiesKHR, } impl Clone for VkSurfaceCapabilities2KHR { @@ -4714,7 +4732,7 @@ impl Clone for VkSurfaceFormatKHR { #[derive(Debug, Copy)] pub struct VkSurfaceFormat2KHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub surfaceFormat: VkSurfaceFormatKHR, } impl Clone for VkSurfaceFormat2KHR { @@ -4726,7 +4744,7 @@ impl Clone for VkSurfaceFormat2KHR { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceSurfaceInfo2KHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub surface: VkSurfaceKHR, } impl Clone for VkPhysicalDeviceSurfaceInfo2KHR { @@ -4734,14 +4752,14 @@ impl Clone for VkPhysicalDeviceSurfaceInfo2KHR { *self } } -pub type PFN_vkDestroySurfaceKHR = ::std::option::Option< +pub type PFN_vkDestroySurfaceKHR = Option< unsafe extern "C" fn( instance: VkInstance, surface: VkSurfaceKHR, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, queueFamilyIndex: u32, @@ -4749,21 +4767,21 @@ pub type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = ::std::option::Option< pSupported: *mut VkBool32, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: *mut VkSurfaceCapabilitiesKHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pSurfaceInfo: *const VkPhysicalDeviceSurfaceInfo2KHR, pSurfaceCapabilities: *mut VkSurfaceCapabilities2KHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, @@ -4771,7 +4789,7 @@ pub type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = ::std::option::Option< pSurfaceFormats: *mut VkSurfaceFormatKHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pSurfaceInfo: *const VkPhysicalDeviceSurfaceInfo2KHR, @@ -4779,7 +4797,7 @@ pub type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR = ::std::option::Option< pSurfaceFormats: *mut VkSurfaceFormat2KHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, @@ -4787,21 +4805,21 @@ pub type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = ::std::option::Option< pPresentModes: *mut VkPresentModeKHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, pSurfaceCapabilities: *mut VkSurfaceCapabilities2EXT, ) -> VkResult, >; -pub type PFN_vkDisplayPowerControlEXT = ::std::option::Option< +pub type PFN_vkDisplayPowerControlEXT = Option< unsafe extern "C" fn( device: VkDevice, display: VkDisplayKHR, pDisplayPowerInfo: *const VkDisplayPowerInfoEXT, ) -> VkResult, >; -pub type PFN_vkRegisterDeviceEventEXT = ::std::option::Option< +pub type PFN_vkRegisterDeviceEventEXT = Option< unsafe extern "C" fn( device: VkDevice, pDeviceEventInfo: *const VkDeviceEventInfoEXT, @@ -4809,7 +4827,7 @@ pub type PFN_vkRegisterDeviceEventEXT = ::std::option::Option< pFence: *mut VkFence, ) -> VkResult, >; -pub type PFN_vkRegisterDisplayEventEXT = ::std::option::Option< +pub type PFN_vkRegisterDisplayEventEXT = Option< unsafe extern "C" fn( device: VkDevice, display: VkDisplayKHR, @@ -4818,7 +4836,7 @@ pub type PFN_vkRegisterDisplayEventEXT = ::std::option::Option< pFence: *mut VkFence, ) -> VkResult, >; -pub type PFN_vkGetSwapchainCounterEXT = ::std::option::Option< +pub type PFN_vkGetSwapchainCounterEXT = Option< unsafe extern "C" fn( device: VkDevice, swapchain: VkSwapchainKHR, @@ -4837,7 +4855,7 @@ pub type VkSwapchainCreateFlagsKHR = VkFlags; #[derive(Debug, Copy)] pub struct VkSwapchainCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkSwapchainCreateFlagsKHR, pub surface: VkSurfaceKHR, pub minImageCount: u32, @@ -4864,7 +4882,7 @@ impl Clone for VkSwapchainCreateInfoKHR { #[derive(Debug, Copy)] pub struct VkPresentInfoKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub waitSemaphoreCount: u32, pub pWaitSemaphores: *const VkSemaphore, pub swapchainCount: u32, @@ -4877,7 +4895,7 @@ impl Clone for VkPresentInfoKHR { *self } } -pub type PFN_vkCreateSwapchainKHR = ::std::option::Option< +pub type PFN_vkCreateSwapchainKHR = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkSwapchainCreateInfoKHR, @@ -4885,14 +4903,14 @@ pub type PFN_vkCreateSwapchainKHR = ::std::option::Option< pSwapchain: *mut VkSwapchainKHR, ) -> VkResult, >; -pub type PFN_vkDestroySwapchainKHR = ::std::option::Option< +pub type PFN_vkDestroySwapchainKHR = Option< unsafe extern "C" fn( device: VkDevice, swapchain: VkSwapchainKHR, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkGetSwapchainImagesKHR = ::std::option::Option< +pub type PFN_vkGetSwapchainImagesKHR = Option< unsafe extern "C" fn( device: VkDevice, swapchain: VkSwapchainKHR, @@ -4900,7 +4918,7 @@ pub type PFN_vkGetSwapchainImagesKHR = ::std::option::Option< pSwapchainImages: *mut VkImage, ) -> VkResult, >; -pub type PFN_vkAcquireNextImageKHR = ::std::option::Option< +pub type PFN_vkAcquireNextImageKHR = Option< unsafe extern "C" fn( device: VkDevice, swapchain: VkSwapchainKHR, @@ -4910,7 +4928,7 @@ pub type PFN_vkAcquireNextImageKHR = ::std::option::Option< pImageIndex: *mut u32, ) -> VkResult, >; -pub type PFN_vkQueuePresentKHR = ::std::option::Option< +pub type PFN_vkQueuePresentKHR = Option< unsafe extern "C" fn(queue: VkQueue, pPresentInfo: *const VkPresentInfoKHR) -> VkResult, >; #[repr(C)] @@ -4941,7 +4959,7 @@ pub type VkDisplaySurfaceCreateFlagsKHR = VkFlags; #[derive(Debug, Copy)] pub struct VkDisplayPropertiesKHR { pub display: VkDisplayKHR, - pub displayName: *const ::std::os::raw::c_char, + pub displayName: *const raw::c_char, pub physicalDimensions: VkExtent2D, pub physicalResolution: VkExtent2D, pub supportedTransforms: VkSurfaceTransformFlagsKHR, @@ -4979,7 +4997,7 @@ impl Clone for VkDisplayModePropertiesKHR { #[derive(Debug, Copy)] pub struct VkDisplayModeCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDisplayModeCreateFlagsKHR, pub parameters: VkDisplayModeParametersKHR, } @@ -5021,7 +5039,7 @@ impl Clone for VkDisplayPlanePropertiesKHR { #[derive(Debug, Copy)] pub struct VkDisplaySurfaceCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDisplaySurfaceCreateFlagsKHR, pub displayMode: VkDisplayModeKHR, pub planeIndex: u32, @@ -5036,21 +5054,21 @@ impl Clone for VkDisplaySurfaceCreateInfoKHR { *self } } -pub type PFN_vkGetPhysicalDeviceDisplayPropertiesKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceDisplayPropertiesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut VkDisplayPropertiesKHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut VkDisplayPlanePropertiesKHR, ) -> VkResult, >; -pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = ::std::option::Option< +pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, planeIndex: u32, @@ -5058,7 +5076,7 @@ pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = ::std::option::Option< pDisplays: *mut VkDisplayKHR, ) -> VkResult, >; -pub type PFN_vkGetDisplayModePropertiesKHR = ::std::option::Option< +pub type PFN_vkGetDisplayModePropertiesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, @@ -5066,7 +5084,7 @@ pub type PFN_vkGetDisplayModePropertiesKHR = ::std::option::Option< pProperties: *mut VkDisplayModePropertiesKHR, ) -> VkResult, >; -pub type PFN_vkCreateDisplayModeKHR = ::std::option::Option< +pub type PFN_vkCreateDisplayModeKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, display: VkDisplayKHR, @@ -5075,7 +5093,7 @@ pub type PFN_vkCreateDisplayModeKHR = ::std::option::Option< pMode: *mut VkDisplayModeKHR, ) -> VkResult, >; -pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = ::std::option::Option< +pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, mode: VkDisplayModeKHR, @@ -5083,7 +5101,7 @@ pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = ::std::option::Option< pCapabilities: *mut VkDisplayPlaneCapabilitiesKHR, ) -> VkResult, >; -pub type PFN_vkCreateDisplayPlaneSurfaceKHR = ::std::option::Option< +pub type PFN_vkCreateDisplayPlaneSurfaceKHR = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkDisplaySurfaceCreateInfoKHR, @@ -5095,7 +5113,7 @@ pub type PFN_vkCreateDisplayPlaneSurfaceKHR = ::std::option::Option< #[derive(Debug, Copy)] pub struct VkDisplayPresentInfoKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub srcRect: VkRect2D, pub dstRect: VkRect2D, pub persistent: VkBool32, @@ -5105,7 +5123,7 @@ impl Clone for VkDisplayPresentInfoKHR { *self } } -pub type PFN_vkCreateSharedSwapchainsKHR = ::std::option::Option< +pub type PFN_vkCreateSharedSwapchainsKHR = Option< unsafe extern "C" fn( device: VkDevice, swapchainCount: u32, @@ -5119,10 +5137,10 @@ pub type VkWin32SurfaceCreateFlagsKHR = VkFlags; #[derive(Debug, Copy)] pub struct VkWin32SurfaceCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub flags: VkWin32SurfaceCreateFlagsKHR, - pub hinstance: *mut ::std::os::raw::c_void, - pub hwnd: *mut ::std::os::raw::c_void, + pub hinstance: *mut raw::c_void, + pub hwnd: *mut raw::c_void, } impl Clone for VkWin32SurfaceCreateInfoKHR { fn clone(&self) -> Self { @@ -5134,9 +5152,9 @@ pub type VkXlibSurfaceCreateFlagsKHR = VkFlags; #[derive(Debug, Copy)] pub struct VkXlibSurfaceCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub flags: VkXlibSurfaceCreateFlagsKHR, - pub dpy: *mut ::std::os::raw::c_void, + pub dpy: *mut raw::c_void, pub window: u32, } impl Clone for VkXlibSurfaceCreateInfoKHR { @@ -5149,9 +5167,9 @@ pub type VkXcbSurfaceCreateFlagsKHR = VkFlags; #[derive(Debug, Copy)] pub struct VkXcbSurfaceCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub flags: VkXcbSurfaceCreateFlagsKHR, - pub connection: *mut ::std::os::raw::c_void, + pub connection: *mut raw::c_void, pub window: u32, } impl Clone for VkXcbSurfaceCreateInfoKHR { @@ -5164,9 +5182,9 @@ pub type VkMacOSSurfaceCreateFlagsMVK = VkFlags; #[derive(Debug, Copy)] pub struct VkMacOSSurfaceCreateInfoMVK { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub flags: VkMacOSSurfaceCreateFlagsMVK, - pub pView: *mut ::std::os::raw::c_void, + pub pView: *mut raw::c_void, } impl Clone for VkMacOSSurfaceCreateInfoMVK { fn clone(&self) -> Self { @@ -5177,7 +5195,7 @@ impl Clone for VkMacOSSurfaceCreateInfoMVK { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceFeatures2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub features: VkPhysicalDeviceFeatures, } impl Clone for VkPhysicalDeviceFeatures2KHR { @@ -5189,7 +5207,7 @@ impl Clone for VkPhysicalDeviceFeatures2KHR { #[derive(Copy)] pub struct VkPhysicalDeviceProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub properties: VkPhysicalDeviceProperties, } impl Clone for VkPhysicalDeviceProperties2KHR { @@ -5201,7 +5219,7 @@ impl Clone for VkPhysicalDeviceProperties2KHR { #[derive(Debug, Copy)] pub struct VkFormatProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub formatProperties: VkFormatProperties, } impl Clone for VkFormatProperties2KHR { @@ -5213,7 +5231,7 @@ impl Clone for VkFormatProperties2KHR { #[derive(Debug, Copy)] pub struct VkImageFormatProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub imageFormatProperties: VkImageFormatProperties, } impl Clone for VkImageFormatProperties2KHR { @@ -5225,7 +5243,7 @@ impl Clone for VkImageFormatProperties2KHR { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceImageFormatInfo2KHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub format: VkFormat, pub type_: VkImageType, pub tiling: VkImageTiling, @@ -5241,7 +5259,7 @@ impl Clone for VkPhysicalDeviceImageFormatInfo2KHR { #[derive(Debug, Copy)] pub struct VkQueueFamilyProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub queueFamilyProperties: VkQueueFamilyProperties, } impl Clone for VkQueueFamilyProperties2KHR { @@ -5253,7 +5271,7 @@ impl Clone for VkQueueFamilyProperties2KHR { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceMemoryProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub memoryProperties: VkPhysicalDeviceMemoryProperties, } impl Clone for VkPhysicalDeviceMemoryProperties2KHR { @@ -5265,7 +5283,7 @@ impl Clone for VkPhysicalDeviceMemoryProperties2KHR { #[derive(Debug, Copy)] pub struct VkSparseImageFormatProperties2KHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub properties: VkSparseImageFormatProperties, } impl Clone for VkSparseImageFormatProperties2KHR { @@ -5277,7 +5295,7 @@ impl Clone for VkSparseImageFormatProperties2KHR { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceSparseImageFormatInfo2KHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub format: VkFormat, pub type_: VkImageType, pub samples: VkSampleCountFlagBits, @@ -5289,46 +5307,46 @@ impl Clone for VkPhysicalDeviceSparseImageFormatInfo2KHR { *self } } -pub type PFN_vkGetPhysicalDeviceFeatures2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceFeatures2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pFeatures: *mut VkPhysicalDeviceFeatures2KHR, ), >; -pub type PFN_vkGetPhysicalDeviceProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pProperties: *mut VkPhysicalDeviceProperties2KHR, ), >; -pub type PFN_vkGetPhysicalDeviceFormatProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceFormatProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, format: VkFormat, pFormatProperties: *mut VkFormatProperties2KHR, ), >; -pub type PFN_vkGetPhysicalDeviceImageFormatProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceImageFormatProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pImageFormatInfo: *const VkPhysicalDeviceImageFormatInfo2KHR, pImageFormatProperties: *mut VkImageFormatProperties2KHR, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pQueueFamilyPropertyCount: *mut u32, pQueueFamilyProperties: *mut VkQueueFamilyProperties2KHR, ), >; -pub type PFN_vkGetPhysicalDeviceMemoryProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceMemoryProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pMemoryProperties: *mut VkPhysicalDeviceMemoryProperties2KHR, ), >; -pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pFormatInfo: *const VkPhysicalDeviceSparseImageFormatInfo2KHR, @@ -5337,7 +5355,7 @@ pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR = ::std::option: ), >; pub type VkCommandPoolTrimFlagsKHR = VkFlags; -pub type PFN_vkTrimCommandPoolKHR = ::std::option::Option< +pub type PFN_vkTrimCommandPoolKHR = Option< unsafe extern "C" fn( device: VkDevice, commandPool: VkCommandPool, @@ -5348,7 +5366,7 @@ pub type PFN_vkTrimCommandPoolKHR = ::std::option::Option< #[derive(Debug, Copy)] pub struct VkPhysicalDevicePushDescriptorPropertiesKHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub maxPushDescriptors: u32, } impl Clone for VkPhysicalDevicePushDescriptorPropertiesKHR { @@ -5356,7 +5374,7 @@ impl Clone for VkPhysicalDevicePushDescriptorPropertiesKHR { *self } } -pub type PFN_vkCmdPushDescriptorSetKHR = ::std::option::Option< +pub type PFN_vkCmdPushDescriptorSetKHR = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pipelineBindPoint: VkPipelineBindPoint, @@ -5406,7 +5424,7 @@ impl Clone for VkDescriptorUpdateTemplateEntryKHR { #[derive(Debug, Copy)] pub struct VkDescriptorUpdateTemplateCreateInfoKHR { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub flags: VkDescriptorUpdateTemplateCreateFlagsKHR, pub descriptorUpdateEntryCount: u32, pub pDescriptorUpdateEntries: *const VkDescriptorUpdateTemplateEntryKHR, @@ -5421,7 +5439,7 @@ impl Clone for VkDescriptorUpdateTemplateCreateInfoKHR { *self } } -pub type PFN_vkCreateDescriptorUpdateTemplateKHR = ::std::option::Option< +pub type PFN_vkCreateDescriptorUpdateTemplateKHR = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkDescriptorUpdateTemplateCreateInfoKHR, @@ -5429,28 +5447,28 @@ pub type PFN_vkCreateDescriptorUpdateTemplateKHR = ::std::option::Option< pDescriptorUpdateTemplate: *mut VkDescriptorUpdateTemplateKHR, ) -> VkResult, >; -pub type PFN_vkDestroyDescriptorUpdateTemplateKHR = ::std::option::Option< +pub type PFN_vkDestroyDescriptorUpdateTemplateKHR = Option< unsafe extern "C" fn( device: VkDevice, descriptorUpdateTemplate: VkDescriptorUpdateTemplateKHR, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkUpdateDescriptorSetWithTemplateKHR = ::std::option::Option< +pub type PFN_vkUpdateDescriptorSetWithTemplateKHR = Option< unsafe extern "C" fn( device: VkDevice, descriptorSet: VkDescriptorSet, descriptorUpdateTemplate: VkDescriptorUpdateTemplateKHR, - pData: *const ::std::os::raw::c_void, + pData: *const raw::c_void, ), >; -pub type PFN_vkCmdPushDescriptorSetWithTemplateKHR = ::std::option::Option< +pub type PFN_vkCmdPushDescriptorSetWithTemplateKHR = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, descriptorUpdateTemplate: VkDescriptorUpdateTemplateKHR, layout: VkPipelineLayout, set: u32, - pData: *const ::std::os::raw::c_void, + pData: *const raw::c_void, ), >; #[repr(C)] @@ -5527,33 +5545,33 @@ pub enum VkDebugReportFlagBitsEXT { VK_DEBUG_REPORT_FLAG_BITS_MAX_ENUM_EXT = 2147483647, } pub type VkDebugReportFlagsEXT = VkFlags; -pub type PFN_vkDebugReportCallbackEXT = ::std::option::Option< +pub type PFN_vkDebugReportCallbackEXT = Option< unsafe extern "C" fn( flags: VkDebugReportFlagsEXT, objectType: VkDebugReportObjectTypeEXT, object: u64, location: usize, messageCode: i32, - pLayerPrefix: *const ::std::os::raw::c_char, - pMessage: *const ::std::os::raw::c_char, - pUserData: *mut ::std::os::raw::c_void, + pLayerPrefix: *const raw::c_char, + pMessage: *const raw::c_char, + pUserData: *mut raw::c_void, ) -> VkBool32, >; #[repr(C)] #[derive(Debug, Copy)] pub struct VkDebugReportCallbackCreateInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkDebugReportFlagsEXT, pub pfnCallback: PFN_vkDebugReportCallbackEXT, - pub pUserData: *mut ::std::os::raw::c_void, + pub pUserData: *mut raw::c_void, } impl Clone for VkDebugReportCallbackCreateInfoEXT { fn clone(&self) -> Self { *self } } -pub type PFN_vkCreateDebugReportCallbackEXT = ::std::option::Option< +pub type PFN_vkCreateDebugReportCallbackEXT = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkDebugReportCallbackCreateInfoEXT, @@ -5561,14 +5579,14 @@ pub type PFN_vkCreateDebugReportCallbackEXT = ::std::option::Option< pCallback: *mut VkDebugReportCallbackEXT, ) -> VkResult, >; -pub type PFN_vkDestroyDebugReportCallbackEXT = ::std::option::Option< +pub type PFN_vkDestroyDebugReportCallbackEXT = Option< unsafe extern "C" fn( instance: VkInstance, callback: VkDebugReportCallbackEXT, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkDebugReportMessageEXT = ::std::option::Option< +pub type PFN_vkDebugReportMessageEXT = Option< unsafe extern "C" fn( instance: VkInstance, flags: VkDebugReportFlagsEXT, @@ -5576,8 +5594,8 @@ pub type PFN_vkDebugReportMessageEXT = ::std::option::Option< object: u64, location: usize, messageCode: i32, - pLayerPrefix: *const ::std::os::raw::c_char, - pMessage: *const ::std::os::raw::c_char, + pLayerPrefix: *const raw::c_char, + pMessage: *const raw::c_char, ), >; pub const VkRasterizationOrderAMD_VK_RASTERIZATION_ORDER_BEGIN_RANGE_AMD: VkRasterizationOrderAMD = @@ -5596,7 +5614,7 @@ pub enum VkRasterizationOrderAMD { #[derive(Debug, Copy)] pub struct VkPipelineRasterizationStateRasterizationOrderAMD { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub rasterizationOrder: VkRasterizationOrderAMD, } impl Clone for VkPipelineRasterizationStateRasterizationOrderAMD { @@ -5608,10 +5626,10 @@ impl Clone for VkPipelineRasterizationStateRasterizationOrderAMD { #[derive(Debug, Copy)] pub struct VkDebugMarkerObjectNameInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub objectType: VkDebugReportObjectTypeEXT, pub object: u64, - pub pObjectName: *const ::std::os::raw::c_char, + pub pObjectName: *const raw::c_char, } impl Clone for VkDebugMarkerObjectNameInfoEXT { fn clone(&self) -> Self { @@ -5622,12 +5640,12 @@ impl Clone for VkDebugMarkerObjectNameInfoEXT { #[derive(Debug, Copy)] pub struct VkDebugMarkerObjectTagInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub objectType: VkDebugReportObjectTypeEXT, pub object: u64, pub tagName: u64, pub tagSize: usize, - pub pTag: *const ::std::os::raw::c_void, + pub pTag: *const raw::c_void, } impl Clone for VkDebugMarkerObjectTagInfoEXT { fn clone(&self) -> Self { @@ -5638,8 +5656,8 @@ impl Clone for VkDebugMarkerObjectTagInfoEXT { #[derive(Debug, Copy)] pub struct VkDebugMarkerMarkerInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, - pub pMarkerName: *const ::std::os::raw::c_char, + pub pNext: *const raw::c_void, + pub pMarkerName: *const raw::c_char, pub color: [f32; 4usize], } impl Clone for VkDebugMarkerMarkerInfoEXT { @@ -5647,27 +5665,27 @@ impl Clone for VkDebugMarkerMarkerInfoEXT { *self } } -pub type PFN_vkDebugMarkerSetObjectTagEXT = ::std::option::Option< +pub type PFN_vkDebugMarkerSetObjectTagEXT = Option< unsafe extern "C" fn( device: VkDevice, pTagInfo: *mut VkDebugMarkerObjectTagInfoEXT, ) -> VkResult, >; -pub type PFN_vkDebugMarkerSetObjectNameEXT = ::std::option::Option< +pub type PFN_vkDebugMarkerSetObjectNameEXT = Option< unsafe extern "C" fn( device: VkDevice, pNameInfo: *mut VkDebugMarkerObjectNameInfoEXT, ) -> VkResult, >; -pub type PFN_vkCmdDebugMarkerBeginEXT = ::std::option::Option< +pub type PFN_vkCmdDebugMarkerBeginEXT = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pMarkerInfo: *mut VkDebugMarkerMarkerInfoEXT, ), >; pub type PFN_vkCmdDebugMarkerEndEXT = - ::std::option::Option; -pub type PFN_vkCmdDebugMarkerInsertEXT = ::std::option::Option< + Option; +pub type PFN_vkCmdDebugMarkerInsertEXT = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pMarkerInfo: *mut VkDebugMarkerMarkerInfoEXT, @@ -5678,7 +5696,7 @@ pub type PFN_vkCmdDebugMarkerInsertEXT = ::std::option::Option< #[derive(Debug, Copy)] pub struct VkDedicatedAllocationImageCreateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub dedicatedAllocation: VkBool32, } impl Clone for VkDedicatedAllocationImageCreateInfoNV { @@ -5690,7 +5708,7 @@ impl Clone for VkDedicatedAllocationImageCreateInfoNV { #[derive(Debug, Copy)] pub struct VkDedicatedAllocationBufferCreateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub dedicatedAllocation: VkBool32, } impl Clone for VkDedicatedAllocationBufferCreateInfoNV { @@ -5702,7 +5720,7 @@ impl Clone for VkDedicatedAllocationBufferCreateInfoNV { #[derive(Debug, Copy)] pub struct VkDedicatedAllocationMemoryAllocateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub image: VkImage, pub buffer: VkBuffer, } @@ -5711,7 +5729,7 @@ impl Clone for VkDedicatedAllocationMemoryAllocateInfoNV { *self } } -pub type PFN_vkCmdDrawIndirectCountAMD = ::std::option::Option< +pub type PFN_vkCmdDrawIndirectCountAMD = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, buffer: VkBuffer, @@ -5722,7 +5740,7 @@ pub type PFN_vkCmdDrawIndirectCountAMD = ::std::option::Option< stride: u32, ), >; -pub type PFN_vkCmdDrawIndexedIndirectCountAMD = ::std::option::Option< +pub type PFN_vkCmdDrawIndexedIndirectCountAMD = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, buffer: VkBuffer, @@ -5738,7 +5756,7 @@ pub type PFN_vkCmdDrawIndexedIndirectCountAMD = ::std::option::Option< #[derive(Debug, Copy)] pub struct VkRenderPassMultiviewCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub subpassCount: u32, pub pViewMasks: *const u32, pub dependencyCount: u32, @@ -5755,7 +5773,7 @@ impl Clone for VkRenderPassMultiviewCreateInfoKHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceMultiviewFeaturesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub multiview: VkBool32, pub multiviewGeometryShader: VkBool32, pub multiviewTessellationShader: VkBool32, @@ -5769,7 +5787,7 @@ impl Clone for VkPhysicalDeviceMultiviewFeaturesKHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceMultiviewPropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub maxMultiviewViewCount: u32, pub maxMultiviewInstanceIndex: u32, } @@ -5810,7 +5828,7 @@ impl Clone for VkExternalImageFormatPropertiesNV { *self } } -pub type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, format: VkFormat, @@ -5826,7 +5844,7 @@ pub type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV = ::std::option: #[derive(Debug, Copy)] pub struct VkExternalMemoryImageCreateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalMemoryHandleTypeFlagsNV, } impl Clone for VkExternalMemoryImageCreateInfoNV { @@ -5838,7 +5856,7 @@ impl Clone for VkExternalMemoryImageCreateInfoNV { #[derive(Debug, Copy)] pub struct VkExportMemoryAllocateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalMemoryHandleTypeFlagsNV, } impl Clone for VkExportMemoryAllocateInfoNV { @@ -5877,7 +5895,7 @@ pub type VkDeviceGroupPresentModeFlagsKHX = VkFlags; #[derive(Debug, Copy)] pub struct VkMemoryAllocateFlagsInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkMemoryAllocateFlagsKHX, pub deviceMask: u32, } @@ -5890,7 +5908,7 @@ impl Clone for VkMemoryAllocateFlagsInfoKHX { #[derive(Debug, Copy)] pub struct VkBindBufferMemoryInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub buffer: VkBuffer, pub memory: VkDeviceMemory, pub memoryOffset: VkDeviceSize, @@ -5906,7 +5924,7 @@ impl Clone for VkBindBufferMemoryInfoKHX { #[derive(Debug, Copy)] pub struct VkBindImageMemoryInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub image: VkImage, pub memory: VkDeviceMemory, pub memoryOffset: VkDeviceSize, @@ -5924,7 +5942,7 @@ impl Clone for VkBindImageMemoryInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupRenderPassBeginInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub deviceMask: u32, pub deviceRenderAreaCount: u32, pub pDeviceRenderAreas: *const VkRect2D, @@ -5938,7 +5956,7 @@ impl Clone for VkDeviceGroupRenderPassBeginInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupCommandBufferBeginInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub deviceMask: u32, } impl Clone for VkDeviceGroupCommandBufferBeginInfoKHX { @@ -5950,7 +5968,7 @@ impl Clone for VkDeviceGroupCommandBufferBeginInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupSubmitInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub waitSemaphoreCount: u32, pub pWaitSemaphoreDeviceIndices: *const u32, pub commandBufferCount: u32, @@ -5967,7 +5985,7 @@ impl Clone for VkDeviceGroupSubmitInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupBindSparseInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub resourceDeviceIndex: u32, pub memoryDeviceIndex: u32, } @@ -5980,7 +5998,7 @@ impl Clone for VkDeviceGroupBindSparseInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupPresentCapabilitiesKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub presentMask: [u32; 32usize], pub modes: VkDeviceGroupPresentModeFlagsKHX, } @@ -5993,7 +6011,7 @@ impl Clone for VkDeviceGroupPresentCapabilitiesKHX { #[derive(Debug, Copy)] pub struct VkImageSwapchainCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub swapchain: VkSwapchainKHR, } impl Clone for VkImageSwapchainCreateInfoKHX { @@ -6005,7 +6023,7 @@ impl Clone for VkImageSwapchainCreateInfoKHX { #[derive(Debug, Copy)] pub struct VkBindImageMemorySwapchainInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub swapchain: VkSwapchainKHR, pub imageIndex: u32, } @@ -6018,7 +6036,7 @@ impl Clone for VkBindImageMemorySwapchainInfoKHX { #[derive(Debug, Copy)] pub struct VkAcquireNextImageInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub swapchain: VkSwapchainKHR, pub timeout: u64, pub semaphore: VkSemaphore, @@ -6034,7 +6052,7 @@ impl Clone for VkAcquireNextImageInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupPresentInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub swapchainCount: u32, pub pDeviceMasks: *const u32, pub mode: VkDeviceGroupPresentModeFlagBitsKHX, @@ -6048,7 +6066,7 @@ impl Clone for VkDeviceGroupPresentInfoKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupSwapchainCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub modes: VkDeviceGroupPresentModeFlagsKHX, } impl Clone for VkDeviceGroupSwapchainCreateInfoKHX { @@ -6056,7 +6074,7 @@ impl Clone for VkDeviceGroupSwapchainCreateInfoKHX { *self } } -pub type PFN_vkGetDeviceGroupPeerMemoryFeaturesKHX = ::std::option::Option< +pub type PFN_vkGetDeviceGroupPeerMemoryFeaturesKHX = Option< unsafe extern "C" fn( device: VkDevice, heapIndex: u32, @@ -6065,14 +6083,14 @@ pub type PFN_vkGetDeviceGroupPeerMemoryFeaturesKHX = ::std::option::Option< pPeerMemoryFeatures: *mut VkPeerMemoryFeatureFlagsKHX, ), >; -pub type PFN_vkBindBufferMemory2KHX = ::std::option::Option< +pub type PFN_vkBindBufferMemory2KHX = Option< unsafe extern "C" fn( device: VkDevice, bindInfoCount: u32, pBindInfos: *const VkBindBufferMemoryInfoKHX, ) -> VkResult, >; -pub type PFN_vkBindImageMemory2KHX = ::std::option::Option< +pub type PFN_vkBindImageMemory2KHX = Option< unsafe extern "C" fn( device: VkDevice, bindInfoCount: u32, @@ -6080,28 +6098,28 @@ pub type PFN_vkBindImageMemory2KHX = ::std::option::Option< ) -> VkResult, >; pub type PFN_vkCmdSetDeviceMaskKHX = - ::std::option::Option; -pub type PFN_vkGetDeviceGroupPresentCapabilitiesKHX = ::std::option::Option< + Option; +pub type PFN_vkGetDeviceGroupPresentCapabilitiesKHX = Option< unsafe extern "C" fn( device: VkDevice, pDeviceGroupPresentCapabilities: *mut VkDeviceGroupPresentCapabilitiesKHX, ) -> VkResult, >; -pub type PFN_vkGetDeviceGroupSurfacePresentModesKHX = ::std::option::Option< +pub type PFN_vkGetDeviceGroupSurfacePresentModesKHX = Option< unsafe extern "C" fn( device: VkDevice, surface: VkSurfaceKHR, pModes: *mut VkDeviceGroupPresentModeFlagsKHX, ) -> VkResult, >; -pub type PFN_vkAcquireNextImage2KHX = ::std::option::Option< +pub type PFN_vkAcquireNextImage2KHX = Option< unsafe extern "C" fn( device: VkDevice, pAcquireInfo: *const VkAcquireNextImageInfoKHX, pImageIndex: *mut u32, ) -> VkResult, >; -pub type PFN_vkCmdDispatchBaseKHX = ::std::option::Option< +pub type PFN_vkCmdDispatchBaseKHX = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, baseGroupX: u32, @@ -6112,7 +6130,7 @@ pub type PFN_vkCmdDispatchBaseKHX = ::std::option::Option< groupCountZ: u32, ), >; -pub type PFN_vkGetPhysicalDevicePresentRectanglesKHX = ::std::option::Option< +pub type PFN_vkGetPhysicalDevicePresentRectanglesKHX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, surface: VkSurfaceKHR, @@ -6136,7 +6154,7 @@ pub enum VkValidationCheckEXT { #[derive(Debug, Copy)] pub struct VkValidationFlagsEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub disabledValidationCheckCount: u32, pub pDisabledValidationChecks: *mut VkValidationCheckEXT, } @@ -6149,7 +6167,7 @@ impl Clone for VkValidationFlagsEXT { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceGroupPropertiesKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub physicalDeviceCount: u32, pub physicalDevices: [VkPhysicalDevice; 32usize], pub subsetAllocation: VkBool32, @@ -6163,7 +6181,7 @@ impl Clone for VkPhysicalDeviceGroupPropertiesKHX { #[derive(Debug, Copy)] pub struct VkDeviceGroupDeviceCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub physicalDeviceCount: u32, pub pPhysicalDevices: *const VkPhysicalDevice, } @@ -6172,7 +6190,7 @@ impl Clone for VkDeviceGroupDeviceCreateInfoKHX { *self } } -pub type PFN_vkEnumeratePhysicalDeviceGroupsKHX = ::std::option::Option< +pub type PFN_vkEnumeratePhysicalDeviceGroupsKHX = Option< unsafe extern "C" fn( instance: VkInstance, pPhysicalDeviceGroupCount: *mut u32, @@ -6217,7 +6235,7 @@ impl Clone for VkExternalMemoryPropertiesKHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceExternalImageFormatInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleType: VkExternalMemoryHandleTypeFlagBitsKHX, } impl Clone for VkPhysicalDeviceExternalImageFormatInfoKHX { @@ -6229,7 +6247,7 @@ impl Clone for VkPhysicalDeviceExternalImageFormatInfoKHX { #[derive(Debug, Copy)] pub struct VkExternalImageFormatPropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub externalMemoryProperties: VkExternalMemoryPropertiesKHX, } impl Clone for VkExternalImageFormatPropertiesKHX { @@ -6241,7 +6259,7 @@ impl Clone for VkExternalImageFormatPropertiesKHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceExternalBufferInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkBufferCreateFlags, pub usage: VkBufferUsageFlags, pub handleType: VkExternalMemoryHandleTypeFlagBitsKHX, @@ -6255,7 +6273,7 @@ impl Clone for VkPhysicalDeviceExternalBufferInfoKHX { #[derive(Debug, Copy)] pub struct VkExternalBufferPropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub externalMemoryProperties: VkExternalMemoryPropertiesKHX, } impl Clone for VkExternalBufferPropertiesKHX { @@ -6267,7 +6285,7 @@ impl Clone for VkExternalBufferPropertiesKHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceIDPropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub deviceUUID: [u8; 16usize], pub driverUUID: [u8; 16usize], pub deviceLUID: [u8; 8usize], @@ -6282,7 +6300,7 @@ impl Clone for VkPhysicalDeviceIDPropertiesKHX { #[derive(Copy)] pub struct VkPhysicalDeviceProperties2KHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub properties: VkPhysicalDeviceProperties, } impl Clone for VkPhysicalDeviceProperties2KHX { @@ -6294,7 +6312,7 @@ impl Clone for VkPhysicalDeviceProperties2KHX { #[derive(Debug, Copy)] pub struct VkImageFormatProperties2KHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub imageFormatProperties: VkImageFormatProperties, } impl Clone for VkImageFormatProperties2KHX { @@ -6306,7 +6324,7 @@ impl Clone for VkImageFormatProperties2KHX { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceImageFormatInfo2KHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub format: VkFormat, pub type_: VkImageType, pub tiling: VkImageTiling, @@ -6318,20 +6336,20 @@ impl Clone for VkPhysicalDeviceImageFormatInfo2KHX { *self } } -pub type PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHX = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pExternalBufferInfo: *const VkPhysicalDeviceExternalBufferInfoKHX, pExternalBufferProperties: *mut VkExternalBufferPropertiesKHX, ), >; -pub type PFN_vkGetPhysicalDeviceProperties2KHX = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceProperties2KHX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pProperties: *mut VkPhysicalDeviceProperties2KHX, ), >; -pub type PFN_vkGetPhysicalDeviceImageFormatProperties2KHX = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceImageFormatProperties2KHX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pImageFormatInfo: *const VkPhysicalDeviceImageFormatInfo2KHX, @@ -6343,7 +6361,7 @@ pub type PFN_vkGetPhysicalDeviceImageFormatProperties2KHX = ::std::option::Optio #[derive(Debug, Copy)] pub struct VkExternalMemoryImageCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalMemoryHandleTypeFlagsKHX, } impl Clone for VkExternalMemoryImageCreateInfoKHX { @@ -6355,7 +6373,7 @@ impl Clone for VkExternalMemoryImageCreateInfoKHX { #[derive(Debug, Copy)] pub struct VkExternalMemoryBufferCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalMemoryHandleTypeFlagsKHX, } impl Clone for VkExternalMemoryBufferCreateInfoKHX { @@ -6367,7 +6385,7 @@ impl Clone for VkExternalMemoryBufferCreateInfoKHX { #[derive(Debug, Copy)] pub struct VkExportMemoryAllocateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalMemoryHandleTypeFlagsKHX, } impl Clone for VkExportMemoryAllocateInfoKHX { @@ -6379,9 +6397,9 @@ impl Clone for VkExportMemoryAllocateInfoKHX { #[derive(Debug, Copy)] pub struct VkImportMemoryFdInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleType: VkExternalMemoryHandleTypeFlagBitsKHX, - pub fd: ::std::os::raw::c_int, + pub fd: raw::c_int, } impl Clone for VkImportMemoryFdInfoKHX { fn clone(&self) -> Self { @@ -6392,7 +6410,7 @@ impl Clone for VkImportMemoryFdInfoKHX { #[derive(Debug, Copy)] pub struct VkMemoryFdPropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub memoryTypeBits: u32, } impl Clone for VkMemoryFdPropertiesKHX { @@ -6400,19 +6418,19 @@ impl Clone for VkMemoryFdPropertiesKHX { *self } } -pub type PFN_vkGetMemoryFdKHX = ::std::option::Option< +pub type PFN_vkGetMemoryFdKHX = Option< unsafe extern "C" fn( device: VkDevice, memory: VkDeviceMemory, handleType: VkExternalMemoryHandleTypeFlagBitsKHX, - pFd: *mut ::std::os::raw::c_int, + pFd: *mut raw::c_int, ) -> VkResult, >; -pub type PFN_vkGetMemoryFdPropertiesKHX = ::std::option::Option< +pub type PFN_vkGetMemoryFdPropertiesKHX = Option< unsafe extern "C" fn( device: VkDevice, handleType: VkExternalMemoryHandleTypeFlagBitsKHX, - fd: ::std::os::raw::c_int, + fd: raw::c_int, pMemoryFdProperties: *mut VkMemoryFdPropertiesKHX, ) -> VkResult, >; @@ -6440,7 +6458,7 @@ pub type VkExternalSemaphoreFeatureFlagsKHX = VkFlags; #[derive(Debug, Copy)] pub struct VkPhysicalDeviceExternalSemaphoreInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleType: VkExternalSemaphoreHandleTypeFlagBitsKHX, } impl Clone for VkPhysicalDeviceExternalSemaphoreInfoKHX { @@ -6452,7 +6470,7 @@ impl Clone for VkPhysicalDeviceExternalSemaphoreInfoKHX { #[derive(Debug, Copy)] pub struct VkExternalSemaphorePropertiesKHX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub exportFromImportedHandleTypes: VkExternalSemaphoreHandleTypeFlagsKHX, pub compatibleHandleTypes: VkExternalSemaphoreHandleTypeFlagsKHX, pub externalSemaphoreFeatures: VkExternalSemaphoreFeatureFlagsKHX, @@ -6462,7 +6480,7 @@ impl Clone for VkExternalSemaphorePropertiesKHX { *self } } -pub type PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHX = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pExternalSemaphoreInfo: *const VkPhysicalDeviceExternalSemaphoreInfoKHX, @@ -6473,7 +6491,7 @@ pub type PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHX = ::std::option:: #[derive(Debug, Copy)] pub struct VkExportSemaphoreCreateInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub handleTypes: VkExternalSemaphoreHandleTypeFlagsKHX, } impl Clone for VkExportSemaphoreCreateInfoKHX { @@ -6485,28 +6503,28 @@ impl Clone for VkExportSemaphoreCreateInfoKHX { #[derive(Debug, Copy)] pub struct VkImportSemaphoreFdInfoKHX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub semaphore: VkSemaphore, pub handleType: VkExternalSemaphoreHandleTypeFlagBitsKHX, - pub fd: ::std::os::raw::c_int, + pub fd: raw::c_int, } impl Clone for VkImportSemaphoreFdInfoKHX { fn clone(&self) -> Self { *self } } -pub type PFN_vkImportSemaphoreFdKHX = ::std::option::Option< +pub type PFN_vkImportSemaphoreFdKHX = Option< unsafe extern "C" fn( device: VkDevice, pImportSemaphoreFdInfo: *const VkImportSemaphoreFdInfoKHX, ) -> VkResult, >; -pub type PFN_vkGetSemaphoreFdKHX = ::std::option::Option< +pub type PFN_vkGetSemaphoreFdKHX = Option< unsafe extern "C" fn( device: VkDevice, semaphore: VkSemaphore, handleType: VkExternalSemaphoreHandleTypeFlagBitsKHX, - pFd: *mut ::std::os::raw::c_int, + pFd: *mut raw::c_int, ) -> VkResult, >; @@ -6579,7 +6597,7 @@ pub type VkObjectEntryUsageFlagsNVX = VkFlags; #[derive(Debug, Copy)] pub struct VkDeviceGeneratedCommandsFeaturesNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub computeBindingPointSupport: VkBool32, } impl Clone for VkDeviceGeneratedCommandsFeaturesNVX { @@ -6591,7 +6609,7 @@ impl Clone for VkDeviceGeneratedCommandsFeaturesNVX { #[derive(Debug, Copy)] pub struct VkDeviceGeneratedCommandsLimitsNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub maxIndirectCommandsLayoutTokenCount: u32, pub maxObjectEntryCounts: u32, pub minSequenceCountBufferOffsetAlignment: u32, @@ -6632,7 +6650,7 @@ impl Clone for VkIndirectCommandsLayoutTokenNVX { #[derive(Debug, Copy)] pub struct VkIndirectCommandsLayoutCreateInfoNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub pipelineBindPoint: VkPipelineBindPoint, pub flags: VkIndirectCommandsLayoutUsageFlagsNVX, pub tokenCount: u32, @@ -6647,7 +6665,7 @@ impl Clone for VkIndirectCommandsLayoutCreateInfoNVX { #[derive(Debug, Copy)] pub struct VkCmdProcessCommandsInfoNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub objectTable: VkObjectTableNVX, pub indirectCommandsLayout: VkIndirectCommandsLayoutNVX, pub indirectCommandsTokenCount: u32, @@ -6668,7 +6686,7 @@ impl Clone for VkCmdProcessCommandsInfoNVX { #[derive(Debug, Copy)] pub struct VkCmdReserveSpaceForCommandsInfoNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub objectTable: VkObjectTableNVX, pub indirectCommandsLayout: VkIndirectCommandsLayoutNVX, pub maxSequencesCount: u32, @@ -6682,7 +6700,7 @@ impl Clone for VkCmdReserveSpaceForCommandsInfoNVX { #[derive(Debug, Copy)] pub struct VkObjectTableCreateInfoNVX { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub objectCount: u32, pub pObjectEntryTypes: *const VkObjectEntryTypeNVX, pub pObjectEntryCounts: *const u32, @@ -6772,19 +6790,19 @@ impl Clone for VkObjectTablePushConstantEntryNVX { *self } } -pub type PFN_vkCmdProcessCommandsNVX = ::std::option::Option< +pub type PFN_vkCmdProcessCommandsNVX = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pProcessCommandsInfo: *const VkCmdProcessCommandsInfoNVX, ), >; -pub type PFN_vkCmdReserveSpaceForCommandsNVX = ::std::option::Option< +pub type PFN_vkCmdReserveSpaceForCommandsNVX = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, pReserveSpaceInfo: *const VkCmdReserveSpaceForCommandsInfoNVX, ), >; -pub type PFN_vkCreateIndirectCommandsLayoutNVX = ::std::option::Option< +pub type PFN_vkCreateIndirectCommandsLayoutNVX = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkIndirectCommandsLayoutCreateInfoNVX, @@ -6792,14 +6810,14 @@ pub type PFN_vkCreateIndirectCommandsLayoutNVX = ::std::option::Option< pIndirectCommandsLayout: *mut VkIndirectCommandsLayoutNVX, ) -> VkResult, >; -pub type PFN_vkDestroyIndirectCommandsLayoutNVX = ::std::option::Option< +pub type PFN_vkDestroyIndirectCommandsLayoutNVX = Option< unsafe extern "C" fn( device: VkDevice, indirectCommandsLayout: VkIndirectCommandsLayoutNVX, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkCreateObjectTableNVX = ::std::option::Option< +pub type PFN_vkCreateObjectTableNVX = Option< unsafe extern "C" fn( device: VkDevice, pCreateInfo: *const VkObjectTableCreateInfoNVX, @@ -6807,14 +6825,14 @@ pub type PFN_vkCreateObjectTableNVX = ::std::option::Option< pObjectTable: *mut VkObjectTableNVX, ) -> VkResult, >; -pub type PFN_vkDestroyObjectTableNVX = ::std::option::Option< +pub type PFN_vkDestroyObjectTableNVX = Option< unsafe extern "C" fn( device: VkDevice, objectTable: VkObjectTableNVX, pAllocator: *const VkAllocationCallbacks, ), >; -pub type PFN_vkRegisterObjectsNVX = ::std::option::Option< +pub type PFN_vkRegisterObjectsNVX = Option< unsafe extern "C" fn( device: VkDevice, objectTable: VkObjectTableNVX, @@ -6823,7 +6841,7 @@ pub type PFN_vkRegisterObjectsNVX = ::std::option::Option< pObjectIndices: *const u32, ) -> VkResult, >; -pub type PFN_vkUnregisterObjectsNVX = ::std::option::Option< +pub type PFN_vkUnregisterObjectsNVX = Option< unsafe extern "C" fn( device: VkDevice, objectTable: VkObjectTableNVX, @@ -6832,7 +6850,7 @@ pub type PFN_vkUnregisterObjectsNVX = ::std::option::Option< pObjectIndices: *const u32, ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = Option< unsafe extern "C" fn( physicalDevice: VkPhysicalDevice, pFeatures: *mut VkDeviceGeneratedCommandsFeaturesNVX, @@ -6854,7 +6872,7 @@ impl Clone for VkViewportWScalingNV { #[derive(Debug, Copy)] pub struct VkPipelineViewportWScalingStateCreateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub viewportWScalingEnable: VkBool32, pub viewportCount: u32, pub pViewportWScalings: *const VkViewportWScalingNV, @@ -6864,7 +6882,7 @@ impl Clone for VkPipelineViewportWScalingStateCreateInfoNV { *self } } -pub type PFN_vkCmdSetViewportWScalingNV = ::std::option::Option< +pub type PFN_vkCmdSetViewportWScalingNV = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, firstViewport: u32, @@ -6873,7 +6891,7 @@ pub type PFN_vkCmdSetViewportWScalingNV = ::std::option::Option< ), >; -pub type PFN_vkReleaseDisplayEXT = ::std::option::Option< +pub type PFN_vkReleaseDisplayEXT = Option< unsafe extern "C" fn(physicalDevice: VkPhysicalDevice, display: VkDisplayKHR) -> VkResult, >; #[repr(u32)] @@ -6887,7 +6905,7 @@ pub type VkSurfaceCounterFlagsEXT = VkFlags; #[derive(Debug, Copy)] pub struct VkSurfaceCapabilities2EXT { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub minImageCount: u32, pub maxImageCount: u32, pub currentExtent: VkExtent2D, @@ -6944,7 +6962,7 @@ pub enum VkDisplayEventTypeEXT { #[derive(Debug, Copy)] pub struct VkDisplayPowerInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub powerState: VkDisplayPowerStateEXT, } impl Clone for VkDisplayPowerInfoEXT { @@ -6956,7 +6974,7 @@ impl Clone for VkDisplayPowerInfoEXT { #[derive(Debug, Copy)] pub struct VkDeviceEventInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub deviceEvent: VkDeviceEventTypeEXT, } impl Clone for VkDeviceEventInfoEXT { @@ -6968,7 +6986,7 @@ impl Clone for VkDeviceEventInfoEXT { #[derive(Debug, Copy)] pub struct VkDisplayEventInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub displayEvent: VkDisplayEventTypeEXT, } impl Clone for VkDisplayEventInfoEXT { @@ -6980,7 +6998,7 @@ impl Clone for VkDisplayEventInfoEXT { #[derive(Debug, Copy)] pub struct VkSwapchainCounterCreateInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub surfaceCounters: VkSurfaceCounterFlagsEXT, } impl Clone for VkSwapchainCounterCreateInfoEXT { @@ -6993,7 +7011,7 @@ impl Clone for VkSwapchainCounterCreateInfoEXT { #[derive(Debug, Copy)] pub struct VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { pub sType: VkStructureType, - pub pNext: *mut ::std::os::raw::c_void, + pub pNext: *mut raw::c_void, pub perViewPositionAllComponents: VkBool32, } impl Clone for VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { @@ -7039,7 +7057,7 @@ impl Clone for VkViewportSwizzleNV { #[derive(Debug, Copy)] pub struct VkPipelineViewportSwizzleStateCreateInfoNV { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineViewportSwizzleStateCreateFlagsNV, pub viewportCount: u32, pub pViewportSwizzles: *const VkViewportSwizzleNV, @@ -7066,7 +7084,7 @@ pub type VkPipelineDiscardRectangleStateCreateFlagsEXT = VkFlags; #[derive(Debug, Copy)] pub struct VkPhysicalDeviceDiscardRectanglePropertiesEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub maxDiscardRectangles: u32, } impl Clone for VkPhysicalDeviceDiscardRectanglePropertiesEXT { @@ -7078,7 +7096,7 @@ impl Clone for VkPhysicalDeviceDiscardRectanglePropertiesEXT { #[derive(Debug, Copy)] pub struct VkPipelineDiscardRectangleStateCreateInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkPipelineDiscardRectangleStateCreateFlagsEXT, pub discardRectangleMode: VkDiscardRectangleModeEXT, pub discardRectangleCount: u32, @@ -7089,7 +7107,7 @@ impl Clone for VkPipelineDiscardRectangleStateCreateInfoEXT { *self } } -pub type PFN_vkCmdSetDiscardRectangleEXT = ::std::option::Option< +pub type PFN_vkCmdSetDiscardRectangleEXT = Option< unsafe extern "C" fn( commandBuffer: VkCommandBuffer, firstDiscardRectangle: u32, @@ -7098,7 +7116,7 @@ pub type PFN_vkCmdSetDiscardRectangleEXT = ::std::option::Option< ), >; -pub type PFN_vkCreateInstance = ::std::option::Option< +pub type PFN_vkCreateInstance = Option< unsafe extern "C" fn( pCreateInfo: *const VkInstanceCreateInfo, pAllocator: *const VkAllocationCallbacks, @@ -7106,7 +7124,7 @@ pub type PFN_vkCreateInstance = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkEnumeratePhysicalDevices = ::std::option::Option< +pub type PFN_vkEnumeratePhysicalDevices = Option< unsafe extern "C" fn( instance: VkInstance, pPhysicalDeviceCount: *mut u32, @@ -7114,11 +7132,11 @@ pub type PFN_vkEnumeratePhysicalDevices = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkDestroyInstance = ::std::option::Option< +pub type PFN_vkDestroyInstance = Option< unsafe extern "C" fn(instance: VkInstance, pAllocator: *const VkAllocationCallbacks), >; -pub type PFN_vkCreateXlibSurfaceKHR = ::std::option::Option< +pub type PFN_vkCreateXlibSurfaceKHR = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkXlibSurfaceCreateInfoKHR, @@ -7127,7 +7145,7 @@ pub type PFN_vkCreateXlibSurfaceKHR = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkCreateXcbSurfaceKHR = ::std::option::Option< +pub type PFN_vkCreateXcbSurfaceKHR = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkXcbSurfaceCreateInfoKHR, @@ -7136,7 +7154,7 @@ pub type PFN_vkCreateXcbSurfaceKHR = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkCreateWin32SurfaceKHR = ::std::option::Option< +pub type PFN_vkCreateWin32SurfaceKHR = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkWin32SurfaceCreateInfoKHR, @@ -7145,7 +7163,7 @@ pub type PFN_vkCreateWin32SurfaceKHR = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkCreateMetalSurfaceEXT = ::std::option::Option< +pub type PFN_vkCreateMetalSurfaceEXT = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkMetalSurfaceCreateInfoEXT, @@ -7154,7 +7172,7 @@ pub type PFN_vkCreateMetalSurfaceEXT = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkCreateMacOSSurfaceMVK = ::std::option::Option< +pub type PFN_vkCreateMacOSSurfaceMVK = Option< unsafe extern "C" fn( instance: VkInstance, pCreateInfo: *const VkMacOSSurfaceCreateInfoMVK, @@ -7163,7 +7181,7 @@ pub type PFN_vkCreateMacOSSurfaceMVK = ::std::option::Option< ) -> VkResult, >; -pub type PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR = ::std::option::Option< +pub type PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR = Option< unsafe extern "C" fn(physicalDevice: VkPhysicalDevice, queueFamilyIndex: u32) -> VkBool32, >; @@ -7171,7 +7189,7 @@ pub type PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR = ::std::option::Opt #[derive(Debug, Copy)] pub struct VkPhysicalDevicePortabilitySubsetFeaturesKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub constantAlphaColorBlendFactors: VkBool32, pub events: VkBool32, pub imageViewFormatReinterpretation: VkBool32, @@ -7197,7 +7215,7 @@ impl Clone for VkPhysicalDevicePortabilitySubsetFeaturesKHR { #[derive(Debug, Copy)] pub struct VkPhysicalDevicePortabilitySubsetPropertiesKHR { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub minVertexInputBindingStrideAlignment: u32, } impl Clone for VkPhysicalDevicePortabilitySubsetPropertiesKHR { @@ -7209,12 +7227,69 @@ impl Clone for VkPhysicalDevicePortabilitySubsetPropertiesKHR { #[derive(Debug, Copy)] pub struct VkMetalSurfaceCreateInfoEXT { pub sType: VkStructureType, - pub pNext: *const ::std::os::raw::c_void, + pub pNext: *const raw::c_void, pub flags: VkMetalSurfaceCreateFlagsEXT, - pub pLayer: *const ::std::os::raw::c_void, + pub pLayer: *const raw::c_void, } impl Clone for VkMetalSurfaceCreateInfoEXT { fn clone(&self) -> Self { *self } } + +#[repr(C)] +#[derive(Debug, Copy)] +pub struct VkPhysicalDeviceImagelessFramebufferFeaturesKHR { + pub sType: VkStructureType, + pub pNext: *const raw::c_void, + pub imagelessFramebuffer: bool, +} +impl Clone for VkPhysicalDeviceImagelessFramebufferFeaturesKHR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[derive(Debug, Copy)] +pub struct VkFramebufferAttachmentImageInfoKHR { + pub sType: VkStructureType, + pub pNext: *const raw::c_void, + pub flags: VkImageCreateFlags, + pub usage: VkImageUsageFlags, + pub width: u32, + pub height: u32, + pub layerCount: u32, + pub viewFormatCount: u32, + pub pViewFormats: *const VkFormat, +} +impl Clone for VkFramebufferAttachmentImageInfoKHR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[derive(Debug, Copy)] +pub struct VkFramebufferAttachmentsCreateInfoKHR { + pub sType: VkStructureType, + pub pNext: *const raw::c_void, + pub attachmentImageInfoCount: u32, + pub pAttachmentImageInfos: *const VkFramebufferAttachmentImageInfoKHR, +} +impl Clone for VkFramebufferAttachmentsCreateInfoKHR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[derive(Debug, Copy)] +pub struct VkRenderPassAttachmentBeginInfoKHR { + pub sType: VkStructureType, + pub pNext: *const raw::c_void, + pub attachmentCount: u32, + pub pAttachments: *const VkImageView, +} +impl Clone for VkRenderPassAttachmentBeginInfoKHR { + fn clone(&self) -> Self { + *self + } +} \ No newline at end of file