File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ namespace Anvil
278278 Anvil::Semaphore* const * in_wait_semaphore_ptrs_ptr,
279279 Anvil::SwapchainOperationErrorCode* out_present_results_ptr);
280280
281- bool submit (const SubmitInfo& in_submit_info);
281+ VkResult submit (const SubmitInfo & in_submit_info);
282282
283283 /* * Tells whether the queue supports protected memory operations */
284284 bool supports_protected_memory_operations () const
Original file line number Diff line number Diff line change @@ -1017,7 +1017,7 @@ void Anvil::Queue::present_lock_unlock(uint32_t in_n_swapc
10171017}
10181018
10191019/* * Please see header for specification */
1020- bool Anvil::Queue::submit (const Anvil::SubmitInfo& in_submit_info)
1020+ VkResult Anvil::Queue::submit (const Anvil::SubmitInfo & in_submit_info)
10211021{
10221022 Anvil::Fence* fence_ptr (in_submit_info.get_fence () );
10231023 bool needs_fence_reset (false );
@@ -1371,7 +1371,7 @@ bool Anvil::Queue::submit(const Anvil::SubmitInfo& in_submit_info)
13711371 }
13721372 }
13731373
1374- return ( result == VK_SUCCESS) ;
1374+ return result;
13751375}
13761376
13771377void Anvil::Queue::submit_command_buffers_lock_unlock (uint32_t in_n_command_buffers,
You can’t perform that action at this time.
0 commit comments