draw tests: make draw_instanced_indexed_* test use instancing (test case list bug)
authorscygan <slawomir.cygan@intel.com>
Tue, 22 Dec 2015 14:37:08 +0000 (15:37 +0100)
committerscygan <slawomir.cygan@intel.com>
Tue, 22 Dec 2015 14:37:08 +0000 (15:37 +0100)
external/vulkancts/modules/vulkan/draw/vktDrawIndexedTest.cpp

index edb4592..f285250 100644 (file)
@@ -365,8 +365,8 @@ void DrawIndexedTests::init (void)
        shaderPaths[glu::SHADERTYPE_VERTEX] = "vulkan/draw/VertexFetchWithInstance.vert";
        shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag";
 
-       addChild(new InstanceFactory<DrawIndexed>(m_testCtx, "draw_instanced_indexed_triangle_list", "Draws indexed triangle list", shaderPaths, vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST));
-       addChild(new InstanceFactory<DrawIndexed>(m_testCtx, "draw_instanced_indexed_triangle_strip", "Draws indexed triangle strip", shaderPaths, vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP));
+       addChild(new InstanceFactory<DrawInstancedIndexed>(m_testCtx, "draw_instanced_indexed_triangle_list", "Draws indexed triangle list", shaderPaths, vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST));
+       addChild(new InstanceFactory<DrawInstancedIndexed>(m_testCtx, "draw_instanced_indexed_triangle_strip", "Draws indexed triangle strip", shaderPaths, vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP));
 }
 
 }      // DrawTests