Fix entry points check for VK_KHR_draw_indirect_count
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 12 May 2022 14:26:44 +0000 (16:26 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 2 Jun 2022 19:05:29 +0000 (19:05 +0000)
commit56fde5bab71ff6fb6729274c55274dbcf6de79f2
tree5018d317fa59c80a772bb5b14a40ae769767624b
parent0bc784c3abaa1932fbc60d4f0491ff242161b8ef
Fix entry points check for VK_KHR_draw_indirect_count

VK_KHR_draw_indirect_count was promoted to core in Vulkan 1.2, but its
non-KHR entry points (vkCmdDrawIndirectCount and
vkCmdDrawIndexedIndirectCount) are not mandatory unless the device
supports the extension. In that case, the drawIndirectCount feature bit
will also be true. Any of the two checks is valid.

Affected tests:
dEQP-VK.api.version_check.entry_points

VK-GL-CTS issue: 3679
Components: Vulkan

Change-Id: I95666c1a22bed7da33f58a50307294c4048cd8ff
external/vulkancts/modules/vulkan/api/vktApiVersionCheck.cpp