Skip to content

Commit

Permalink
revert the ASSERT check
Browse files Browse the repository at this point in the history
  • Loading branch information
jcyuan committed Feb 20, 2024
1 parent 9981b0d commit fdeb132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GeneralBarrier *barrier, const Buf
bool fullBarrier = ccBarrier->getInfo().type == BarrierType::FULL;
bool missed = _barrierEvents.find(ccTexture) == _barrierEvents.end();
if (!fullBarrier && !missed) {
//CC_ASSERT(_barrierEvents.find(ccTexture) != _barrierEvents.end());
CC_ASSERT(_barrierEvents.find(ccTexture) != _barrierEvents.end());
VkEvent event = _barrierEvents.at(ccTexture);
scheduledEvents.push_back(event);

Expand Down

0 comments on commit fdeb132

Please sign in to comment.