commit | 59d0a33ff8b986e14b25cf81ca7fae1e48176dba | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Mon May 16 11:21:03 2016 +0800 |
committer | Tobin Ehlis <tobine@google.com> | Tue May 24 06:29:14 2016 -0600 |
tree | 42c14356a4493e1e6809bd5136f71f967e2a9a69 | |
parent | 1599234d5922afbdda8120629984cb2d68a18a09 [diff] [blame] |
threading: avoid invalid GIPA call in vkCreateDevice Save VkInstance in layer_data so that we query vkCreateDevice with a valid instance.
diff --git a/layers/threading.h b/layers/threading.h index 8e90f0a..c3db346 100644 --- a/layers/threading.h +++ b/layers/threading.h
@@ -189,6 +189,8 @@ }; struct layer_data { + VkInstance instance; + debug_report_data *report_data; std::vector<VkDebugReportCallbackEXT> logging_callback; VkLayerDispatchTable *device_dispatch_table;