Fix vertex and primitive count in mesh shader query tests
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 13 Jan 2023 11:20:12 +0000 (12:20 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Mon, 16 Jan 2023 12:30:02 +0000 (12:30 +0000)
commit6304730e39bf2b9ae19d415aa4e34888b0cf7e20
tree61409b1cf8cd77c9bae12ec5e686afb5d1bc473b
parent0b5c3148565519fb848b288b9eaadc8663476a44
Fix vertex and primitive count in mesh shader query tests

They were using fixed constants instead of taking into account the
image width and the type of primitive.

In addition, the commit fixes invalid usage of gl_DrawID from the mesh
shader when task shaders were present.

Affects:
dEQP-VK.mesh_shader.ext.query.*

Components: Vulkan
VK-GL-CTS issue: 2991

Change-Id: Iac2b848e801219748bcf52cb443f5bad757abd5f
external/vulkancts/modules/vulkan/mesh_shader/vktMeshShaderQueryTestsEXT.cpp