Skip to content

Commit

Permalink
TMP: Add waitIdle before remeshing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed Feb 12, 2024
1 parent ef7529d commit c78c1fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vkrender.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4299,7 +4299,8 @@ void AsyVkRender::display()

if(remesh) {
clearCenters();

#pragma message("FIXME: See if we can have more fine-grained fence here")
device->waitIdle();
for (int i = 0; i < maxFramesInFlight; i++) {
frameObjects[i].reset();
}
Expand Down

0 comments on commit c78c1fa

Please sign in to comment.