diff options
author | csmartdalton <csmartdalton@google.com> | 2016-10-04 14:24:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-04 14:24:23 -0700 |
commit | 024229a38d86fc53801092e149d8599b2b2bc9fb (patch) | |
tree | 8ba851c6fb49d195693c0561e6744c4ad5b534dc /tools/gpu/vk | |
parent | 777ee88129ae5432209378f861b92ccb52eb0ac4 (diff) |
Use uint64_t for PlatformFence
VkFence is 64 bit even on 32-bit platforms.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002
Review-Url: https://codereview.chromium.org/2391113002
Diffstat (limited to 'tools/gpu/vk')
-rw-r--r-- | tools/gpu/vk/VkTestContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpu/vk/VkTestContext.cpp b/tools/gpu/vk/VkTestContext.cpp index c1a2f8ab56..a76a361a37 100644 --- a/tools/gpu/vk/VkTestContext.cpp +++ b/tools/gpu/vk/VkTestContext.cpp @@ -103,6 +103,8 @@ private: typedef sk_gpu_test::FenceSync INHERITED; }; +GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence)); + // TODO: Implement swap buffers and finish class VkTestContextImpl : public sk_gpu_test::VkTestContext { public: |