Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dfranx committed Mar 10, 2021
1 parent d696925 commit d05da43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SHADERed/Objects/FrameAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,11 +772,11 @@ namespace ed {
lastBBIndex = i;
continue;
}
spvgentwo::BasicBlock& bb = *(f.begin() + i);
spvgentwo::BasicBlock& bb = *(f.begin() + (unsigned int)i);
bb.clear();
}

spvgentwo::BasicBlock& bb = *(f.begin() + lastBBIndex);
spvgentwo::BasicBlock& bb = *(f.begin() + (unsigned int)lastBBIndex);

spvgentwo::Instruction* loadedInput = bb->opLoad(inputInstruction);
spvgentwo::Instruction* newValue = nullptr;
Expand Down

0 comments on commit d05da43

Please sign in to comment.