Invalidate memory in draw tests
authorAlexander Galazin <alexander.galazin@arm.com>
Tue, 3 Oct 2017 19:29:50 +0000 (21:29 +0200)
committerChris Forbes <chrisforbes@google.com>
Wed, 1 Aug 2018 20:58:58 +0000 (16:58 -0400)
commitff08db97554ee232b93004fbf63d387bec6b5e81
tree8203f198a35cb799d2e14fa1355dfba2eb5b874e
parentdbf9fbb79a3823869027e867df928c2efe91c463
Invalidate memory in draw tests

The test group writes to non-coherent device memory with device,
but fails to call the required invalidate on the region before
reading mapped memory with host.

Components: Vulkan

VK-GL-CTS issue: 529

Affects: dEQP-VK.draw.*

Change-Id: Icf4aa6ea80c8c046e41b37402457b7f094d7ae50
(cherry picked from commit 1ce6e233a6245a1cf81a2a4e88b87c5d381a119a)
external/vulkancts/modules/vulkan/draw/vktDrawImageObjectUtil.cpp