Lines Matching refs:count
48 uint32_t count = 0; in enumerate() local
49 vk::EnumerateInstanceExtensionProperties(layer, &count, nullptr); in enumerate()
51 exts.resize(count); in enumerate()
52 return vk::EnumerateInstanceExtensionProperties(layer, &count, exts.data()); in enumerate()
57 uint32_t count = 0; in enumerate() local
58 vk::EnumerateDeviceExtensionProperties(phy, layer, &count, nullptr); in enumerate()
60 exts.resize(count); in enumerate()
61 return vk::EnumerateDeviceExtensionProperties(phy, layer, &count, exts.data()); in enumerate()
66 uint32_t count = 0; in enumerate() local
67 vk::EnumeratePhysicalDevices(instance, &count, nullptr); in enumerate()
69 phys.resize(count); in enumerate()
70 return vk::EnumeratePhysicalDevices(instance, &count, phys.data()); in enumerate()
75 uint32_t count = 0; in enumerate() local
76 vk::EnumerateInstanceLayerProperties(&count, nullptr); in enumerate()
78 layer_props.resize(count); in enumerate()
79 return vk::EnumerateInstanceLayerProperties(&count, layer_props.data()); in enumerate()
84 uint32_t count = 0; in enumerate() local
85 vk::EnumerateDeviceLayerProperties(phy, &count, nullptr); in enumerate()
87 layer_props.resize(count); in enumerate()
88 return vk::EnumerateDeviceLayerProperties(phy, &count, layer_props.data()); in enumerate()
93 uint32_t count = 0; in get() local
94 vk::GetPhysicalDeviceQueueFamilyProperties(phy, &count, nullptr); in get()
96 queues.resize(count); in get()
97 vk::GetPhysicalDeviceQueueFamilyProperties(phy, &count, queues.data()); in get()
104 uint32_t count = 0; in get() local
105 vk::GetPhysicalDeviceSurfaceFormatsKHR(phy, surface, &count, nullptr); in get()
107 formats.resize(count); in get()
108 return vk::GetPhysicalDeviceSurfaceFormatsKHR(phy, surface, &count, formats.data()); in get()
113 uint32_t count = 0; in get() local
114 vk::GetPhysicalDeviceSurfacePresentModesKHR(phy, surface, &count, nullptr); in get()
116 modes.resize(count); in get()
117 return vk::GetPhysicalDeviceSurfacePresentModesKHR(phy, surface, &count, modes.data()); in get()
122 uint32_t count = 0; in get() local
123 vk::GetSwapchainImagesKHR(dev, swapchain, &count, nullptr); in get()
125 images.resize(count); in get()
126 return vk::GetSwapchainImagesKHR(dev, swapchain, &count, images.data()); in get()