From 4e0a12f4e27462df348816079e9b9ca9fd023590 Mon Sep 17 00:00:00 2001 From: Jeremy Kniager Date: Thu, 28 Mar 2019 17:01:58 -0600 Subject: format: Run clang-format Run clang-format to reformat appropriate changes. Change-Id: I0e8bd083806f5da81d889d306e1802621d4bf7b3 --- vulkaninfo/vulkaninfo.c | 58 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 18 deletions(-) diff --git a/vulkaninfo/vulkaninfo.c b/vulkaninfo/vulkaninfo.c index c71331e0..a08f2d4f 100644 --- a/vulkaninfo/vulkaninfo.c +++ b/vulkaninfo/vulkaninfo.c @@ -3188,8 +3188,10 @@ static void AppGpuDumpFeatures(const struct AppGpu *gpu, FILE *out) { printf("\nVkPhysicalDeviceBufferAddressFeatures:\n"); printf("======================================\n"); printf("\tbufferDeviceAddress = %" PRIuLEAST32 "\n", buffer_address_features->bufferDeviceAddress); - printf("\tbufferDeviceAddressCaptureReplay = %" PRIuLEAST32 "\n", buffer_address_features->bufferDeviceAddressCaptureReplay); - printf("\tbufferDeviceAddressMultiDevice = %" PRIuLEAST32 "\n", buffer_address_features->bufferDeviceAddressMultiDevice); + printf("\tbufferDeviceAddressCaptureReplay = %" PRIuLEAST32 "\n", + buffer_address_features->bufferDeviceAddressCaptureReplay); + printf("\tbufferDeviceAddressMultiDevice = %" PRIuLEAST32 "\n", + buffer_address_features->bufferDeviceAddressMultiDevice); } } place = structure->pNext; @@ -4576,36 +4578,55 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) { (VkPhysicalDeviceDepthStencilResolvePropertiesKHR *)structure; if (html_output) { fprintf(out, "\n\t\t\t\t\t
VkPhysicalDeviceDepthStencilResolveProperties\n"); - fprintf(out, - "\t\t\t\t\t\t
supportedDepthResolveModes
\n"); + fprintf(out, "\t\t\t\t\t\t
supportedDepthResolveModes
\n"); if (depth_stencil_resolve_properties->supportedDepthResolveModes == 0) { - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_NONE_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_NONE_KHR
\n"); } else { if (depth_stencil_resolve_properties->supportedDepthResolveModes & VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedDepthResolveModes & VK_RESOLVE_MODE_AVERAGE_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_AVERAGE_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_AVERAGE_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedDepthResolveModes & VK_RESOLVE_MODE_MIN_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_MIN_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_MIN_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedDepthResolveModes & VK_RESOLVE_MODE_MAX_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_MAX_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_MAX_BIT_KHR
\n"); } - fprintf(out, - "\t\t\t\t\t\t
supportedStencilResolveModes
\n"); + fprintf(out, "\t\t\t\t\t\t
supportedStencilResolveModes
\n"); if (depth_stencil_resolve_properties->supportedStencilResolveModes == 0) { - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_NONE_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_NONE_KHR
\n"); } else { if (depth_stencil_resolve_properties->supportedStencilResolveModes & VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedStencilResolveModes & VK_RESOLVE_MODE_AVERAGE_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_AVERAGE_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_AVERAGE_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedStencilResolveModes & VK_RESOLVE_MODE_MIN_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_MIN_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_MIN_BIT_KHR
\n"); if (depth_stencil_resolve_properties->supportedStencilResolveModes & VK_RESOLVE_MODE_MAX_BIT_KHR) - printf("\t\t\t\t\t\t
VK_RESOLVE_MODE_MAX_BIT_KHR
\n"); + printf( + "\t\t\t\t\t\t
VK_RESOLVE_MODE_MAX_BIT_KHR
\n"); } fprintf(out, - "\t\t\t\t\t\t
independentResolveNone = %" PRIuLEAST32 "
\n", + "\t\t\t\t\t\t
independentResolveNone = %" PRIuLEAST32 + "
\n", depth_stencil_resolve_properties->independentResolveNone); fprintf(out, "\t\t\t\t\t\t
independentResolve = %" PRIuLEAST32 @@ -4640,7 +4661,8 @@ static void AppGpuDumpProps(const struct AppGpu *gpu, FILE *out) { if (depth_stencil_resolve_properties->supportedStencilResolveModes & VK_RESOLVE_MODE_MAX_BIT_KHR) printf("\t\t\tVK_RESOLVE_MODE_MAX_BIT_KHR\n"); } - printf("\t\tindependentResolveNone = %" PRIuLEAST32 "\n", depth_stencil_resolve_properties->independentResolveNone); + printf("\t\tindependentResolveNone = %" PRIuLEAST32 "\n", + depth_stencil_resolve_properties->independentResolveNone); printf("\t\tindependentResolve = %" PRIuLEAST32 "\n", depth_stencil_resolve_properties->independentResolve); } } -- cgit v1.2.3