Skip to content

Commit

Permalink
missing clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-lunarg committed Sep 30, 2024
1 parent 335ebc8 commit d1477c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/decode/vulkan_replay_consumer_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7561,14 +7561,13 @@ void VulkanReplayConsumerBase::OverrideCmdBuildAccelerationStructuresKHR(
auto buffer_info = address_tracker.GetBufferByCaptureDeviceAddress(capture_address);

// TODO: we 'should' find that buffer here, check what's missing
if(buffer_info != nullptr && buffer_info->replay_address != 0)
if (buffer_info != nullptr && buffer_info->replay_address != 0)
{
uint64_t offset = capture_address - buffer_info->capture_address;

// in-place address-remap via const-cast
capture_address = buffer_info->replay_address + offset;
}

};

for (uint32_t i = 0; i < infoCount; ++i)
Expand Down

0 comments on commit d1477c9

Please sign in to comment.