Home
last modified time | relevance | path

Searched refs:VK_SUCCESS (Results 1 – 25 of 140) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_descriptors.c46 return VK_SUCCESS; in vk_create_sorted_bindings()
56 return VK_SUCCESS; in vk_create_sorted_bindings()
70 return VK_SUCCESS; in vk_common_GetBufferOpaqueCaptureDescriptorDataEXT()
78 return VK_SUCCESS; in vk_common_GetImageOpaqueCaptureDescriptorDataEXT()
86 return VK_SUCCESS; in vk_common_GetImageViewOpaqueCaptureDescriptorDataEXT()
94 return VK_SUCCESS; in vk_common_GetSamplerOpaqueCaptureDescriptorDataEXT()
102 return VK_SUCCESS; in vk_common_GetAccelerationStructureOpaqueCaptureDescriptorDataEXT()
Dvk_sync_timeline.c83 return VK_SUCCESS; in vk_sync_timeline_init()
137 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked()
157 if (unlikely(result != VK_SUCCESS)) { in vk_sync_timeline_alloc_point_locked()
167 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked()
177 return VK_SUCCESS; in vk_sync_timeline_alloc_point_locked()
259 return VK_SUCCESS; in vk_sync_timeline_gc_locked()
271 return VK_SUCCESS; in vk_sync_timeline_gc_locked()
281 return VK_SUCCESS; in vk_sync_timeline_gc_locked()
282 } else if (result != VK_SUCCESS) { in vk_sync_timeline_gc_locked()
289 return VK_SUCCESS; in vk_sync_timeline_gc_locked()
[all …]
Dvk_fence.c138 if (result != VK_SUCCESS) { in vk_fence_create()
145 return VK_SUCCESS; in vk_fence_create()
158 if (result != VK_SUCCESS) in vk_common_CreateFence()
163 return VK_SUCCESS; in vk_common_CreateFence()
222 if (result != VK_SUCCESS) in vk_common_ResetFences()
226 return VK_SUCCESS; in vk_common_ResetFences()
264 return VK_SUCCESS; in vk_common_WaitForFences()
288 if (device_status != VK_SUCCESS) in vk_common_WaitForFences()
370 if (result != VK_SUCCESS) in vk_common_ImportFenceFdKHR()
393 if (result != VK_SUCCESS) { in vk_common_ImportFenceFdKHR()
[all …]
Dvk_drm_syncobj.c72 return VK_SUCCESS; in vk_drm_syncobj_init()
104 return VK_SUCCESS; in vk_drm_syncobj_signal()
121 return VK_SUCCESS; in vk_drm_syncobj_get_value()
137 return VK_SUCCESS; in vk_drm_syncobj_reset()
149 return VK_SUCCESS; in sync_has_sync_file()
160 return VK_SUCCESS; in sync_has_sync_file()
204 return VK_SUCCESS; in spin_wait_for_sync_file()
290 return VK_SUCCESS; in vk_drm_syncobj_wait_many()
313 return VK_SUCCESS; in vk_drm_syncobj_import_opaque_fd()
330 return VK_SUCCESS; in vk_drm_syncobj_export_opaque_fd()
[all …]
Dvk_semaphore.c197 if (result != VK_SUCCESS) { in vk_common_CreateSemaphore()
208 if (result != VK_SUCCESS) { in vk_common_CreateSemaphore()
218 return VK_SUCCESS; in vk_common_CreateSemaphore()
339 return VK_SUCCESS; in vk_common_WaitSemaphores()
367 if (device_status != VK_SUCCESS) in vk_common_WaitSemaphores()
407 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore()
412 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore()
416 return VK_SUCCESS; in vk_common_SignalSemaphore()
458 if (result != VK_SUCCESS) in vk_common_ImportSemaphoreWin32HandleKHR()
479 if (result != VK_SUCCESS) { in vk_common_ImportSemaphoreWin32HandleKHR()
[all …]
Dvk_queue.c55 VkResult result = VK_SUCCESS; in vk_queue_init()
95 if (result != VK_SUCCESS) in vk_queue_init()
102 return VK_SUCCESS; in vk_queue_init()
269 VkResult result = VK_SUCCESS; in vk_queue_drain()
329 if (unlikely(result != VK_SUCCESS)) { in vk_queue_submit_final()
379 if (unlikely(result != VK_SUCCESS)) in vk_queue_submit_final()
393 return VK_SUCCESS; in vk_queue_submit_final()
399 VkResult result = VK_SUCCESS; in vk_queue_flush()
424 result = VK_SUCCESS; in vk_queue_flush()
426 } else if (result != VK_SUCCESS) { in vk_queue_flush()
[all …]
Dvk_meta.c120 return VK_SUCCESS; in vk_meta_device_init()
213 if (result != VK_SUCCESS) in vk_meta_create_sampler()
220 return VK_SUCCESS; in vk_meta_create_sampler()
236 if (result != VK_SUCCESS) in vk_meta_create_descriptor_set_layout()
243 return VK_SUCCESS; in vk_meta_create_descriptor_set_layout()
257 return VK_SUCCESS; in vk_meta_get_descriptor_set_layout()
277 if (result != VK_SUCCESS) in vk_meta_create_pipeline_layout()
284 return VK_SUCCESS; in vk_meta_create_pipeline_layout()
299 return VK_SUCCESS; in vk_meta_get_pipeline_layout()
307 if (result != VK_SUCCESS) in vk_meta_get_pipeline_layout()
[all …]
Dvk_sync.c124 if (result != VK_SUCCESS) { in vk_sync_create()
131 return VK_SUCCESS; in vk_sync_create()
289 return VK_SUCCESS; in __vk_sync_wait_many()
320 if (result != VK_SUCCESS) in __vk_sync_wait_many()
323 return VK_SUCCESS; in __vk_sync_wait_many()
354 if (unlikely(result != VK_SUCCESS)) in vk_sync_import_opaque_fd()
360 return VK_SUCCESS; in vk_sync_import_opaque_fd()
371 if (unlikely(result != VK_SUCCESS)) in vk_sync_export_opaque_fd()
376 return VK_SUCCESS; in vk_sync_export_opaque_fd()
411 if (unlikely(result != VK_SUCCESS)) in vk_sync_import_win32_handle()
[all …]
Dvk_android.c238 VkResult result = VK_SUCCESS; in vk_common_AcquireImageANDROID()
283 if (result == VK_SUCCESS) in vk_common_AcquireImageANDROID()
287 if (result == VK_SUCCESS && fence != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID()
296 if (result == VK_SUCCESS) in vk_common_AcquireImageANDROID()
312 return VK_SUCCESS; in vk_anb_semaphore_init_once()
336 VkResult result = VK_SUCCESS; in vk_common_QueueSignalReleaseImageANDROID()
343 if (result != VK_SUCCESS) in vk_common_QueueSignalReleaseImageANDROID()
356 if (result != VK_SUCCESS) in vk_common_QueueSignalReleaseImageANDROID()
Dvk_deferred_operation.c48 return VK_SUCCESS; in vk_common_CreateDeferredOperationKHR()
77 return VK_SUCCESS; in vk_common_GetDeferredOperationResultKHR()
84 return VK_SUCCESS; in vk_common_DeferredOperationJoinKHR()
Dvk_command_pool.c68 return VK_SUCCESS; in vk_command_pool_init()
105 if (unlikely(result != VK_SUCCESS)) { in vk_common_CreateCommandPool()
112 return VK_SUCCESS; in vk_common_CreateCommandPool()
153 if (result != VK_SUCCESS) in vk_common_ResetCommandPool()
157 return VK_SUCCESS; in vk_common_ResetCommandPool()
207 if (unlikely(result != VK_SUCCESS)) in vk_common_AllocateCommandBuffers()
216 return VK_SUCCESS; in vk_common_AllocateCommandBuffers()
Dvk_instance.c210 return VK_SUCCESS; in vk_instance_init()
393 return VK_SUCCESS; in enumerate_drm_physical_devices_locked()
402 result = VK_SUCCESS; in enumerate_drm_physical_devices_locked()
407 if (result != VK_SUCCESS) in enumerate_drm_physical_devices_locked()
426 VkResult result = VK_SUCCESS; in enumerate_physical_devices_locked()
430 if (result != VK_SUCCESS) { in enumerate_physical_devices_locked()
442 VkResult result = VK_SUCCESS; in enumerate_physical_devices()
447 if (result == VK_SUCCESS) in enumerate_physical_devices()
463 if (result != VK_SUCCESS) in vk_common_EnumeratePhysicalDevices()
485 if (result != VK_SUCCESS) in vk_common_EnumeratePhysicalDeviceGroups()
Dvk_sync_dummy.c31 return VK_SUCCESS; in vk_sync_dummy_init()
46 return VK_SUCCESS; in vk_sync_dummy_wait_many()
Dvk_command_buffer.h217 assert(error != VK_SUCCESS); in __vk_command_buffer_set_error()
219 if (command_buffer->record_result == VK_SUCCESS) in __vk_command_buffer_set_error()
234 unlikely((command_buffer)->record_result != VK_SUCCESS)
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp95 return VK_SUCCESS; in SetupInstanceForProcess()
143 result = resources->on_vkEnumerateDeviceExtensionProperties(vkEnc, VK_SUCCESS, physDevInternal, in get_device_extensions()
145 if (VK_SUCCESS == result) { in get_device_extensions()
148 vkEnc, VK_SUCCESS, physDevInternal, NULL, &numDeviceExts, extProps.data()); in get_device_extensions()
149 if (VK_SUCCESS == result) { in get_device_extensions()
191 if (VK_SUCCESS == result) { in gfxstream_vk_physical_device_init()
219 VkResult result = VK_SUCCESS; in gfxstream_vk_enumerate_devices()
225 vkEnc, VK_SUCCESS, gfxstream_instance->internal_object, &deviceCount, NULL); in gfxstream_vk_enumerate_devices()
226 if (VK_SUCCESS != result) return result; in gfxstream_vk_enumerate_devices()
229 vkEnc, VK_SUCCESS, gfxstream_instance->internal_object, &deviceCount, internal_list.data()); in gfxstream_vk_enumerate_devices()
[all …]
Dgfxstream_vk_cmd.cpp29 result = gfxstream_pCommandPool ? VK_SUCCESS : VK_ERROR_OUT_OF_HOST_MEMORY; in gfxstream_vk_CreateCommandPool()
30 if (VK_SUCCESS == result) { in gfxstream_vk_CreateCommandPool()
34 if (VK_SUCCESS == result) { in gfxstream_vk_CreateCommandPool()
73 if (vkResetCommandPool_VkResult_return == VK_SUCCESS) { in gfxstream_vk_ResetCommandPool()
92 VkResult result = VK_SUCCESS; in vk_command_buffer_createOp()
101 if (VK_SUCCESS == result) { in vk_command_buffer_createOp()
133 if (VK_SUCCESS == result) { in gfxstream_vk_AllocateCommandBuffers()
139 if (VK_SUCCESS == result) { in gfxstream_vk_AllocateCommandBuffers()
148 vkEnc, VK_SUCCESS, gfxstream_device->internal_object, &internal_allocateInfo, in gfxstream_vk_AllocateCommandBuffers()
150 if (result == VK_SUCCESS) { in gfxstream_vk_AllocateCommandBuffers()
/hardware/google/gfxstream/host/tests/
DVkTestUtils.h140 VK_SUCCESS) { in setUpImage()
160 &m_imageVkDeviceMemory) != VK_SUCCESS) { in setUpImage()
165 0) != VK_SUCCESS) { in setUpImage()
189 &m_vkImageView) != VK_SUCCESS) { in setUpImage()
200 VK_SUCCESS) { in submitCommandBufferAndWait()
203 if (m_vk.vkQueueWaitIdle(m_vkQueue) != VK_SUCCESS) { in submitCommandBufferAndWait()
218 VK_SUCCESS) { in setUpBuffer()
238 &m_bufferVkDeviceMemory) != VK_SUCCESS) { in setUpBuffer()
243 m_bufferVkDeviceMemory, 0) != VK_SUCCESS) { in setUpBuffer()
248 reinterpret_cast<void **>(&m_memory)) != VK_SUCCESS) { in setUpBuffer()
[all …]
DSwapChainStateVk_unittest.cpp65 VK_SUCCESS); in createInstance()
79 VK_SUCCESS); in createWindowAndSurface()
89 VK_SUCCESS); in createWindowAndSurface()
100 VK_SUCCESS); in createWindowAndSurface()
108 VK_SUCCESS); in pickPhysicalDevice()
114 VK_SUCCESS); in pickPhysicalDevice()
164 VK_SUCCESS); in createLogicalDevice()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_drm.c68 return VK_SUCCESS; in wsi_dma_buf_export_sync_file()
94 return VK_SUCCESS; in wsi_dma_buf_import_sync_file()
109 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore()
114 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore()
129 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore()
132 return VK_SUCCESS; in prepare_signal_dma_buf_from_semaphore()
167 if (result != VK_SUCCESS) in wsi_signal_dma_buf_from_semaphore()
207 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait()
212 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait()
216 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait()
[all …]
Dwsi_common.c188 if (result != VK_SUCCESS) in wsi_device_init()
194 if (result != VK_SUCCESS) in wsi_device_init()
200 if (result != VK_SUCCESS) in wsi_device_init()
206 if (result != VK_SUCCESS) in wsi_device_init()
212 if (result != VK_SUCCESS) in wsi_device_init()
250 return VK_SUCCESS; in wsi_device_init()
449 if (result != VK_SUCCESS) in wsi_swapchain_init()
455 if (result != VK_SUCCESS) in wsi_swapchain_init()
458 return VK_SUCCESS; in wsi_swapchain_init()
478 if (result != VK_SUCCESS) in wsi_swapchain_is_present_mode_supported()
[all …]
Dwsi_common_headless.c63 return VK_SUCCESS; in wsi_headless_surface_get_support()
112 return VK_SUCCESS; in wsi_headless_surface_get_capabilities()
221 return VK_SUCCESS; in wsi_headless_surface_get_present_modes()
230 return VK_SUCCESS; in wsi_headless_surface_get_present_modes()
304 return VK_SUCCESS; in wsi_headless_swapchain_acquire_next_image()
329 return VK_SUCCESS; in wsi_headless_swapchain_queue_present()
350 return VK_SUCCESS; in wsi_headless_swapchain_destroy()
389 if (result != VK_SUCCESS) in wsi_create_null_image_mem()
401 if (result != VK_SUCCESS) in wsi_create_null_image_mem()
441 return VK_SUCCESS; in wsi_create_null_image_mem()
[all …]
Dwsi_common_win32.cpp142 return VK_SUCCESS; in wsi_CreateWin32SurfaceKHR()
166 return VK_SUCCESS; in wsi_win32_surface_get_support()
224 return VK_SUCCESS; in wsi_win32_surface_get_capabilities()
388 return VK_SUCCESS; in wsi_win32_surface_get_present_modes()
397 return VK_SUCCESS; in wsi_win32_surface_get_present_modes()
444 if (result != VK_SUCCESS) in wsi_create_dxgi_image_mem()
448 return VK_SUCCESS; in wsi_create_dxgi_image_mem()
457 if (result != VK_SUCCESS) in wsi_create_dxgi_image_mem()
462 if (result != VK_SUCCESS) in wsi_create_dxgi_image_mem()
505 if (result != VK_SUCCESS) in wsi_dxgi_configure_image()
[all …]
Dwsi_common_display.c249 return VK_SUCCESS; in wsi_display_register_drm_mode()
274 return VK_SUCCESS; in wsi_display_register_drm_mode()
372 if (result != VK_SUCCESS) { in wsi_display_get_connector()
479 if (result == VK_SUCCESS || result == VK_INCOMPLETE) { in wsi_GetPhysicalDeviceDisplayPropertiesKHR()
499 return VK_SUCCESS; in wsi_get_connectors()
518 return VK_SUCCESS; in wsi_get_connectors()
533 if (result != VK_SUCCESS) in wsi_GetPhysicalDeviceDisplayProperties2KHR()
585 if (result != VK_SUCCESS) in wsi_GetPhysicalDeviceDisplayPlanePropertiesKHR()
619 if (result != VK_SUCCESS) in wsi_GetPhysicalDeviceDisplayPlaneProperties2KHR()
770 return VK_SUCCESS; in wsi_CreateDisplayModeKHR()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_INTEL_performance_query.adoc74 assert(VK_SUCCESS == result);
88 assert(VK_SUCCESS == result);
125 assert(VK_SUCCESS == result);
142 assert(VK_SUCCESS == result);
151 assert(VK_SUCCESS == result);
161 assert(VK_SUCCESS == result);
/hardware/google/gfxstream/guest/vulkan_enc/
DValidation.cpp33 return VK_SUCCESS; in on_vkFlushMappedMemoryRanges()
47 return VK_SUCCESS; in on_vkInvalidateMappedMemoryRanges()

123456