Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
locke-lunarg committed Jan 29, 2025
1 parent b219cc5 commit 456fe64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions framework/decode/vulkan_pre_process_consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ class VulkanPreProcessConsumer : public VulkanConsumer
dump_resources_target_ = dump_resources_target;
}

std::string GetDumpResourcesBlockIndices()
std::string GetDumpResourcesBlockIndices()
{
GFXRECON_ASSERT(track_submit_index_ > dump_resources_target_.submit_index);

std::string dump_resources_block_indices;
auto it = track_cmd_buf_infos_.find(target_command_buffer_);
auto it = track_cmd_buf_infos_.find(target_command_buffer_);
if (it != track_cmd_buf_infos_.end())
{
GFXRECON_ASSERT(it->second.draw_call_indices.size() > dump_resources_target_.draw_call_index);
Expand Down Expand Up @@ -170,7 +170,7 @@ class VulkanPreProcessConsumer : public VulkanConsumer
HandlePointerDecoder<VkCommandBuffer>* pCommandBuffers)
{
CHECK_VULKAN_CONSUMER_USAGE();
auto cmd_buf_handle_id = pCommandBuffers->GetPointer();
auto cmd_buf_handle_id = pCommandBuffers->GetPointer();
VkTrackDumpCommandBuffer cmd_buf_info{};
track_cmd_buf_infos_[*cmd_buf_handle_id] = cmd_buf_info;
}
Expand Down Expand Up @@ -728,7 +728,7 @@ class VulkanPreProcessConsumer : public VulkanConsumer
draw_call.type = type;
draw_call.block_index = block_index;

switch(type)
switch (type)
{
case VkDumpDrawCallType::kDraw:
draw_call.render_pass.begin_block_index = it->second.current_begin_render_pass_block_index;
Expand All @@ -742,7 +742,7 @@ class VulkanPreProcessConsumer : public VulkanConsumer
}
}

void QueueSubmit(const std::vector<format::HandleId>& cmd_bufs, uint64_t block_index)
void QueueSubmit(const std::vector<format::HandleId>& cmd_bufs, uint64_t block_index)
{
if (track_submit_index_ == dump_resources_target_.submit_index)
{
Expand Down
3 changes: 2 additions & 1 deletion tools/replay/replay_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const char kArguments[] =
"screenshot-dir,--screenshot-prefix,--screenshot-size,--screenshot-scale,--mfr|--measurement-frame-range,--fw|--"
"force-windowed,--fwo|--force-windowed-origin,--batching-memory-usage,--measurement-file,--swapchain,--sgfs|--skip-"
"get-fence-status,--sgfr|--"
"skip-get-fence-ranges,--dump-resources,--dump-resources-block-indices,--dump-resources-scale,--dump-resources-image-format,--dump-resources-dir,"
"skip-get-fence-ranges,--dump-resources,--dump-resources-block-indices,--dump-resources-scale,--dump-resources-"
"image-format,--dump-resources-dir,"
"--dump-resources-dump-color-attachment-index,--pbis,--pcj|--pipeline-creation-jobs,--save-pipeline-cache,--load-"
"pipeline-cache,--quit-after-frame";

Expand Down

0 comments on commit 456fe64

Please sign in to comment.