From 520e5a9faf5a236d1b26b1af47d1f3b5bbc8dac9 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Sun, 23 Apr 2017 16:18:20 +0200 Subject: vulkaninfo: Fix various entries in VkPhysicalDeviceFeatures output The VkPhysicalDeviceFeatures dump missed the multiViewport and samplerAnisotropy fields. The alphaToOne field was at the wrong position (compared to the official definition in the Vulkan specification). The fields {vertex,fragment}StoresAndAtomics as well as shaderTessellationAndGeometryPointSize had the misleading and incorrect names {vertex,tessellation,geometry}SideEffects. --- demos/vulkaninfo.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 5f79e8ad..50b781f4 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -1068,14 +1068,17 @@ static void AppGpuDumpFeatures(const struct AppGpu *gpu) printf("\tdepthBounds = %u\n", features->depthBounds ); printf("\twideLines = %u\n", features->wideLines ); printf("\tlargePoints = %u\n", features->largePoints ); + printf("\talphaToOne = %u\n", features->alphaToOne ); + printf("\tmultiViewport = %u\n", features->multiViewport ); + printf("\tsamplerAnisotropy = %u\n", features->samplerAnisotropy ); printf("\ttextureCompressionETC2 = %u\n", features->textureCompressionETC2 ); printf("\ttextureCompressionASTC_LDR = %u\n", features->textureCompressionASTC_LDR ); printf("\ttextureCompressionBC = %u\n", features->textureCompressionBC ); printf("\tocclusionQueryPrecise = %u\n", features->occlusionQueryPrecise ); printf("\tpipelineStatisticsQuery = %u\n", features->pipelineStatisticsQuery ); - printf("\tvertexSideEffects = %u\n", features->vertexPipelineStoresAndAtomics ); - printf("\ttessellationSideEffects = %u\n", features->fragmentStoresAndAtomics ); - printf("\tgeometrySideEffects = %u\n", features->shaderTessellationAndGeometryPointSize ); + printf("\tvertexPipelineStoresAndAtomics = %u\n", features->vertexPipelineStoresAndAtomics ); + printf("\tfragmentStoresAndAtomics = %u\n", features->fragmentStoresAndAtomics ); + printf("\tshaderTessellationAndGeometryPointSize = %u\n", features->shaderTessellationAndGeometryPointSize ); printf("\tshaderImageGatherExtended = %u\n", features->shaderImageGatherExtended ); printf("\tshaderStorageImageExtendedFormats = %u\n", features->shaderStorageImageExtendedFormats ); printf("\tshaderStorageImageMultisample = %u\n", features->shaderStorageImageMultisample ); @@ -1092,7 +1095,6 @@ static void AppGpuDumpFeatures(const struct AppGpu *gpu) printf("\tshaderInt16 = %u\n", features->shaderInt16 ); printf("\tshaderResourceResidency = %u\n", features->shaderResourceResidency ); printf("\tshaderResourceMinLod = %u\n", features->shaderResourceMinLod ); - printf("\talphaToOne = %u\n", features->alphaToOne ); printf("\tsparseBinding = %u\n", features->sparseBinding ); printf("\tsparseResidencyBuffer = %u\n", features->sparseResidencyBuffer ); printf("\tsparseResidencyImage2D = %u\n", features->sparseResidencyImage2D ); -- cgit v1.2.3