pub const VK_KHX_DEVICE_GROUP_CREATION_SPEC_VERSION: usize = 1;
pub static VK_KHX_DEVICE_GROUP_CREATION_EXTENSION_NAME: &'static str = "VK_KHX_device_group_creation";
use libc::*;
use super::*;
#[repr(C)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct VkPhysicalDeviceGroupPropertiesKHX
{
pub sType: VkStructureType, pub pNext: *mut c_void,
pub physicalDeviceCount: u32, pub physicalDevices: [VkPhysicalDevice; VK_MAX_DEVICE_GROUP_SIZE_KHX],
pub subsetAllocation: VkBool32
}
impl Default for VkPhysicalDeviceGroupPropertiesKHX
{
fn default() -> Self
{
VkPhysicalDeviceGroupPropertiesKHX
{
sType: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHX,
.. unsafe { std::mem::zeroed() }
}
}
}
#[repr(C)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct VkDeviceGroupDeviceCreateInfoKHX
{
pub sType: VkStructureType, pub pNext: *const c_void,
pub physicalDeviceCount: u32, pub pPhysicalDevices: *const VkPhysicalDevice
}
impl Default for VkDeviceGroupDeviceCreateInfoKHX
{
fn default() -> Self
{
VkDeviceGroupDeviceCreateInfoKHX
{
sType: VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHX,
.. unsafe { std::mem::zeroed() }
}
}
}
pub type PFN_vkEnumeratePhysicalDeviceGroupsKHX = extern "system" fn(instance: VkInstance, pPhysicalDeviceGroupCount: *mut u32, pPhysicalDeviceGroupProperties: *mut VkPhysicalDeviceGroupPropertiesKHX) -> VkResult;
#[cfg(feature = "Implements")]
extern "system"
{
pub fn vkEnumeratePhysicalDeviceGroupsKHX(instance: VkInstance, pPhysicalDeviceGroupCount: *mut u32, pPhysicalDeviceGroupProperties: *mut VkPhysicalDeviceGroupPropertiesKHX) -> VkResult;
}