Add offset to uniform blocks in Vulkan
authorGreg Daniel <egdaniel@google.com>
Tue, 24 Jan 2017 20:12:12 +0000 (15:12 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 27 Jan 2017 16:55:35 +0000 (16:55 +0000)
commitdbd44c78ec98adc07569d430f3b27e0834186a7e
treed10e303f70260b3eee8478dfccff2a91a1cd93fe
parent587e08f361ee3e775a6bbc6dca761dbba82e422c
Add offset to uniform blocks in Vulkan

This is the first step to being able to use push constants.

BUG=skia:5039

Change-Id: I49edea8faacf78814036ce3b3f9f2814974cf2c7
Reviewed-on: https://skia-review.googlesource.com/7448
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
src/gpu/vk/GrVkUniformHandler.cpp
src/sksl/SkSLSPIRVCodeGenerator.cpp