Add NEAREST filtered blitting tests
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Tue, 27 Dec 2016 13:15:58 +0000 (14:15 +0100)
committerPyry Haulos <phaulos@google.com>
Wed, 18 Jan 2017 18:19:25 +0000 (13:19 -0500)
commit396dacd30898c428105bc4f2f72b00240673f3a7
treea4ebf3d2582b49367350f1a0e6f6eb5ea2541639
parentb509702d1f7c3ced3fcdd17000bcddd0dd483c21
Add NEAREST filtered blitting tests

This fixes a couple of issues with nearest filtered blitting tests
and adds them back to the mustpass.

- Corrected test case names (esp. for D/S formats)
- Modified common code used by linear cases too (shouldn't have
  an observable effect on tests)
- Used tcuTexLookupVerifier to sample source image with an offset
  that accounts for rounding errors in coordinate calculation
- Enabled nearest cases in mustpass

New tests:
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*_nearest

Modified tests:
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*

Fixes #483, #565

Change-Id: I176c2b50a656268a31f1f35fef1ff90647039727
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/mustpass/1.0.2/src/excluded-tests.txt
external/vulkancts/mustpass/1.0.2/vk-default.txt