Disable textureproj* tests which are affected by glslang issue (319).
authorAkos Dirner <adirner.uszeged@partner.samsung.com>
Wed, 15 Jun 2016 13:35:06 +0000 (15:35 +0200)
committerAkos Dirner <adirner.uszeged@partner.samsung.com>
Wed, 15 Jun 2016 13:35:06 +0000 (15:35 +0200)
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp

index 817d896..74accd5 100644 (file)
@@ -1465,6 +1465,20 @@ static void createCaseGroup (tcu::TestCaseGroup* parent, const char* groupName,
 
        for (int ndx = 0; ndx < numCases; ndx++)
        {
+               {
+                       // \todo Remove this hack and enable all tests after glslang issue will be fixed: https://github.com/KhronosGroup/glslang/issues/319
+                       switch (cases[ndx].lookupSpec.function)
+                       {
+                               case FUNCTION_TEXTUREPROJ3:
+                               case FUNCTION_TEXTUREPROJLOD3:
+                               case FUNCTION_TEXTUREPROJGRAD3:
+                                       continue;
+
+                               default:
+                                       break;
+                       }
+               }
+
                std::string name = cases[ndx].name;
                if (cases[ndx].flags & VERTEX)
                        group->addChild(new ShaderTextureFunctionCase(parent->getTestContext(), (name + "_vertex"),   "", cases[ndx].lookupSpec, cases[ndx].texSpec, cases[ndx].evalFunc, true ));