Fix AmberTestCase feature mapping for geometryShader
authorChris Forbes <chrisforbes@google.com>
Thu, 29 Aug 2019 00:44:47 +0000 (17:44 -0700)
committerChris Forbes <chrisforbes@google.com>
Thu, 29 Aug 2019 00:47:29 +0000 (20:47 -0400)
This was accidentally wired up to tessellationShader instead

VK-GL-CTS Issue: 1963
Change-Id: Id11fd09cf5c0c1353d3df4ecdcbe95bdfa9fa397

external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp

index 1881f2f..e4e2715 100644 (file)
@@ -81,7 +81,7 @@ static bool isFeatureSupported(const vkt::Context& ctx, const std::string& featu
        if (feature == "Features.tessellationShader")
                return ctx.getDeviceFeatures().tessellationShader;
        if (feature == "Features.geometryShader")
-               return ctx.getDeviceFeatures().tessellationShader;
+               return ctx.getDeviceFeatures().geometryShader;
        if (feature == "Features.vertexPipelineStoresAndAtomics")
                return ctx.getDeviceFeatures().vertexPipelineStoresAndAtomics;
        if (feature == "VariablePointerFeatures.variablePointersStorageBuffer")