Improve the test generation in the copies and blitting tests
authorGabor Abraham <gabraham.u-szeged@partner.samsung.com>
Fri, 18 Nov 2016 10:22:53 +0000 (11:22 +0100)
committerPyry Haulos <phaulos@google.com>
Wed, 18 Jan 2017 18:19:44 +0000 (13:19 -0500)
commita8efa9926e55631f2279871a07f3dfa51bf12ba5
treee6464bf4e9aa13bbeefdd458afbe5d2a37af71b0
parent396dacd30898c428105bc4f2f72b00240673f3a7
Improve the test generation in the copies and blitting tests

The generateBuffer function didn't handle the integer formats well.

Affected tests:
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*int*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*int*

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