Lines Matching refs:lp
240 VkLayerProperties* lp; in list_vulkan_instance_layers() local
250 lp = calloc(lp_count, sizeof(VkLayerProperties)); in list_vulkan_instance_layers()
252 if (vkEnumerateInstanceLayerProperties(&lp_count, lp) != VK_SUCCESS) in list_vulkan_instance_layers()
254 free(lp); in list_vulkan_instance_layers()
261 lp[i].layerName, in list_vulkan_instance_layers()
262 lp[i].specVersion >> 22, in list_vulkan_instance_layers()
263 lp[i].description); in list_vulkan_instance_layers()
266 free(lp); in list_vulkan_instance_layers()
299 VkLayerProperties* lp; in list_vulkan_device_layers() local
309 lp = calloc(lp_count, sizeof(VkLayerProperties)); in list_vulkan_device_layers()
311 if (vkEnumerateDeviceLayerProperties(device, &lp_count, lp) != VK_SUCCESS) in list_vulkan_device_layers()
313 free(lp); in list_vulkan_device_layers()
320 lp[i].layerName, in list_vulkan_device_layers()
321 lp[i].specVersion >> 22, in list_vulkan_device_layers()
322 lp[i].description); in list_vulkan_device_layers()
325 free(lp); in list_vulkan_device_layers()