Use VK_REMAINING_MIP_LEVELS in image clearing tests
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Mon, 26 Sep 2016 10:47:54 +0000 (12:47 +0200)
committerPyry Haulos <phaulos@google.com>
Fri, 11 Nov 2016 15:56:29 +0000 (07:56 -0800)
commit0ae19fdb0c6f81259130c891f0fb73200b9c2f31
treef0a3065f6d867f2aefa5dcf2859d9f8fbb8066fa
parentab0ecfcb88c3150cc063a0fff14bca7cf5f33853
Use VK_REMAINING_MIP_LEVELS in image clearing tests

Modified tests:
- dEQP-VK.api.image_clearing.clear_color_image.*
- dEQP-VK.api.image_clearing.* (refactor)

Tests were refactored to use images with more than one mip map,
but multiple mip maps were only added to clear_color_image tests.

Image is now cleared with two distinct colors, one for explicit
range of mip maps, the other for VK_REMAINING_MIP_LEVELS.

Fixes #459

Change-Id: Ia02289bf81faebd47c2e4c86a6bd8a4d06ddf34d
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiImageClearingTests.cpp
external/vulkancts/mustpass/1.0.1/vk-default.txt
external/vulkancts/mustpass/1.0.2/vk-default.txt