Add missing flushes for basic draws
authorGary Sweet <gsweet@broadcom.com>
Thu, 16 Mar 2017 13:17:39 +0000 (13:17 +0000)
committerPyry Haulos <phaulos@google.com>
Thu, 16 Mar 2017 20:25:25 +0000 (16:25 -0400)
commit6bc94f82bfc311caad84898c40c2d20b3992fe0c
tree7d7cb175dc185c9f7effe9d34ecc80148850eb03
parentb1b66e2402fabaa59a36e5b350946ef38491e9e5
Add missing flushes for basic draws

Buffers were being mapped and written, but not flushed
before use. This affected the basic draw tests when running
with a non-coherent heap.

Affects:

dEQP-VK.draw.basic_draw.*

Components: Vulkan

VK-GL-CTS issue: 210

Change-Id: Ib0f9b77a3b0cd4488b9dc4cee6ebd6de4840262c
external/vulkancts/modules/vulkan/draw/vktBasicDrawTests.cpp