Fix addFunctionCase() functions.
authorMika Isojärvi <misojarvi@google.com>
Fri, 7 Aug 2015 21:47:05 +0000 (14:47 -0700)
committerMika Isojärvi <misojarvi@google.com>
Fri, 7 Aug 2015 21:47:05 +0000 (14:47 -0700)
Change-Id: I8ef268588717f5be7e5b375806302cc2e74f861c

external/vulkancts/modules/vulkan/vktTestCaseUtil.hpp

index fc45b3c..3fe936d 100644 (file)
@@ -215,7 +215,7 @@ void addFunctionCase (tcu::TestCaseGroup*                                                   group,
                                          typename FunctionInstance1<Arg0>::Function    testFunc,
                                          Arg0                                                                                  arg0)
 {
-       group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, testFunc, arg0));
+       group->addChild(createFunctionCase<Arg0>(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, testFunc, arg0));
 }
 
 template<typename Arg0>
@@ -226,7 +226,7 @@ void addFunctionCase (tcu::TestCaseGroup*                                                   group,
                                          typename FunctionInstance1<Arg0>::Function    testFunc,
                                          Arg0                                                                                  arg0)
 {
-       group->addChild(createFunctionCase(group->getTestContext(), type, name, desc, testFunc, arg0));
+       group->addChild(createFunctionCase<Arg0>(group->getTestContext(), type, name, desc, testFunc, arg0));
 }
 
 template<typename Arg0>
@@ -237,7 +237,7 @@ void addFunctionCaseWithPrograms (tcu::TestCaseGroup*                                                       group,
                                                                  typename FunctionInstance1<Arg0>::Function    testFunc,
                                                                  Arg0                                                                                  arg0)
 {
-       group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, initPrograms, testFunc, arg0));
+       group->addChild(createFunctionCaseWithPrograms<Arg0>(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, initPrograms, testFunc, arg0));
 }
 
 template<typename Arg0>
@@ -249,7 +249,7 @@ void addFunctionCaseWithPrograms (tcu::TestCaseGroup*                                                       group,
                                                                  typename FunctionInstance1<Arg0>::Function    testFunc,
                                                                  Arg0                                                                                  arg0)
 {
-       group->addChild(createFunctionCase(group->getTestContext(), type, name, desc, initPrograms, testFunc, arg0));
+       group->addChild(createFunctionCaseWithPrograms<Arg0>(group->getTestContext(), type, name, desc, initPrograms, testFunc, arg0));
 }
 
 } // vkt