Merge branch '286-fix_regressions' into 'master'
authorPyry Haulos <phaulos@google.com>
Thu, 25 Feb 2016 18:05:39 +0000 (13:05 -0500)
committerPyry Haulos <phaulos@google.com>
Thu, 25 Feb 2016 18:05:39 +0000 (13:05 -0500)
commit0fa794eec6bed61af0a61e097a73c672100a65e1
tree6b0a5e50c8823aea8a8cfbc279e5142a0633fe4c
parent2048eaab4d7726fa24419aabb32c38e6b584b198
parent6e71fa0ba1a518d22cd63790b8af83ff4a9c8ede
Merge branch '286-fix_regressions' into 'master'

Issue 286: fix regressions after `Extend device feature and limit validation in dEQP-VK.api.info`

This fixes few bugs introduced in new `dEQP_VK.info.image_properties` added in issue #286:

* 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++.

* properly calculate mip pyramid size. It should be log_2(size) + 1, not log_2(size).

See merge request !445