Fix possible divide by zero in vulkan granularity adjustments
authoregdaniel <egdaniel@google.com>
Tue, 20 Sep 2016 19:57:45 +0000 (12:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 20 Sep 2016 19:57:45 +0000 (12:57 -0700)
commitd5797b3059a4037a6dce4c0a66693ba471b1588e
treee24bce5b0a0ab041b91d439bd6971686b86dc5dc
parentad001fdc77b2dfe32c1723cb58636728dfb776d8
Fix possible divide by zero in vulkan granularity adjustments

This should fix the divide by zero crash on the nexus player bots

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

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