Index: tools/gpu/vk/VkTestContext.cpp |
diff --git a/tools/gpu/vk/VkTestContext.cpp b/tools/gpu/vk/VkTestContext.cpp |
index c1a2f8ab5689c312ead482963773575337704ade..a76a361a37e4741ffade2f5274dedf2043005e41 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: |