Home
last modified time | relevance | path

Searched refs:vn_error (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_queue.c367 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueSubmit()
395 return vn_error(dev->instance, result); in vn_QueueSubmit()
419 return vn_error(dev->instance, result); in vn_QueueSubmit()
466 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueBindSparse()
473 return vn_error(dev->instance, result); in vn_QueueBindSparse()
627 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateFence()
662 return vn_error(dev->instance, result); in vn_CreateFence()
828 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_WaitForFences()
856 return vn_error(dev->instance, result); in vn_create_sync_file()
870 return vn_error(dev->instance, result); in vn_create_sync_file()
[all …]
Dvn_pipeline.c37 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateShaderModule()
85 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreatePipelineLayout()
137 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreatePipelineCache()
200 return vn_error(dev->instance, result); in vn_GetPipelineCacheData()
224 return vn_error(dev->instance, result); in vn_GetPipelineCacheData()
382 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateGraphicsPipelines()
396 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateGraphicsPipelines()
437 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateComputePipelines()
Dvn_render_pass.c159 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateRenderPass()
168 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateRenderPass()
209 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateRenderPass2()
218 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateRenderPass2()
299 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateFramebuffer()
Dvn_device_memory.c448 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_AllocateMemory()
477 return vn_error(dev->instance, result); in vn_AllocateMemory()
559 return vn_error(dev->instance, result); in vn_MapMemory()
569 return vn_error(dev->instance, result); in vn_MapMemory()
574 return vn_error(dev->instance, VK_ERROR_MEMORY_MAP_FAILED); in vn_MapMemory()
667 return vn_error(dev->instance, VK_ERROR_TOO_MANY_OBJECTS); in vn_GetMemoryFdKHR()
728 return vn_error(dev->instance, VK_ERROR_INVALID_EXTERNAL_HANDLE); in vn_GetMemoryFdPropertiesKHR()
733 return vn_error(dev->instance, result); in vn_GetMemoryFdPropertiesKHR()
Dvn_android.c706 return vn_error(dev->instance, result); in vn_android_image_from_anb()
730 return vn_error(dev->instance, VK_ERROR_SURFACE_LOST_KHR); in vn_AcquireImageANDROID()
752 return vn_error(dev->instance, result); in vn_AcquireImageANDROID()
826 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueSignalReleaseImageANDROID()
856 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
878 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
884 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
1011 return vn_error(dev->instance, result); in vn_GetAndroidHardwareBufferPropertiesANDROID()
1017 return vn_error(dev->instance, VK_ERROR_INVALID_EXTERNAL_HANDLE); in vn_GetAndroidHardwareBufferPropertiesANDROID()
1022 return vn_error(dev->instance, result); in vn_GetAndroidHardwareBufferPropertiesANDROID()
Dvn_device.c440 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDevice()
451 return vn_error(instance, result); in vn_CreateDevice()
458 return vn_error(instance, result); in vn_CreateDevice()
536 return vn_error(dev->instance, result); in vn_DeviceWaitIdle()
Dvn_image.c335 return vn_error(dev->instance, result); in vn_CreateImage()
490 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BindImageMemory2()
600 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateImageView()
649 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateSampler()
716 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateSamplerYcbcrConversion()
Dvn_query_pool.c34 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateQueryPool()
137 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_GetQueryPoolResults()
Dvn_descriptor_set.c209 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorSetLayout()
241 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorSetLayout()
292 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorPool()
594 return vn_error(dev->instance, result); in vn_AllocateDescriptorSets()
923 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorUpdateTemplate()
932 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorUpdateTemplate()
Dvn_common.h50 #define vn_error(instance, error) \ macro
53 ((result) >= VK_SUCCESS ? (result) : vn_error((instance), (result)))
Dvn_buffer.c382 return vn_error(dev->instance, result); in vn_CreateBuffer()
480 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BindBufferMemory2()
515 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateBufferView()
Dvn_instance.c675 return vn_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); in vn_EnumerateInstanceExtensionProperties()
706 return vn_error(NULL, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateInstance()
718 return vn_error(NULL, result); in vn_CreateInstance()
829 return vn_error(NULL, result); in vn_CreateInstance()
Dvn_command_buffer.c451 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateCommandPool()
559 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_AllocateCommandBuffers()
742 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BeginCommandBuffer()
804 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_EndCommandBuffer()
809 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_EndCommandBuffer()
816 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_EndCommandBuffer()
Dvn_physical_device.c1487 return vn_error(instance, result); in vn_EnumeratePhysicalDevices()
1511 return vn_error(instance, result); in vn_EnumeratePhysicalDeviceGroups()
1535 return vn_error(physical_dev->instance, VK_ERROR_LAYER_NOT_PRESENT); in vn_EnumerateDeviceExtensionProperties()
2356 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()
2364 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()
2405 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()