Lines Matching refs:device
58 VkJsonDevice device; in VkJsonGetDevice() local
64 device.extensions.resize(extension_count); in VkJsonGetDevice()
66 physical_device, nullptr, &extension_count, device.extensions.data()); in VkJsonGetDevice()
72 device.layers.resize(layer_count); in VkJsonGetDevice()
74 device.layers.data()); in VkJsonGetDevice()
82 if (HasExtension("VK_KHR_driver_properties", device.extensions)) { in VkJsonGetDevice()
83 device.ext_driver_properties.reported = true; in VkJsonGetDevice()
84 device.ext_driver_properties.driver_properties_khr.sType = in VkJsonGetDevice()
86 device.ext_driver_properties.driver_properties_khr.pNext = properties.pNext; in VkJsonGetDevice()
87 properties.pNext = &device.ext_driver_properties.driver_properties_khr; in VkJsonGetDevice()
90 device.properties = properties.properties; in VkJsonGetDevice()
97 if (HasExtension("VK_KHR_variable_pointers", device.extensions)) { in VkJsonGetDevice()
98 device.ext_variable_pointer_features.reported = true; in VkJsonGetDevice()
99 device.ext_variable_pointer_features.variable_pointer_features_khr.sType = in VkJsonGetDevice()
101 device.ext_variable_pointer_features.variable_pointer_features_khr.pNext = in VkJsonGetDevice()
104 &device.ext_variable_pointer_features.variable_pointer_features_khr; in VkJsonGetDevice()
106 if (HasExtension("VK_KHR_shader_float16_int8", device.extensions)) { in VkJsonGetDevice()
107 device.ext_shader_float16_int8_features.reported = true; in VkJsonGetDevice()
108 device.ext_shader_float16_int8_features.shader_float16_int8_features_khr in VkJsonGetDevice()
111 device.ext_shader_float16_int8_features.shader_float16_int8_features_khr in VkJsonGetDevice()
113 features.pNext = &device.ext_shader_float16_int8_features in VkJsonGetDevice()
117 device.features = features.features; in VkJsonGetDevice()
119 vkGetPhysicalDeviceMemoryProperties(physical_device, &device.memory); in VkJsonGetDevice()
125 device.queues.resize(queue_family_count); in VkJsonGetDevice()
127 physical_device, &queue_family_count, device.queues.data()); in VkJsonGetDevice()
141 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
145 if (device.properties.apiVersion >= VK_API_VERSION_1_1) { in VkJsonGetDevice()
156 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
160 device.subgroup_properties.sType = in VkJsonGetDevice()
162 device.subgroup_properties.pNext = properties.pNext; in VkJsonGetDevice()
163 properties.pNext = &device.subgroup_properties; in VkJsonGetDevice()
165 device.point_clipping_properties.sType = in VkJsonGetDevice()
167 device.point_clipping_properties.pNext = properties.pNext; in VkJsonGetDevice()
168 properties.pNext = &device.point_clipping_properties; in VkJsonGetDevice()
170 device.multiview_properties.sType = in VkJsonGetDevice()
172 device.multiview_properties.pNext = properties.pNext; in VkJsonGetDevice()
173 properties.pNext = &device.multiview_properties; in VkJsonGetDevice()
175 device.id_properties.sType = in VkJsonGetDevice()
177 device.id_properties.pNext = properties.pNext; in VkJsonGetDevice()
178 properties.pNext = &device.id_properties; in VkJsonGetDevice()
180 device.maintenance3_properties.sType = in VkJsonGetDevice()
182 device.maintenance3_properties.pNext = properties.pNext; in VkJsonGetDevice()
183 properties.pNext = &device.maintenance3_properties; in VkJsonGetDevice()
187 device.bit16_storage_features.sType = in VkJsonGetDevice()
189 device.bit16_storage_features.pNext = features.pNext; in VkJsonGetDevice()
190 features.pNext = &device.bit16_storage_features; in VkJsonGetDevice()
192 device.multiview_features.sType = in VkJsonGetDevice()
194 device.multiview_features.pNext = features.pNext; in VkJsonGetDevice()
195 features.pNext = &device.multiview_features; in VkJsonGetDevice()
197 device.variable_pointer_features.sType = in VkJsonGetDevice()
199 device.variable_pointer_features.pNext = features.pNext; in VkJsonGetDevice()
200 features.pNext = &device.variable_pointer_features; in VkJsonGetDevice()
202 device.protected_memory_features.sType = in VkJsonGetDevice()
204 device.protected_memory_features.pNext = features.pNext; in VkJsonGetDevice()
205 features.pNext = &device.protected_memory_features; in VkJsonGetDevice()
207 device.sampler_ycbcr_conversion_features.sType = in VkJsonGetDevice()
209 device.sampler_ycbcr_conversion_features.pNext = features.pNext; in VkJsonGetDevice()
210 features.pNext = &device.sampler_ycbcr_conversion_features; in VkJsonGetDevice()
212 device.shader_draw_parameter_features.sType = in VkJsonGetDevice()
214 device.shader_draw_parameter_features.pNext = features.pNext; in VkJsonGetDevice()
215 features.pNext = &device.shader_draw_parameter_features; in VkJsonGetDevice()
235 device.external_fence_properties.insert( in VkJsonGetDevice()
257 device.external_semaphore_properties.insert( in VkJsonGetDevice()
263 if (device.properties.apiVersion >= VK_API_VERSION_1_2) { in VkJsonGetDevice()
264 device.core12.properties.sType = in VkJsonGetDevice()
266 device.core12.properties.pNext = properties.pNext; in VkJsonGetDevice()
267 properties.pNext = &device.core12.properties; in VkJsonGetDevice()
271 device.core12.features.sType = in VkJsonGetDevice()
273 device.core12.features.pNext = features.pNext; in VkJsonGetDevice()
274 features.pNext = &device.core12.features; in VkJsonGetDevice()
279 if (device.properties.apiVersion >= VK_API_VERSION_1_3) { in VkJsonGetDevice()
280 device.core13.properties.sType = in VkJsonGetDevice()
282 device.core13.properties.pNext = properties.pNext; in VkJsonGetDevice()
283 properties.pNext = &device.core13.properties; in VkJsonGetDevice()
287 device.core13.features.sType = in VkJsonGetDevice()
289 device.core13.features.pNext = features.pNext; in VkJsonGetDevice()
290 features.pNext = &device.core13.features; in VkJsonGetDevice()
295 return device; in VkJsonGetDevice()