Fix vertex count calculation in XFB query tests
authorMika Väinölä <mika.vainola@siru.fi>
Tue, 25 May 2021 07:21:53 +0000 (10:21 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 3 Jun 2021 08:55:29 +0000 (08:55 +0000)
commitf54c6d46c18574a4fe8954a045f50793381238fa
treecf12072e9e562bfc3f997f04d120da358bec982f
parentc2676340617ed7ec8e40f932cad52bbdf1ec9720
Fix vertex count calculation in XFB query tests

The primitive to vertex count calculation for
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY was
`(primCount + 4u) * 2u` when it should be `primCount * 2u + 4u`.

This change affects the bufferSize parameter passed to the tests.
The vertex count returned by this function is part of the test name
so the affected test cases are also renamed.

Affects:
dEQP-VK.transform_feedback.simple.query*
dEQP-VK.transform_feedback.simple.host_query_reset*

Components: Vulkan

VK-GL-CTS issue: 2934

Change-Id: I59e95a3240c6c45f8caf0dd4dc5b61c593059304
android/cts/master/vk-master-2021-03-01/transform-feedback.txt
android/cts/master/vk-master/transform-feedback.txt
external/vulkancts/modules/vulkan/transform_feedback/vktTransformFeedbackSimpleTests.cpp
external/vulkancts/mustpass/master/vk-default/transform-feedback.txt