diff options
| author | Mark Young <marky@lunarg.com> | 2016-09-08 18:36:32 -0600 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2016-09-08 18:36:32 -0600 |
| commit | 92ac2d806b24a578899af8b9e24932a1aeffc7b6 (patch) | |
| tree | 659aff504c06fa4ec7ca6165d976e6a59a66a2f2 /loader/loader.h | |
| parent | 73bffc29ff1ad005d4125713014c826fca52739f (diff) | |
| download | usermoji-92ac2d806b24a578899af8b9e24932a1aeffc7b6.tar.xz | |
loader: Remove extension enable checks
Apparently, the intent of Vulkan is to have the loader do no
run-time checking in each of the functions as to whether or not
the extension is enabled. This should only be done in the
validation layers.
This resolves the crash Jeff was seeing in the Nvidia driver when
using the new extension.
Change-Id: Ic90db0bde062d6b2511954abb8677f9f20bb4285
Diffstat (limited to 'loader/loader.h')
| -rw-r--r-- | loader/loader.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/loader/loader.h b/loader/loader.h index 651d5076..19d28e10 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -158,20 +158,9 @@ struct loader_dev_ext_dispatch_table { PFN_vkDevExt dev_ext[MAX_NUM_DEV_EXTS]; }; -union loader_device_extension_enables { - struct { - uint8_t khr_display_swapchain : 1; - uint8_t ext_debug_marker : 1; - uint8_t amd_draw_indirect_count : 1; - uint8_t nv_external_memory_win32 : 1; - }; - uint64_t padding[4]; -}; - struct loader_dev_dispatch_table { VkLayerDispatchTable core_dispatch; struct loader_dev_ext_dispatch_table ext_dispatch; - union loader_device_extension_enables enabled_known_extensions; }; // per CreateDevice structure |
