From cbfd2721820ebcf1dd29caa216406c3e9c51020b Mon Sep 17 00:00:00 2001 From: Jeremy Kniager Date: Thu, 13 Jun 2019 10:19:03 -0600 Subject: 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 --- vulkaninfo/vulkaninfo.c | 3 +++ 1 file changed, 3 insertions(+) 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
transformFeedbackDraw = %" PRIuLEAST32 "
\n", transform_feedback_properties->transformFeedbackDraw); + fprintf(out, "\t\t\t\t\t\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
fragmentDensityInvocations = %" PRIuLEAST32 "
\n", fragment_density_map_properties->fragmentDensityInvocations); + fprintf(out, "\t\t\t\t\t\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
independentResolve = %" PRIuLEAST32 "
\n", depth_stencil_resolve_properties->independentResolve); + fprintf(out, "\t\t\t\t\t\n"); } else if (human_readable_output) { printf("\nVkPhysicalDeviceDepthStencilResolveProperties\n"); printf("============================================\n"); -- cgit v1.2.3