Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/mesa3d/src/intel/vulkan/
Danv_queue.c136 return VK_SUCCESS; in anv_timeline_init()
163 VkResult result = VK_SUCCESS; in anv_timeline_add_point_locked()
171 if (result == VK_SUCCESS) { in anv_timeline_add_point_locked()
177 if (result != VK_SUCCESS) in anv_timeline_add_point_locked()
186 if (result == VK_SUCCESS) { in anv_timeline_add_point_locked()
205 return VK_SUCCESS; in anv_timeline_gc_locked()
217 return VK_SUCCESS; in anv_timeline_gc_locked()
225 return VK_SUCCESS; in anv_timeline_gc_locked()
226 } else if (result != VK_SUCCESS) { in anv_timeline_gc_locked()
237 return VK_SUCCESS; in anv_timeline_gc_locked()
[all …]
Danv_android.c253 return VK_SUCCESS; in get_ahw_buffer_format_properties2()
309 return VK_SUCCESS; in anv_GetAndroidHardwareBufferPropertiesANDROID()
334 return VK_SUCCESS; in anv_GetMemoryAndroidHardwareBufferANDROID()
400 assert(result == VK_SUCCESS); in anv_import_ahw_memory()
410 return VK_SUCCESS; in anv_import_ahw_memory()
520 if (result != VK_SUCCESS) { in anv_image_init_from_gralloc()
555 if (result != VK_SUCCESS) in anv_image_init_from_gralloc()
586 return VK_SUCCESS; in anv_image_init_from_gralloc()
623 if (result != VK_SUCCESS) { in anv_image_bind_from_gralloc()
647 return VK_SUCCESS; in anv_image_bind_from_gralloc()
[all …]
Danv_batch_chain.c57 return VK_SUCCESS; in anv_reloc_list_init()
104 return VK_SUCCESS; in anv_reloc_list_init_clone()
122 return VK_SUCCESS; in anv_reloc_list_grow()
146 return VK_SUCCESS; in anv_reloc_list_grow()
155 return VK_SUCCESS; in anv_reloc_list_grow_deps()
173 return VK_SUCCESS; in anv_reloc_list_grow_deps()
189 if (unlikely(result != VK_SUCCESS)) in anv_reloc_list_add_bo()
194 return VK_SUCCESS; in anv_reloc_list_add_bo()
218 if (result != VK_SUCCESS) in anv_reloc_list_add()
233 return VK_SUCCESS; in anv_reloc_list_add()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp59 if (result != VK_SUCCESS && result != VK_INCOMPLETE) { in GatherGlobalInfo()
65 if (result != VK_SUCCESS) { in GatherGlobalInfo()
87 if (result != VK_SUCCESS && result != VK_INCOMPLETE) { in GatherGlobalInfo()
94 if (result != VK_SUCCESS) { in GatherGlobalInfo()
134 if (result != VK_SUCCESS && result != VK_INCOMPLETE) { in GetPhysicalDevices()
140 if (result != VK_SUCCESS) { in GetPhysicalDevices()
182 if (result != VK_SUCCESS && result != VK_INCOMPLETE) { in GatherDeviceInfo()
189 if (result != VK_SUCCESS) { in GatherDeviceInfo()
199 if (result != VK_SUCCESS && result != VK_INCOMPLETE) { in GatherDeviceInfo()
206 if (result != VK_SUCCESS) { in GatherDeviceInfo()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c222 return VK_SUCCESS; in vn_GetSwapchainGrallocUsage2ANDROID()
262 return VK_SUCCESS; in vn_android_get_dma_buf_from_native_handle()
351 return VK_SUCCESS; in vn_android_get_modifier_properties()
368 VkResult result = VK_SUCCESS; in vn_android_get_image_builder()
377 if (result != VK_SUCCESS) in vn_android_get_image_builder()
402 return VK_SUCCESS; in vn_android_get_image_builder()
421 VkResult result = VK_SUCCESS; in vn_android_image_from_anb()
434 if (result != VK_SUCCESS) in vn_android_image_from_anb()
439 if (result != VK_SUCCESS) in vn_android_image_from_anb()
444 if (result != VK_SUCCESS) { in vn_android_image_from_anb()
[all …]
Dvn_device_memory.c50 if (result != VK_SUCCESS) { in vn_device_memory_simple_alloc()
62 if (result != VK_SUCCESS) { in vn_device_memory_simple_alloc()
73 return VK_SUCCESS; in vn_device_memory_simple_alloc()
108 if (result != VK_SUCCESS) in vn_device_memory_pool_grow_locked()
125 return VK_SUCCESS; in vn_device_memory_pool_grow_locked()
150 if (result != VK_SUCCESS) { in vn_device_memory_pool_alloc()
165 return VK_SUCCESS; in vn_device_memory_pool_alloc()
237 VkResult result = VK_SUCCESS; in vn_device_memory_import_dma_buf()
244 if (result != VK_SUCCESS) in vn_device_memory_import_dma_buf()
263 if (result != VK_SUCCESS) { in vn_device_memory_import_dma_buf()
[all …]
Dvn_queue.c168 return VK_SUCCESS; in vn_queue_submission_alloc_storage()
179 return VK_SUCCESS; in vn_queue_submission_alloc_storage()
292 if (result != VK_SUCCESS) in vn_queue_submission_prepare_submit()
297 return VK_SUCCESS; in vn_queue_submission_prepare_submit()
317 if (result != VK_SUCCESS) in vn_queue_submission_prepare_bind_sparse()
322 return VK_SUCCESS; in vn_queue_submission_prepare_bind_sparse()
346 if (result != VK_SUCCESS) in vn_QueueSubmit()
362 if (result != VK_SUCCESS) { in vn_QueueSubmit()
390 return VK_SUCCESS; in vn_QueueSubmit()
405 if (result != VK_SUCCESS) in vn_QueueBindSparse()
[all …]
Dvn_wsi.c85 if (result != VK_SUCCESS) in vn_wsi_init()
94 return VK_SUCCESS; in vn_wsi_init()
133 if (result != VK_SUCCESS) in vn_wsi_create_image()
140 return VK_SUCCESS; in vn_wsi_create_image()
155 if (VN_DEBUG(WSI) && result == VK_SUCCESS) { in vn_CreateSwapchainKHR()
190 if (VN_DEBUG(WSI) && result != VK_SUCCESS) { in vn_QueuePresentKHR()
213 if (VN_DEBUG(WSI) && result != VK_SUCCESS) { in vn_AcquireNextImage2KHR()
214 const int idx = result >= VK_SUCCESS ? *pImageIndex : -1; in vn_AcquireNextImage2KHR()
221 if (result == VK_SUCCESS || result == VK_SUBOPTIMAL_KHR) { in vn_AcquireNextImage2KHR()
Dvn_device.c70 if (result != VK_SUCCESS) in vn_queue_init()
73 return VK_SUCCESS; in vn_queue_init()
92 VkResult result = VK_SUCCESS; in vn_device_init_queues()
99 if (result != VK_SUCCESS) in vn_device_init_queues()
106 if (result != VK_SUCCESS) { in vn_device_init_queues()
117 return VK_SUCCESS; in vn_device_init_queues()
290 if (result != VK_SUCCESS) { in vn_CreateDevice()
310 if (result != VK_SUCCESS) in vn_CreateDevice()
314 if (result != VK_SUCCESS) { in vn_CreateDevice()
327 if (result != VK_SUCCESS) { in vn_CreateDevice()
[all …]
Dvn_image.c151 return VK_SUCCESS; in vn_image_store_deferred_create_info()
161 VkResult result = VK_SUCCESS; in vn_image_init()
168 if (result != VK_SUCCESS) in vn_image_init()
173 return VK_SUCCESS; in vn_image_init()
183 VkResult result = VK_SUCCESS; in vn_image_create()
193 if (result != VK_SUCCESS) { in vn_image_create()
201 return VK_SUCCESS; in vn_image_create()
219 VkResult result = VK_SUCCESS; in vn_image_create_deferred()
230 if (result != VK_SUCCESS) { in vn_image_create_deferred()
238 return VK_SUCCESS; in vn_image_create_deferred()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp30 ASSERT(result == VK_SUCCESS); in EnumerateInstanceExtensionProperties()
34 ASSERT(result == VK_SUCCESS); in EnumerateInstanceExtensionProperties()
42 ASSERT(result == VK_SUCCESS); in EnumeratePhysicalDevices()
55 ASSERT(result == VK_SUCCESS); in EnumerateDeviceExtensionProperties()
59 ASSERT(result == VK_SUCCESS); in EnumerateDeviceExtensionProperties()
198 VkResult result = VK_SUCCESS; in initialize()
201 ASSERT(result == VK_SUCCESS); in initialize()
252 ASSERT(result == VK_SUCCESS); in initialize()
332 ASSERT(result == VK_SUCCESS); in initialize()
350 ASSERT(result == VK_SUCCESS); in initialize()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_android.c174 return VK_SUCCESS; in tu_gralloc_info_other()
211 return VK_SUCCESS; in tu_gralloc_info_cros()
301 if (result != VK_SUCCESS) in tu_import_memory_from_gralloc_handle()
314 return VK_SUCCESS; in tu_import_memory_from_gralloc_handle()
360 if (result != VK_SUCCESS) { in format_supported_with_usage()
367 return VK_SUCCESS; in format_supported_with_usage()
408 return VK_SUCCESS; in setup_gralloc0_usage()
421 if (result != VK_SUCCESS) in tu_GetSwapchainGrallocUsageANDROID()
445 if (result != VK_SUCCESS) in tu_GetSwapchainGrallocUsage2ANDROID()
450 if (result != VK_SUCCESS) in tu_GetSwapchainGrallocUsage2ANDROID()
[all …]
Dtu_cs.c117 if (result != VK_SUCCESS) { in tu_cs_add_bo()
123 if (result != VK_SUCCESS) { in tu_cs_add_bo()
134 return VK_SUCCESS; in tu_cs_add_bo()
158 return VK_SUCCESS; in tu_cs_reserve_entry()
207 if (result != VK_SUCCESS) in tu_cs_add_entries()
212 return VK_SUCCESS; in tu_cs_add_entries()
254 if (result != VK_SUCCESS) in tu_cs_begin_sub_stream()
260 assert(result == VK_SUCCESS); in tu_cs_begin_sub_stream()
262 return VK_SUCCESS; in tu_cs_begin_sub_stream()
280 return VK_SUCCESS; in tu_cs_alloc()
[all …]
Dtu_kgsl.c109 return VK_SUCCESS; in tu_bo_init_new()
151 return VK_SUCCESS; in tu_bo_init_dmabuf()
166 return VK_SUCCESS; in tu_bo_map()
176 return VK_SUCCESS; in tu_bo_map()
254 if (tu_physical_device_init(device, instance) != VK_SUCCESS) in tu_enumerate_devices()
259 return VK_SUCCESS; in tu_enumerate_devices()
343 VkResult result = VK_SUCCESS; in tu_QueueSubmit()
493 return VK_SUCCESS; in sync_create()
501 return VK_SUCCESS; in tu_ImportSemaphoreFdKHR()
510 return VK_SUCCESS; in tu_GetSemaphoreFdKHR()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp35 return VK_SUCCESS; in getWindowSize()
90 if(result != VK_SUCCESS) in present()
98 return VK_SUCCESS; in present()
112 return VK_SUCCESS; in present()
119 if(result != VK_SUCCESS) in lazyCreateFrameBuffer()
127 return VK_SUCCESS; in lazyCreateFrameBuffer()
139 return VK_SUCCESS; in lazyCreateFrameBuffer()
159 return VK_SUCCESS; in lazyCreateFrameBuffer()
DVkSurfaceKHR.cpp46 if(status != VK_SUCCESS) in createImage()
62 if(status != VK_SUCCESS) in allocateAndBindImageMemory()
71 return VK_SUCCESS; in allocateAndBindImageMemory()
118 return VK_SUCCESS; in getSurfaceFormats()
143 return VK_SUCCESS; in getPresentModes()
166 return VK_SUCCESS; in getPresentRectangles()
181 return VK_SUCCESS; in getPresentRectangles()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkNullDriverImpl.inl528 return VK_SUCCESS;
536 return VK_SUCCESS;
545 return VK_SUCCESS;
551 return VK_SUCCESS;
557 return VK_SUCCESS;
565 return VK_SUCCESS;
573 return VK_SUCCESS;
589 return VK_SUCCESS;
598 return VK_SUCCESS;
627 return VK_SUCCESS;
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDevice.cpp239 if(Cast(pFences[i])->getStatus() != VK_SUCCESS) // At least one fence is not signaled in waitForFences()
246 if(Cast(pFences[i])->wait() != VK_SUCCESS) // At least one fence is not signaled in waitForFences()
253 if(Cast(pFences[i])->wait(end_ns) != VK_SUCCESS) // At least one fence is not signaled in waitForFences()
260 return VK_SUCCESS; in waitForFences()
274 return any.isSignalled() ? VK_SUCCESS : VK_TIMEOUT; in waitForFences()
279 return VK_SUCCESS; in waitForFences()
283 return any.wait_until(end_ns) ? VK_SUCCESS : VK_TIMEOUT; in waitForFences()
304 return VK_SUCCESS; in waitForSemaphores()
313 return VK_SUCCESS; in waitForSemaphores()
317 if(any.wait(1, end_ns) == VK_SUCCESS) in waitForSemaphores()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_queue.c146 return VK_SUCCESS; in gpu_queue_wait_idle()
198 return VK_SUCCESS; in handle_reset_query_cpu_job()
211 return VK_SUCCESS; in handle_end_query_cpu_job()
242 return VK_SUCCESS; in handle_copy_query_results_cpu_job()
272 if (result != VK_SUCCESS) in handle_set_event_cpu_job()
278 return VK_SUCCESS; in handle_set_event_cpu_job()
340 result = VK_SUCCESS; in event_wait_thread_func()
343 if (result != VK_SUCCESS) { in event_wait_thread_func()
380 return VK_SUCCESS; in handle_wait_events_cpu_job()
446 return VK_SUCCESS; in handle_copy_buffer_to_image_cpu_job()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c168 if (result != VK_SUCCESS) in radv_image_from_gralloc()
192 if (result != VK_SUCCESS) in radv_image_from_gralloc()
211 return VK_SUCCESS; in radv_image_from_gralloc()
257 if (result != VK_SUCCESS) { in radv_GetSwapchainGrallocUsageANDROID()
294 return VK_SUCCESS; in radv_GetSwapchainGrallocUsageANDROID()
334 if (result != VK_SUCCESS) { in radv_GetSwapchainGrallocUsage2ANDROID()
372 return VK_SUCCESS; in radv_GetSwapchainGrallocUsage2ANDROID()
385 VkResult result = VK_SUCCESS; in radv_AcquireImageANDROID()
430 if (result == VK_SUCCESS) in radv_AcquireImageANDROID()
434 if (result == VK_SUCCESS && fence != VK_NULL_HANDLE) { in radv_AcquireImageANDROID()
[all …]
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_win32.c106 return VK_SUCCESS; in wsi_create_win32_surface()
136 return VK_SUCCESS; in wsi_win32_surface_get_support()
170 return VK_SUCCESS; in wsi_win32_surface_get_capabilities()
284 return VK_SUCCESS; in wsi_win32_surface_get_present_modes()
293 return VK_SUCCESS; in wsi_win32_surface_get_present_modes()
396 if (result != VK_SUCCESS) in wsi_create_native_image()
427 if (result != VK_SUCCESS) in wsi_create_native_image()
432 if (result != VK_SUCCESS) in wsi_create_native_image()
449 return VK_SUCCESS; in wsi_create_native_image()
469 if (result != VK_SUCCESS) in wsi_win32_image_init()
[all …]
Dwsi_common.c115 if (result != VK_SUCCESS) in wsi_device_init()
121 if (result != VK_SUCCESS) in wsi_device_init()
127 if (result != VK_SUCCESS) in wsi_device_init()
133 if (result != VK_SUCCESS) in wsi_device_init()
163 return VK_SUCCESS; in wsi_device_init()
239 if (result != VK_SUCCESS) in wsi_swapchain_init()
243 return VK_SUCCESS; in wsi_swapchain_init()
263 if (result != VK_SUCCESS) in wsi_swapchain_is_present_mode_supported()
272 if (result != VK_SUCCESS) in wsi_swapchain_is_present_mode_supported()
374 if (result == VK_SUCCESS) in wsi_GetPhysicalDeviceSurfaceCapabilitiesKHR()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp33 ASSERT(result == VK_SUCCESS); in EnumerateInstanceExtensionProperties()
37 ASSERT(result == VK_SUCCESS); in EnumerateInstanceExtensionProperties()
45 ASSERT(result == VK_SUCCESS); in EnumeratePhysicalDevices()
58 ASSERT(result == VK_SUCCESS); in EnumerateDeviceExtensionProperties()
62 ASSERT(result == VK_SUCCESS); in EnumerateDeviceExtensionProperties()
189 ASSERT(result == VK_SUCCESS); in initialize()
262 ASSERT(result == VK_SUCCESS); in initialize()
328 ASSERT(result == VK_SUCCESS); in canCreateImageOpaqueFd()
380 if (result != VK_SUCCESS) in createImage2DOpaqueFd()
408 if (result != VK_SUCCESS) in createImage2DOpaqueFd()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicFenceTests.cpp93 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in basicOneFenceCase()
96 if (VK_SUCCESS != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
99 if (VK_SUCCESS != vk.resetFences(device, 1u, &fence.get())) in basicOneFenceCase()
126 if (vkd.getFenceStatus(device, fences.back().get()) != VK_SUCCESS) in basicSignaledCase()
134 if (waitResult != VK_SUCCESS) in basicSignaledCase()
200 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence[FIRST_FENCE], DE_FALSE, LONG_FENCE_WAIT)) in basicMultiFenceCase()
203 if (VK_SUCCESS != vk.resetFences(device, 1u, &fence[FIRST_FENCE])) in basicMultiFenceCase()
213 if (VK_SUCCESS != vk.waitForFences(device, 2u, &fence[FIRST_FENCE], DE_TRUE, LONG_FENCE_WAIT)) in basicMultiFenceCase()
236 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in emptySubmitCase()
309 if (VK_SUCCESS != vk.waitForFences(device, 2u, &fence[FIRST_FENCE], DE_FALSE, LONG_FENCE_WAIT)) in basicMultiFenceWaitAllFalseCase()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c133 return VK_SUCCESS; in panvk_EnumerateInstanceVersion()
186 if (result != VK_SUCCESS) { in panvk_CreateInstance()
202 return VK_SUCCESS; in panvk_CreateInstance()
241 VkResult result = VK_SUCCESS; in panvk_physical_device_init()
293 if (result != VK_SUCCESS) { in panvk_physical_device_init()
342 if (result != VK_SUCCESS) { in panvk_physical_device_init()
347 return VK_SUCCESS; in panvk_physical_device_init()
384 if (result == VK_SUCCESS) in panvk_enumerate_devices()
407 if (result != VK_SUCCESS && result != VK_ERROR_INCOMPATIBLE_DRIVER) in panvk_EnumeratePhysicalDevices()
433 if (result != VK_SUCCESS && result != VK_ERROR_INCOMPATIBLE_DRIVER) in panvk_EnumeratePhysicalDeviceGroups()
[all …]

12345678910>>...17