The function checkSupport was not receiving all the required testFlags,
which led the application to run not supported tests.
Affects:
dEQP-VK.draw.shader_draw_parameters.draw_index.*
Components: Vulkan
VK-GL-CTS issue: 1838
Change-Id: I0a89afe4c5e56d255a18a39c410ef4f1fe95b210
if (flags & TEST_FLAG_INSTANCED) name << "_instanced";
if (flags & TEST_FLAG_FIRST_INSTANCE) name << "_first_instance";
- group->addChild(new InstanceFactory<DrawTest, FunctionSupport1<TestFlags>>(group->getTestContext(), name.str(), "", addFlags(testSpec, flags), FunctionSupport1<TestFlags>::Args(checkSupport, flags)));
+ group->addChild(new InstanceFactory<DrawTest, FunctionSupport1<TestFlags>>(group->getTestContext(), name.str(), "", addFlags(testSpec, flags), FunctionSupport1<TestFlags>::Args(checkSupport, testSpec.flags | flags)));
}
} // anonymous