Remove unneeded pipeline barrier in vulkan
authoregdaniel <egdaniel@google.com>
Mon, 29 Aug 2016 20:42:55 +0000 (13:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Aug 2016 20:42:55 +0000 (13:42 -0700)
commitf5f97dd7ab0a9d7cf781a8457926f9d48f4b637e
tree30f756bdda9ef524097a730b9b5e4cf5eac05d28
parent1703bd18acd24bc42883b2fcd251bc75a7382d67
Remove unneeded pipeline barrier in vulkan

We don't need to syncronize the mapped memory writes to the buffer since
all CPU writes are already syncronized when we submit a command buffer. And we are using coherent memory for buffers so we don't need to call vkFlushMappedMemory

BUG=skia:

Review-Url: https://codereview.chromium.org/2289973002
src/gpu/vk/GrVkGpu.cpp