Simplify isDeviceFunctionalitySupported
authorGraeme Leese <gleese@broadcom.com>
Thu, 3 Mar 2022 17:55:48 +0000 (17:55 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 1 Apr 2022 17:16:26 +0000 (17:16 +0000)
commit935c03e37aff3b69420d3c5d9b4179e864bd1b47
tree48f2af5658293361b709a400a7154399f0b162e5
parent3cb5094afa21a997e446579292205f03e2e2285c
Simplify isDeviceFunctionalitySupported

Add comments explaining the two parts of the check and simplify the
checking of extensions that the device reports are supported -- the
feature bits are compulsory when the extension is supported.

Components: Vulkan
VK-GL-CTS issue: 3149
Affects: dEQP-VK.*

Change-Id: Iec81cdf588146d2adb07871b5950024d3cdcf189
external/vulkancts/modules/vulkan/vktTestCase.cpp