Skip to content

Commit

Permalink
android build, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-lunarg committed Sep 5, 2024
1 parent 2534a54 commit 6880b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions android/framework/decode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ target_sources(gfxrecon_decode
${GFXRECON_SOURCE_DIR}/framework/decode/value_decoder.h
${GFXRECON_SOURCE_DIR}/framework/decode/metadata_consumer_base.h
${GFXRECON_SOURCE_DIR}/framework/decode/marker_consumer_base.h
${GFXRECON_SOURCE_DIR}/framework/decode/vulkan_buffer_tracker.h
${GFXRECON_SOURCE_DIR}/framework/decode/vulkan_buffer_tracker.cpp
${GFXRECON_SOURCE_DIR}/framework/decode/vulkan_consumer_base.h
${GFXRECON_SOURCE_DIR}/framework/decode/vulkan_decoder_base.h
${GFXRECON_SOURCE_DIR}/framework/decode/vulkan_decoder_base.cpp
Expand Down
5 changes: 2 additions & 3 deletions framework/decode/vulkan_replay_consumer_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4483,8 +4483,8 @@ VkResult VulkanReplayConsumerBase::OverrideBindBufferMemory(PFN_vkBindBufferMemo
auto entry = device_info->opaque_addresses.find(memory_info->capture_id);
if (entry != device_info->opaque_addresses.end())
{
uint64_t memory_device_address = entry->second;
uint64_t original_buffer_address = memory_device_address + memoryOffset;
uint64_t memory_device_address = entry->second;
uint64_t original_buffer_address = memory_device_address + memoryOffset;
VkBufferDeviceAddressInfo info = {};
info.sType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO;
info.pNext = nullptr;
Expand Down Expand Up @@ -7835,7 +7835,6 @@ VkDeviceAddress VulkanReplayConsumerBase::OverrideGetBufferDeviceAddress(

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

return replay_device_address;
}

Expand Down

0 comments on commit 6880b09

Please sign in to comment.