Index: src/gpu/vk/GrVkBackendContext.cpp |
diff --git a/src/gpu/vk/GrVkBackendContext.cpp b/src/gpu/vk/GrVkBackendContext.cpp |
index 3d3e9830f8aa978417f514860899e2438b317e01..ae61aa5337b28bfbc36807f9e5ab1aa31b6c0756 100644 |
--- a/src/gpu/vk/GrVkBackendContext.cpp |
+++ b/src/gpu/vk/GrVkBackendContext.cpp |
@@ -32,7 +32,11 @@ const char* kDebugLayerNames[] = { |
#endif |
// the minimum version of Vulkan supported |
+#ifdef SK_BUILD_FOR_ANDROID |
+const uint32_t kGrVkMinimumVersion = VK_MAKE_VERSION(1, 0, 3); |
+#else |
const uint32_t kGrVkMinimumVersion = VK_MAKE_VERSION(1, 0, 8); |
+#endif |
// Create the base Vulkan objects needed by the GrVkGpu object |
const GrVkBackendContext* GrVkBackendContext::Create(uint32_t* presentQueueIndexPtr, |