dEQP-VK.api.info.image_format_properties: enum value can be signed.
authorscygan <slawomir.cygan@gmail.com>
Thu, 25 Feb 2016 13:37:45 +0000 (14:37 +0100)
committerscygan <slawomir.cygan@gmail.com>
Thu, 25 Feb 2016 16:36:25 +0000 (17:36 +0100)
commit3d3735e9f2e61097699d1cfcd324cefbcffca511
treee414f7c79a81d70355e5ec8300adeeba6978b89a
parent2048eaab4d7726fa24419aabb32c38e6b584b198
dEQP-VK.api.info.image_format_properties: enum value can be signed.

The enum value 1<<31 is cast in test to VkDeviceSize, which is 64-bit unsigned int. According to C++
standard it is undefined wether enums are signed, or not, so the resulting value can be 0x8000000 or 0xffffffff80000000.

At least this happens on MSVC++.
external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp