Fix Vulkan readPixels
authoregdaniel <egdaniel@google.com>
Mon, 27 Jun 2016 21:34:55 +0000 (14:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Jun 2016 21:34:55 +0000 (14:34 -0700)
commit88e8aef3916454e5f6916cc8b3420345b1cf0584
tree8dc8b1f9f09e35b6901cd5e38c741431e66e04c6
parent523a239e531d88564b1f58b0c11674efe4f6f21c
Fix Vulkan readPixels

Fixed bug with setting up tempReadTexture from previous CL.

Also, previously we were not correctly handling the rowBytes during the read.

BUG=skia:5461
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2102633003

Review-Url: https://codereview.chromium.org/2102633003
src/gpu/vk/GrVkGpu.cpp
tests/ReadPixelsTest.cpp