Fix bitshift issue in dEQP-VK.api.copy_and_blit.*
authorPaavo Pessi <paavo.pessi@siru.fi>
Mon, 28 Aug 2017 10:58:34 +0000 (13:58 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 6 Sep 2017 16:30:38 +0000 (12:30 -0400)
commitd22a3c20a1f192be56889ca869eadb15cf758b87
treeab48cea4e459c6337ac238e014539bf5484cd79b
parent83a4e017f24d4206e79879a424c8626ac1972c54
Fix bitshift issue in dEQP-VK.api.copy_and_blit.*

Use 64-bit integers to calculate maximum color value to avoid situations
where 32-bit integers are shifted left by 32 bits.

Affects:

dEQP-VK.api.copy_and_blit.*

Components: Vulkan

VK-GL-CTS issue: 643

Change-Id: I90aab8a31a363716a3bb1ce0ca79272adf3b2b1e
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp