diff options
| author | Tobias Markus <tobias@miglix.eu> | 2017-04-23 16:18:20 +0200 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-04-24 07:58:06 -0600 |
| commit | 520e5a9faf5a236d1b26b1af47d1f3b5bbc8dac9 (patch) | |
| tree | 5f3cec6f8e4dfa2eb627856fef8a945e887566bb | |
| parent | 6dcc60d8c70b699aa9a80c9c808c1bdb20e8ef0f (diff) | |
| download | usermoji-520e5a9faf5a236d1b26b1af47d1f3b5bbc8dac9.tar.xz | |
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.
| -rw-r--r-- | demos/vulkaninfo.c | 10 |
1 files 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 ); |
