Skip to content

Commit

Permalink
Shortened Names of Nested Indexes in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-lunarg committed Jun 16, 2023
1 parent 4c5bbb1 commit b152a9e
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 229 deletions.
9 changes: 9 additions & 0 deletions framework/decode/vulkan_export_json_consumer_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,15 @@ class VulkanExportJsonConsumerBase : public VulkanConsumer, public AnnotationHan
constexpr const char* NameReturn() const { return "return"; }
constexpr const char* NameArgs() const { return "args"; }
constexpr const char* NameThreadId() const { return "thread"; }
/// A field not present in binary format which identifies the index of each
/// command within its command buffer.
/// @todo Make this field optional.
constexpr const char* NameCommandIndex() const { return "cmd_index"; }
/// A field not present in binary format which identifies the index of each
/// submit in the global order of all submits to all queues as recorded in
/// the binary trace file.
/// @todo Make this field optional.
constexpr const char* NameSubmitIndex() const { return "sub_index"; }

nlohmann::ordered_json& WriteApiCallStart(const ApiCallInfo& call_info, const std::string& command_name);

Expand Down
Loading

0 comments on commit b152a9e

Please sign in to comment.