Lines Matching refs:vk_error
583 return vk_error(instance, VK_ERROR_INCOMPATIBLE_DRIVER); in radv_physical_device_try_create()
616 result = vk_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_physical_device_try_create()
781 vk_error(instance, result); in radv_physical_device_try_create()
968 return vk_error(NULL, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateInstance()
977 return vk_error(instance, result); in radv_CreateInstance()
1054 return vk_error(instance, VK_SUCCESS); in radv_enumerate_physical_devices()
2583 return vk_error(device, VK_ERROR_INITIALIZATION_FAILED); in radv_queue_init()
2652 return vk_error(device, result); in radv_device_init_border_color()
2656 return vk_error(device, result); in radv_device_init_border_color()
2660 return vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY); in radv_device_init_border_color()
2683 return vk_error(device->physical_device->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_device_init_vs_prologs()
2712 return vk_error(device->physical_device->instance, VK_ERROR_OUT_OF_DEVICE_MEMORY); in radv_device_init_vs_prologs()
2730 return vk_error(device->physical_device->instance, VK_ERROR_OUT_OF_DEVICE_MEMORY); in radv_device_init_vs_prologs()
2964 return vk_error(physical_device->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateDevice()
3350 return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); in radv_EnumerateInstanceLayerProperties()
3363 return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); in radv_EnumerateDeviceLayerProperties()
4108 return vk_error(queue, result); in radv_get_preamble_cs()
4146 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_alloc_sem_counts()
4841 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in wait_for_submission_timelines_available()
5114 return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); in radv_EnumerateInstanceExtensionProperties()
5272 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_alloc_memory()
5475 return vk_error(device, VK_ERROR_MEMORY_MAP_FAILED); in radv_MapMemory()
5792 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateFence()
5804 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateFence()
5838 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_WaitForFences()
6108 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateSemaphore()
6120 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateSemaphore()
6132 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateSemaphore()
6234 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_WaitSemaphores()
6313 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateEvent()
6323 return vk_error(device, result); in radv_CreateEvent()
6329 return vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY); in radv_CreateEvent()
6427 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateBuffer()
6453 return vk_error(device, result); in radv_CreateBuffer()
7073 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateFramebuffer()
7382 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateSampler()
7464 return vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY); in radv_GetMemoryFdKHR()
7524 return vk_error(device, VK_ERROR_INVALID_EXTERNAL_HANDLE); in radv_GetMemoryFdPropertiesKHR()
7538 return vk_error(device, VK_ERROR_INVALID_EXTERNAL_HANDLE); in radv_GetMemoryFdPropertiesKHR()
7548 return vk_error(device, VK_ERROR_INVALID_EXTERNAL_HANDLE); in radv_import_opaque_fd()
7570 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_import_sync_fd()
7580 return vk_error(device, VK_ERROR_INVALID_EXTERNAL_HANDLE); in radv_import_sync_fd()
7657 return vk_error(device, VK_ERROR_TOO_MANY_OBJECTS); in radv_GetSemaphoreFdKHR()
7662 return vk_error(device, VK_ERROR_TOO_MANY_OBJECTS); in radv_GetSemaphoreFdKHR()
7776 return vk_error(device, VK_ERROR_TOO_MANY_OBJECTS); in radv_GetFenceFdKHR()
7781 return vk_error(device, VK_ERROR_TOO_MANY_OBJECTS); in radv_GetFenceFdKHR()