/third_party/vulkan-loader/tests/ |
D | loader_debug_ext_tests.cpp | 110 return VK_SUCCESS; in DestroyReportCallback() 144 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_ERROR_BIT_EXT, &inst)); in TEST_F() 159 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_ERROR_BIT_EXT, &inst, &app_info)); in TEST_F() 175 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_WARNING_BIT_EXT, &inst, &app_info)); in TEST_F() 192 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_ERROR_BIT_EXT, &inst)); in TEST_F() 211 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_ERROR_BIT_EXT, &inst)); in TEST_F() 214 ASSERT_EQ(VK_SUCCESS, CreateReportCallback(inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, &callback)); in TEST_F() 218 ASSERT_EQ(VK_SUCCESS, DestroyReportCallback(inst, callback)); in TEST_F() 234 ASSERT_EQ(VK_SUCCESS, CreateReportInstance(VK_DEBUG_REPORT_ERROR_BIT_EXT, &inst)); in TEST_F() 237 ASSERT_EQ(VK_SUCCESS, CreateReportCallback(inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, &callback)); in TEST_F() [all …]
|
D | loader_layer_tests.cpp | 34 inst.CheckCreate(VK_SUCCESS); in CheckLogForLayerString() 61 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 107 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 125 inst.CheckCreate(VK_SUCCESS); in TEST() 154 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 161 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 191 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST() 198 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST() 232 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST() 239 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST() [all …]
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_queue.c | 69 if (result != VK_SUCCESS) in pvr_queue_init() 75 if (result != VK_SUCCESS) in pvr_queue_init() 81 if (result != VK_SUCCESS) in pvr_queue_init() 86 if (result != VK_SUCCESS) in pvr_queue_init() 97 return VK_SUCCESS; in pvr_queue_init() 135 if (result != VK_SUCCESS) in pvr_queues_create() 141 return VK_SUCCESS; in pvr_queues_create() 185 if (result != VK_SUCCESS) in pvr_QueueWaitIdle() 189 return VK_SUCCESS; in pvr_QueueWaitIdle() 217 if (result != VK_SUCCESS) in pvr_process_graphics_cmd() [all …]
|
D | pvr_job_context.c | 71 return VK_SUCCESS; in pvr_ctx_reset_cmd_init() 235 if (result != VK_SUCCESS) in pvr_render_job_pt_programs_setup() 243 if (result != VK_SUCCESS) in pvr_render_job_pt_programs_setup() 251 if (result != VK_SUCCESS) in pvr_render_job_pt_programs_setup() 254 return VK_SUCCESS; in pvr_render_job_pt_programs_setup() 478 if (result != VK_SUCCESS) in pvr_ctx_sr_programs_setup() 490 if (result != VK_SUCCESS) in pvr_ctx_sr_programs_setup() 516 if (result != VK_SUCCESS) in pvr_ctx_sr_programs_setup() 538 if (result != VK_SUCCESS) in pvr_ctx_sr_programs_setup() 548 if (result != VK_SUCCESS) in pvr_ctx_sr_programs_setup() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 58 if (result != VK_SUCCESS) { in vn_device_memory_pool_grow_alloc() 65 if (result != VK_SUCCESS) { in vn_device_memory_pool_grow_alloc() 72 if (result != VK_SUCCESS) in vn_device_memory_pool_grow_alloc() 78 return VK_SUCCESS; in vn_device_memory_pool_grow_alloc() 139 if (result != VK_SUCCESS) in vn_device_memory_pool_grow_locked() 149 return VK_SUCCESS; in vn_device_memory_pool_grow_locked() 173 if (result != VK_SUCCESS) { in vn_device_memory_pool_suballocate() 188 return VK_SUCCESS; in vn_device_memory_pool_suballocate() 256 VkResult result = VK_SUCCESS; in vn_device_memory_import_dma_buf() 263 if (result != VK_SUCCESS) in vn_device_memory_import_dma_buf() [all …]
|
D | vn_queue.c | 149 return VK_SUCCESS; in vn_queue_submission_alloc_storage() 160 return VK_SUCCESS; in vn_queue_submission_alloc_storage() 273 if (result != VK_SUCCESS) in vn_queue_submission_prepare_submit() 278 return VK_SUCCESS; in vn_queue_submission_prepare_submit() 298 if (result != VK_SUCCESS) in vn_queue_submission_prepare_bind_sparse() 303 return VK_SUCCESS; in vn_queue_submission_prepare_bind_sparse() 335 return VK_SUCCESS; in vn_queue_submit() 344 return VK_SUCCESS; in vn_queue_submit() 366 if (result != VK_SUCCESS) in vn_QueueSubmit() 393 if (result != VK_SUCCESS) { in vn_QueueSubmit() [all …]
|
D | vn_android.c | 393 return VK_SUCCESS; in vn_GetSwapchainGrallocUsage2ANDROID() 454 return VK_SUCCESS; in vn_android_get_modifier_properties() 472 VkResult result = VK_SUCCESS; in vn_android_get_image_builder() 493 if (result != VK_SUCCESS) in vn_android_get_image_builder() 555 return VK_SUCCESS; in vn_android_get_image_builder() 574 VkResult result = VK_SUCCESS; in vn_android_image_from_anb() 603 if (result != VK_SUCCESS) in vn_android_image_from_anb() 608 if (result != VK_SUCCESS) { in vn_android_image_from_anb() 627 if (result != VK_SUCCESS) in vn_android_image_from_anb() 674 if (result != VK_SUCCESS) { in vn_android_image_from_anb() [all …]
|
D | vn_buffer.c | 117 if (result != VK_SUCCESS) { in vn_buffer_cache_entries_create() 130 return VK_SUCCESS; in vn_buffer_cache_entries_create() 142 return VK_SUCCESS; in vn_buffer_cache_entries_create() 174 return VK_SUCCESS; in vn_buffer_get_max_buffer_size() 186 VK_SUCCESS) { in vn_buffer_get_max_buffer_size() 196 return VK_SUCCESS; in vn_buffer_get_max_buffer_size() 212 if (result != VK_SUCCESS) in vn_buffer_cache_init() 217 if (result != VK_SUCCESS) in vn_buffer_cache_init() 221 if (result != VK_SUCCESS) in vn_buffer_cache_init() 228 return VK_SUCCESS; in vn_buffer_cache_init() [all …]
|
D | vn_wsi.c | 85 if (result != VK_SUCCESS) in vn_wsi_init() 94 return VK_SUCCESS; in vn_wsi_init() 145 if (result != VK_SUCCESS) in vn_wsi_create_image() 161 if (result != VK_SUCCESS) { in vn_wsi_create_image() 170 return VK_SUCCESS; in vn_wsi_create_image() 219 if (result != VK_SUCCESS) in vn_wsi_create_image_from_swapchain() 227 return VK_SUCCESS; in vn_wsi_create_image_from_swapchain() 242 if (VN_DEBUG(WSI) && result == VK_SUCCESS) { in vn_CreateSwapchainKHR() 278 if (VN_DEBUG(WSI) && result != VK_SUCCESS) { in vn_QueuePresentKHR() 302 if (VN_DEBUG(WSI) && result != VK_SUCCESS) { in vn_AcquireNextImage2KHR() [all …]
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_sync_timeline.c | 83 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 …]
|
D | vk_drm_syncobj.c | 72 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 …]
|
D | vk_fence.c | 137 if (result != VK_SUCCESS) { in vk_fence_create() 144 return VK_SUCCESS; in vk_fence_create() 157 if (result != VK_SUCCESS) in vk_common_CreateFence() 162 return VK_SUCCESS; in vk_common_CreateFence() 221 if (result != VK_SUCCESS) in vk_common_ResetFences() 225 return VK_SUCCESS; in vk_common_ResetFences() 261 return VK_SUCCESS; in vk_common_WaitForFences() 285 if (device_status != VK_SUCCESS) in vk_common_WaitForFences() 367 if (result != VK_SUCCESS) in vk_common_ImportFenceFdKHR() 390 if (result != VK_SUCCESS) { in vk_common_ImportFenceFdKHR() [all …]
|
D | vk_android.c | 41 VkResult result = VK_SUCCESS; in vk_common_AcquireImageANDROID() 86 if (result == VK_SUCCESS) in vk_common_AcquireImageANDROID() 90 if (result == VK_SUCCESS && fence != VK_NULL_HANDLE) { in vk_common_AcquireImageANDROID() 99 if (result == VK_SUCCESS) in vk_common_AcquireImageANDROID() 121 VkResult result = VK_SUCCESS; in vk_common_QueueSignalReleaseImageANDROID() 126 return VK_SUCCESS; in vk_common_QueueSignalReleaseImageANDROID() 140 if (result != VK_SUCCESS) { in vk_common_QueueSignalReleaseImageANDROID() 161 return VK_SUCCESS; in vk_common_QueueSignalReleaseImageANDROID()
|
D | vk_queue.c | 54 VkResult result = VK_SUCCESS; in vk_queue_init() 94 if (result != VK_SUCCESS) in vk_queue_init() 101 return VK_SUCCESS; in vk_queue_init() 268 VkResult result = VK_SUCCESS; in vk_queue_drain() 328 if (unlikely(result != VK_SUCCESS)) { in vk_queue_submit_final() 378 if (unlikely(result != VK_SUCCESS)) in vk_queue_submit_final() 392 return VK_SUCCESS; in vk_queue_submit_final() 398 VkResult result = VK_SUCCESS; in vk_queue_flush() 423 result = VK_SUCCESS; in vk_queue_flush() 425 } else if (result != VK_SUCCESS) { in vk_queue_flush() [all …]
|
D | vk_semaphore.c | 182 if (result != VK_SUCCESS) { in vk_common_CreateSemaphore() 189 return VK_SUCCESS; in vk_common_CreateSemaphore() 303 return VK_SUCCESS; in vk_common_WaitSemaphores() 331 if (device_status != VK_SUCCESS) in vk_common_WaitSemaphores() 371 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore() 376 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore() 380 return VK_SUCCESS; in vk_common_SignalSemaphore() 421 if (result != VK_SUCCESS) in vk_common_ImportSemaphoreFdKHR() 445 if (result != VK_SUCCESS) { in vk_common_ImportSemaphoreFdKHR() 473 return VK_SUCCESS; in vk_common_ImportSemaphoreFdKHR() [all …]
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 80 return VK_SUCCESS; in wsi_dma_buf_export_sync_file() 105 return VK_SUCCESS; in wsi_dma_buf_import_sync_file() 120 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore() 125 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore() 140 if (result != VK_SUCCESS) in prepare_signal_dma_buf_from_semaphore() 143 return VK_SUCCESS; in prepare_signal_dma_buf_from_semaphore() 178 if (result != VK_SUCCESS) in wsi_signal_dma_buf_from_semaphore() 218 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait() 223 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait() 227 if (result != VK_SUCCESS) in wsi_create_sync_for_dma_buf_wait() [all …]
|
D | wsi_common.c | 169 if (result != VK_SUCCESS) in wsi_device_init() 175 if (result != VK_SUCCESS) in wsi_device_init() 181 if (result != VK_SUCCESS) in wsi_device_init() 187 if (result != VK_SUCCESS) in wsi_device_init() 217 return VK_SUCCESS; in wsi_device_init() 319 if (result != VK_SUCCESS) in wsi_swapchain_init() 323 return VK_SUCCESS; in wsi_swapchain_init() 343 if (result != VK_SUCCESS) in wsi_swapchain_is_present_mode_supported() 352 if (result != VK_SUCCESS) in wsi_swapchain_is_present_mode_supported() 507 return VK_SUCCESS; in wsi_configure_image() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 30 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/intel/vulkan/ |
D | anv_batch_chain.c | 60 return VK_SUCCESS; in anv_reloc_list_init() 107 return VK_SUCCESS; in anv_reloc_list_init_clone() 125 return VK_SUCCESS; in anv_reloc_list_grow() 149 return VK_SUCCESS; in anv_reloc_list_grow() 158 return VK_SUCCESS; in anv_reloc_list_grow_deps() 176 return VK_SUCCESS; in anv_reloc_list_grow_deps() 192 if (unlikely(result != VK_SUCCESS)) in anv_reloc_list_add_bo() 197 return VK_SUCCESS; in anv_reloc_list_add_bo() 221 if (result != VK_SUCCESS) in anv_reloc_list_add() 236 return VK_SUCCESS; in anv_reloc_list_add() [all …]
|
/third_party/vulkan-loader/tests/framework/icd/ |
D | test_icd.cpp | 104 return VK_SUCCESS; in FillCountPtr() 120 return VK_SUCCESS; in FillCountPtr() 130 return VK_SUCCESS; in FillCountPtr() 146 return VK_SUCCESS; in FillCountPtr() 161 return VK_SUCCESS; in test_vkEnumerateInstanceExtensionProperties() 172 return VK_SUCCESS; in test_vkEnumerateInstanceVersion() 199 return VK_SUCCESS; in test_vkCreateInstance() 222 return VK_SUCCESS; in test_vkEnumeratePhysicalDevices() 228 VkResult result = VK_SUCCESS; in test_vkEnumeratePhysicalDeviceGroups() 311 return VK_SUCCESS; in test_vkCreateDebugUtilsMessengerEXT() [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | command_buffer.cc | 48 device_->GetVkDevice(), &command_info, &command_) != VK_SUCCESS) { in Initialize() 55 nullptr, &fence_) != VK_SUCCESS) { in Initialize() 67 VK_SUCCESS) { in BeginRecording() 76 if (device_->GetPtrs()->vkEndCommandBuffer(command_) != VK_SUCCESS) in SubmitAndReset() 80 VK_SUCCESS) { in SubmitAndReset() 89 fence_) != VK_SUCCESS) { in SubmitAndReset() 100 if (r != VK_SUCCESS) in SubmitAndReset() 103 if (device_->GetPtrs()->vkResetCommandBuffer(command_, 0) != VK_SUCCESS) in SubmitAndReset()
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
D | pvr_srv.c | 73 if (result != VK_SUCCESS) in pvr_srv_heap_init() 84 if (result != VK_SUCCESS) in pvr_srv_heap_init() 99 if (result != VK_SUCCESS) { in pvr_srv_heap_init() 104 return VK_SUCCESS; in pvr_srv_heap_init() 146 if (result != VK_SUCCESS) in pvr_srv_memctx_init() 153 if (result != VK_SUCCESS) in pvr_srv_memctx_init() 167 if (result != VK_SUCCESS) in pvr_srv_memctx_init() 215 if (result != VK_SUCCESS) in pvr_srv_memctx_init() 222 if (result != VK_SUCCESS) in pvr_srv_memctx_init() 229 if (result != VK_SUCCESS) in pvr_srv_memctx_init() [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 42 if (result != VK_SUCCESS) { in lvp_create_cmd_buffer() 61 return VK_SUCCESS; in lvp_create_cmd_buffer() 69 return VK_SUCCESS; in lvp_reset_cmd_buffer() 80 VkResult result = VK_SUCCESS; in lvp_AllocateCommandBuffers() 96 if (init_result != VK_SUCCESS) in lvp_AllocateCommandBuffers() 103 if (result != VK_SUCCESS) in lvp_AllocateCommandBuffers() 108 if (result != VK_SUCCESS) { in lvp_AllocateCommandBuffers() 161 if (result != VK_SUCCESS) in lvp_BeginCommandBuffer() 165 return VK_SUCCESS; in lvp_BeginCommandBuffer() 174 cmd_buffer->vk.cmd_queue.error == VK_SUCCESS ? in lvp_EndCommandBuffer() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDevice.cpp | 239 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/skia/third_party/externals/swiftshader/src/WSI/ |
D | Win32SurfaceKHR.cpp | 35 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()
|