Skip to content

Commit

Permalink
VK: Add checkVkResult to submit for partial sums.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed Jan 21, 2024
1 parent d6aac5c commit 3700ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vkrender.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3741,7 +3741,7 @@ void AsyVkRender::refreshBuffers(FrameObject & object, int imageIndex) {

// Send all the partial sum commands to the GPU, where they will wait
// until we signal them through the startTimedSums event
renderQueue.submit(1, &partialSumsInfo, nullptr);
vkutils::checkVkResult(renderQueue.submit(1, &partialSumsInfo, nullptr));

// Start recording the time
utils::stopWatch Timer;
Expand Down

0 comments on commit 3700ce0

Please sign in to comment.