Skip to content

Commit

Permalink
remove some test-asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-lunarg committed Sep 5, 2024
1 parent c5b7479 commit 2534a54
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions framework/decode/vulkan_replay_consumer_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7835,17 +7835,7 @@ VkDeviceAddress VulkanReplayConsumerBase::OverrideGetBufferDeviceAddress(

// track device-addresses
GetBufferTracker(device).TrackBuffer(buffer_info);

// Fabian tmp
// request 'some' address anywhere in buffer, assert we get back correct buffers
const auto& buffer_tracker = GetBufferTracker(device);
auto found_capture_info =
buffer_tracker.GetBufferByCaptureDeviceAddress(buffer_info->capture_address + buffer_info->size / 2);
auto found_replay_info =
buffer_tracker.GetBufferByReplayDeviceAddress(buffer_info->replay_address + buffer_info->size / 2);
GFXRECON_ASSERT(found_capture_info && found_replay_info)
GFXRECON_ASSERT(found_capture_info == found_replay_info)


return replay_device_address;
}

Expand Down

0 comments on commit 2534a54

Please sign in to comment.