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_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()
136 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreatePipelineCache()
194 return vn_error(dev->instance, result); in vn_GetPipelineCacheData()
218 return vn_error(dev->instance, result); in vn_GetPipelineCacheData()
306 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateGraphicsPipelines()
320 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateGraphicsPipelines()
360 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateComputePipelines()
Dvn_queue.c347 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueSubmit()
364 return vn_error(dev->instance, result); in vn_QueueSubmit()
406 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueBindSparse()
413 return vn_error(dev->instance, result); in vn_QueueBindSparse()
489 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateFence()
498 return vn_error(dev->instance, result); in vn_CreateFence()
649 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_WaitForFences()
677 return vn_error(dev->instance, result); in vn_create_sync_file()
691 return vn_error(dev->instance, result); in vn_create_sync_file()
714 return vn_error(dev->instance, VK_ERROR_INVALID_EXTERNAL_HANDLE); in vn_ImportFenceFdKHR()
[all …]
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_android.c208 return vn_error(dev->instance, VK_ERROR_INITIALIZATION_FAILED); in vn_GetSwapchainGrallocUsage2ANDROID()
530 return vn_error(dev->instance, result); in vn_android_image_from_anb()
553 return vn_error(dev->instance, VK_ERROR_SURFACE_LOST_KHR); in vn_AcquireImageANDROID()
575 return vn_error(dev->instance, result); in vn_AcquireImageANDROID()
648 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueSignalReleaseImageANDROID()
678 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
692 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
698 return vn_error(dev->instance, result); in vn_QueueSignalReleaseImageANDROID()
813 return vn_error(dev->instance, result); in vn_GetAndroidHardwareBufferPropertiesANDROID()
819 return vn_error(dev->instance, result); in vn_GetAndroidHardwareBufferPropertiesANDROID()
[all …]
Dvn_device_memory.c348 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_AllocateMemory()
380 return vn_error(dev->instance, result); in vn_AllocateMemory()
442 return vn_error(dev->instance, VK_ERROR_MEMORY_MAP_FAILED); in vn_MapMemory()
530 return vn_error(dev->instance, VK_ERROR_TOO_MANY_OBJECTS); in vn_GetMemoryFdKHR()
590 return vn_error(dev->instance, VK_ERROR_INVALID_EXTERNAL_HANDLE); in vn_GetMemoryFdPropertiesKHR()
595 return vn_error(dev->instance, result); in vn_GetMemoryFdPropertiesKHR()
Dvn_device.c281 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDevice()
292 return vn_error(instance, result); in vn_CreateDevice()
345 return vn_error(instance, result); in vn_CreateDevice()
408 return vn_error(dev->instance, result); in vn_DeviceWaitIdle()
Dvn_buffer.c96 return vn_error(dev->instance, result); in vn_CreateBuffer()
223 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BindBufferMemory2()
258 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateBufferView()
Dvn_image.c279 return vn_error(dev->instance, result); in vn_CreateImage()
441 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BindImageMemory2()
502 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateImageView()
551 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateSampler()
618 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateSamplerYcbcrConversion()
Dvn_query_pool.c33 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateQueryPool()
133 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_GetQueryPoolResults()
Dvn_descriptor_set.c157 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorSetLayout()
189 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorSetLayout()
235 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorPool()
506 return vn_error(dev->instance, result); in vn_AllocateDescriptorSets()
807 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorUpdateTemplate()
816 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateDescriptorUpdateTemplate()
Dvn_common.h47 #define vn_error(instance, error) \ macro
50 ((result) >= VK_SUCCESS ? (result) : vn_error((instance), (result)))
Dvn_instance.c675 return vn_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); in vn_EnumerateInstanceExtensionProperties()
705 return vn_error(NULL, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateInstance()
717 return vn_error(NULL, result); in vn_CreateInstance()
815 return vn_error(NULL, result); in vn_CreateInstance()
Dvn_command_buffer.c446 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateCommandPool()
550 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_AllocateCommandBuffers()
643 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_BeginCommandBuffer()
701 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_EndCommandBuffer()
709 return vn_error(instance, result); in vn_EndCommandBuffer()
Dvn_physical_device.c1418 return vn_error(instance, result); in vn_EnumeratePhysicalDevices()
1442 return vn_error(instance, result); in vn_EnumeratePhysicalDeviceGroups()
1465 return vn_error(physical_dev->instance, VK_ERROR_LAYER_NOT_PRESENT); in vn_EnumerateDeviceExtensionProperties()
2177 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()
2185 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()
2209 return vn_error(physical_dev->instance, in vn_GetPhysicalDeviceImageFormatProperties2()