diff options
| author | Charles Giessen <charles@lunarg.com> | 2025-03-08 11:24:05 -0600 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2025-03-08 12:59:41 -0700 |
| commit | 4d5e1f892f87c735559db1fa1eb478c117f4933e (patch) | |
| tree | 96f7eb9429d3f255306de78b2ebb649d3913c064 | |
| parent | 42c54538e6c165adbc4492e89188066c68c14542 (diff) | |
| download | usermoji-4d5e1f892f87c735559db1fa1eb478c117f4933e.tar.xz | |
vulkaninfo: Use Object in video props vkconfig output
| -rw-r--r-- | vulkaninfo/vulkaninfo.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp index eb30a7b7..cec2e6c6 100644 --- a/vulkaninfo/vulkaninfo.cpp +++ b/vulkaninfo/vulkaninfo.cpp @@ -663,7 +663,7 @@ void GpuDumpVideoProfiles(Printer &p, AppGpu &gpu, bool show_video_props) { for (const auto &video_formats_it : video_profile->formats_by_category) { const auto &video_format_category_name = video_formats_it.first; const auto &video_format_props = video_formats_it.second; - ArrayWrapper video_format_category(p, video_format_category_name, video_format_props.size()); + ObjectWrapper video_format_category(p, video_format_category_name, video_format_props.size()); for (size_t i = 0; i < video_format_props.size(); ++i) { ObjectWrapper video_format_obj(p, video_format_category_name + " Format #" + std::to_string(i + 1)); p.SetSubHeader(); @@ -879,9 +879,7 @@ void PrintProfileBaseInfo(Printer &p, const std::string &device_name, uint32_t a p.PrintKeyString("api-version", APIVersion(apiVersion).str()); p.PrintKeyString("label", device_label); p.PrintKeyString("description", std::string("Exported from ") + APP_SHORT_NAME); - { - ObjectWrapper contributors(p, "contributors"); - } + { ObjectWrapper contributors(p, "contributors"); } { ArrayWrapper contributors(p, "history"); ObjectWrapper element(p, ""); |
