Lines Matching refs:device
72 VkJsonDevice device; in VkJsonGetDevice() local
93 device.extensions.resize(extension_count); in VkJsonGetDevice()
95 physical_device, nullptr, &extension_count, device.extensions.data()); in VkJsonGetDevice()
101 device.layers.resize(layer_count); in VkJsonGetDevice()
103 device.layers.data()); in VkJsonGetDevice()
113 if (HasExtension("VK_KHR_driver_properties", device.extensions)) { in VkJsonGetDevice()
114 device.ext_driver_properties.reported = true; in VkJsonGetDevice()
115 device.ext_driver_properties.driver_properties_khr.sType = in VkJsonGetDevice()
117 device.ext_driver_properties.driver_properties_khr.pNext = in VkJsonGetDevice()
120 &device.ext_driver_properties.driver_properties_khr; in VkJsonGetDevice()
123 device.properties = properties.properties; in VkJsonGetDevice()
130 if (HasExtension("VK_KHR_variable_pointers", device.extensions)) { in VkJsonGetDevice()
131 device.ext_variable_pointer_features.reported = true; in VkJsonGetDevice()
132 device.ext_variable_pointer_features.variable_pointer_features_khr.sType = in VkJsonGetDevice()
134 device.ext_variable_pointer_features.variable_pointer_features_khr.pNext = in VkJsonGetDevice()
137 &device.ext_variable_pointer_features.variable_pointer_features_khr; in VkJsonGetDevice()
139 if (HasExtension("VK_KHR_shader_float16_int8", device.extensions)) { in VkJsonGetDevice()
140 device.ext_shader_float16_int8_features.reported = true; in VkJsonGetDevice()
141 device.ext_shader_float16_int8_features.shader_float16_int8_features_khr in VkJsonGetDevice()
144 device.ext_shader_float16_int8_features.shader_float16_int8_features_khr in VkJsonGetDevice()
146 features.pNext = &device.ext_shader_float16_int8_features in VkJsonGetDevice()
150 device.features = features.features; in VkJsonGetDevice()
152 vkGetPhysicalDeviceProperties(physical_device, &device.properties); in VkJsonGetDevice()
153 vkGetPhysicalDeviceFeatures(physical_device, &device.features); in VkJsonGetDevice()
155 vkGetPhysicalDeviceMemoryProperties(physical_device, &device.memory); in VkJsonGetDevice()
161 device.queues.resize(queue_family_count); in VkJsonGetDevice()
163 physical_device, &queue_family_count, device.queues.data()); in VkJsonGetDevice()
175 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
179 if (device.properties.apiVersion >= VK_API_VERSION_1_1) { in VkJsonGetDevice()
188 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
199 device.subgroup_properties.sType = in VkJsonGetDevice()
201 device.subgroup_properties.pNext = properties2.pNext; in VkJsonGetDevice()
202 properties2.pNext = &device.subgroup_properties; in VkJsonGetDevice()
204 device.point_clipping_properties.sType = in VkJsonGetDevice()
206 device.point_clipping_properties.pNext = properties2.pNext; in VkJsonGetDevice()
207 properties2.pNext = &device.point_clipping_properties; in VkJsonGetDevice()
209 device.multiview_properties.sType = in VkJsonGetDevice()
211 device.multiview_properties.pNext = properties2.pNext; in VkJsonGetDevice()
212 properties2.pNext = &device.multiview_properties; in VkJsonGetDevice()
214 device.id_properties.sType = in VkJsonGetDevice()
216 device.id_properties.pNext = properties2.pNext; in VkJsonGetDevice()
217 properties2.pNext = &device.id_properties; in VkJsonGetDevice()
219 device.maintenance3_properties.sType = in VkJsonGetDevice()
221 device.maintenance3_properties.pNext = properties2.pNext; in VkJsonGetDevice()
222 properties2.pNext = &device.maintenance3_properties; in VkJsonGetDevice()
234 device.bit16_storage_features.sType = in VkJsonGetDevice()
236 device.bit16_storage_features.pNext = features2.pNext; in VkJsonGetDevice()
237 features2.pNext = &device.bit16_storage_features; in VkJsonGetDevice()
239 device.multiview_features.sType = in VkJsonGetDevice()
241 device.multiview_features.pNext = features2.pNext; in VkJsonGetDevice()
242 features2.pNext = &device.multiview_features; in VkJsonGetDevice()
244 device.variable_pointer_features.sType = in VkJsonGetDevice()
246 device.variable_pointer_features.pNext = features2.pNext; in VkJsonGetDevice()
247 features2.pNext = &device.variable_pointer_features; in VkJsonGetDevice()
249 device.protected_memory_features.sType = in VkJsonGetDevice()
251 device.protected_memory_features.pNext = features2.pNext; in VkJsonGetDevice()
252 features2.pNext = &device.protected_memory_features; in VkJsonGetDevice()
254 device.sampler_ycbcr_conversion_features.sType = in VkJsonGetDevice()
256 device.sampler_ycbcr_conversion_features.pNext = features2.pNext; in VkJsonGetDevice()
257 features2.pNext = &device.sampler_ycbcr_conversion_features; in VkJsonGetDevice()
259 device.shader_draw_parameter_features.sType = in VkJsonGetDevice()
261 device.shader_draw_parameter_features.pNext = features2.pNext; in VkJsonGetDevice()
262 features2.pNext = &device.shader_draw_parameter_features; in VkJsonGetDevice()
289 device.external_fence_properties.insert( in VkJsonGetDevice()
318 device.external_semaphore_properties.insert( in VkJsonGetDevice()
325 return device; in VkJsonGetDevice()