aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kniager <jeremyk@lunarg.com>2019-06-13 10:19:03 -0600
committerjeremyk-lunarg <jeremyk@lunarg.com>2019-06-13 14:49:47 -0600
commitcbfd2721820ebcf1dd29caa216406c3e9c51020b (patch)
tree12f52639b487ca48ceee02a6e13b73f0d0ffb8ea
parent3ccd7f6ebae3e1919adf837718c04feb6c2acc61 (diff)
downloadusermoji-cbfd2721820ebcf1dd29caa216406c3e9c51020b.tar.xz
vulkaninfo: Fix HTML format for multi-GPU computer
Fixes an issue found where the device properties and extensions would only be printed for the first GPU on a system when printing in HTML format. Change-Id: Id6812d7c6b14915afb87fdb740e8918f4609d662
-rw-r--r--vulkaninfo/vulkaninfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vulkaninfo/vulkaninfo.c b/vulkaninfo/vulkaninfo.c
index 8570ed8e..888055be 100644
--- a/vulkaninfo/vulkaninfo.c
+++ b/vulkaninfo/vulkaninfo.c
@@ -4565,6 +4565,7 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) {
"\t\t\t\t\t\t<details><summary>transformFeedbackDraw = <span class='val'>%" PRIuLEAST32
"</span></summary></details>\n",
transform_feedback_properties->transformFeedbackDraw);
+ fprintf(out, "\t\t\t\t\t</details>\n");
} else if (human_readable_output) {
printf("\nVkPhysicalDeviceTransformFeedbackProperties\n");
printf("===========================================\n");
@@ -4618,6 +4619,7 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) {
"\t\t\t\t\t\t<details><summary>fragmentDensityInvocations = <span class='val'>%" PRIuLEAST32
"</span></summary></details>\n",
fragment_density_map_properties->fragmentDensityInvocations);
+ fprintf(out, "\t\t\t\t\t</details>\n");
} else if (human_readable_output) {
printf("\nVkPhysicalDeviceFragmentDensityMapProperties\n");
printf("============================================\n");
@@ -4691,6 +4693,7 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) {
"\t\t\t\t\t\t<details><summary>independentResolve = <span class='val'>%" PRIuLEAST32
"</span></summary></details>\n",
depth_stencil_resolve_properties->independentResolve);
+ fprintf(out, "\t\t\t\t\t</details>\n");
} else if (human_readable_output) {
printf("\nVkPhysicalDeviceDepthStencilResolveProperties\n");
printf("============================================\n");