Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: src/gpu/vk/GrVkGpu.h

Issue 1935523002: Fix Vulkan Build in Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkBackendContext.cpp ('k') | src/gpu/vk/GrVkGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkGpu.h
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h
index 13cbd0cbf08e8aabd731c781ea7afbc2ac7943f6..3f76fd241632bdd4905de4e791ba449e07290ba3 100644
--- a/src/gpu/vk/GrVkGpu.h
+++ b/src/gpu/vk/GrVkGpu.h
@@ -204,7 +204,9 @@ private:
// These Vulkan objects are provided by the client, and also stored in fBackendContext.
// They're copied here for convenient access.
+#ifdef ENABLE_VK_LAYERS
VkInstance fVkInstance;
+#endif
VkDevice fDevice;
VkQueue fQueue; // Must be Graphics queue
« no previous file with comments | « src/gpu/vk/GrVkBackendContext.cpp ('k') | src/gpu/vk/GrVkGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698