Fix incorrect scale in pipeline_barrier tests
authorJarredDavies <jarred.davies@imgtec.com>
Fri, 14 Jul 2017 14:55:46 +0000 (15:55 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 17 Jul 2017 11:05:58 +0000 (07:05 -0400)
commitd9623aad4aeb50ece827b3cdd90223cafb160cd7
tree99bb56ed8936f8a1b8157d4ff7d0ac9d69468ac7
parentbce4ec47056a0473ccce9cf7951023da80c3b745
Fix incorrect scale in pipeline_barrier tests

The ImageBlitFromImage verfication code incorrectly scales the refrence image it creates.
The test should add 0.5 to the x and y coords before scaling them.

Affects:
dEQP-VK.memory.pipeline_barrier.*

Components: Vulkan

VK-GL-CTS issue: 577

Change-Id: I28d0b4deec0f1837c21cdc2dc68a9169ca8ae96b
external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp