diff options
| author | Jeremy Kniager <jeremyk@lunarg.com> | 2018-07-02 15:17:31 -0600 |
|---|---|---|
| committer | jeremyk-lunarg <jeremyk@lunarg.com> | 2018-07-03 10:33:34 -0600 |
| commit | 6bcfceb0adcd6926f32b3ef7f45e663dcfb592f9 (patch) | |
| tree | 837125ff4a974e99512fcea4b6584143ef982f06 | |
| parent | 9ed609d5bf0c1a41fa7fc6931edcd2502b3ef3a7 (diff) | |
| download | usermoji-6bcfceb0adcd6926f32b3ef7f45e663dcfb592f9.tar.xz | |
vulkaninfo: Fix warnings in maintenance3 printing
Fixed incorrect number of arguments in print statements
for VkPhysicalDeviceMaintenance3PropertiesKHR.
Change-Id: If69e6873964364f324853ff996a4e405877f771a
| -rw-r--r-- | vulkaninfo/vulkaninfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vulkaninfo/vulkaninfo.c b/vulkaninfo/vulkaninfo.c index f51121a4..fefb8798 100644 --- a/vulkaninfo/vulkaninfo.c +++ b/vulkaninfo/vulkaninfo.c @@ -2555,14 +2555,14 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) { VkPhysicalDeviceMaintenance3PropertiesKHR *maintenance3_props = (VkPhysicalDeviceMaintenance3PropertiesKHR*)structure; if (html_output) { fprintf(out, "\n\t\t\t\t\t<details><summary>VkPhysicalDeviceMaintenance3Properties</summary>\n"); - fprintf(out, "\t\t\t\t\t\t<details><summary>maxPerSetDescriptors = <div class='val'>" PRIuLEAST32 "</div></summary></details>\n", maintenance3_props->maxPerSetDescriptors); - fprintf(out, "\t\t\t\t\t\t<details><summary>maxMemoryAllocationSize = <div class='val'>" PRIuLEAST32 "</div></summary></details>\n", maintenance3_props->maxMemoryAllocationSize); + fprintf(out, "\t\t\t\t\t\t<details><summary>maxPerSetDescriptors = <div class='val'>%" PRIuLEAST32 "</div></summary></details>\n", maintenance3_props->maxPerSetDescriptors); + fprintf(out, "\t\t\t\t\t\t<details><summary>maxMemoryAllocationSize = <div class='val'>%" PRIuLEAST64 "</div></summary></details>\n", maintenance3_props->maxMemoryAllocationSize); fprintf(out, "\t\t\t\t\t</details>\n"); } else if (human_readable_output) { printf("\nVkPhysicalDeviceMaintenance3Properties:\n"); printf("=======================================\n"); - printf("\tmaxPerSetDescriptors = " PRIuLEAST32 "\n", maintenance3_props->maxPerSetDescriptors ); - printf("\tmaxMemoryAllocationSize = " PRIuLEAST32 "\n", maintenance3_props->maxMemoryAllocationSize); + printf("\tmaxPerSetDescriptors = %" PRIuLEAST32 "\n", maintenance3_props->maxPerSetDescriptors ); + printf("\tmaxMemoryAllocationSize = %" PRIuLEAST64 "\n", maintenance3_props->maxMemoryAllocationSize); } } place = structure->pNext; |
