Improve VK_MAKE_VERSION and VK_BIT macros
authorPyry Haulos <phaulos@google.com>
Fri, 8 Apr 2016 00:10:27 +0000 (17:10 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 12 Apr 2016 21:19:40 +0000 (14:19 -0700)
commitc8cdc4078364690f98162291d7fb3d7114bb72cc
tree6bf65489b1cae6869f499cd985fb6a09f384fb40
parent133f42bb9ce1b4f065d6d827a24a445703e875e1
Improve VK_MAKE_VERSION and VK_BIT macros

VK_MAKE_VERSION was causing int->uint conversion warnings.

Put arguments inside parenthesis to make evaluation unambiguous.

Change-Id: Ia47efdf77789905f4c45a551c08eb0ff3496c556
(cherry picked from commit dd99172aee72493b3e508dc8990e7eac95a40f8f)
external/vulkancts/framework/vulkan/vkDefs.hpp