diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-10-12 10:18:39 +1300 |
|---|---|---|
| committer | Chris Forbes <chrisforbes@google.com> | 2016-11-22 11:45:12 +1300 |
| commit | fc25df6e6d16e337fdd33e45fea0a6115c80da53 (patch) | |
| tree | ef7fa2fcb6fea896c37e23bdadf32981a59e5b3e /layers | |
| parent | 2db86874983548c5ecda41c79d9fda27b66d2d17 (diff) | |
| download | usermoji-fc25df6e6d16e337fdd33e45fea0a6115c80da53.tar.xz | |
layers: Have the instance WSI flags unconditionally exist
Code that changes its behavior based on these flags shouldn't also need
to be a mess of ifdef.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/core_validation.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 25973826..155d5bd6 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -111,24 +111,12 @@ struct instance_layer_data { bool surfaceExtensionEnabled = false; bool displayExtensionEnabled = false; -#ifdef VK_USE_PLATFORM_ANDROID_KHR bool androidSurfaceExtensionEnabled = false; -#endif -#ifdef VK_USE_PLATFORM_MIR_KHR bool mirSurfaceExtensionEnabled = false; -#endif -#ifdef VK_USE_PLATFORM_WAYLAND_KHR bool waylandSurfaceExtensionEnabled = false; -#endif -#ifdef VK_USE_PLATFORM_WIN32_KHR bool win32SurfaceExtensionEnabled = false; -#endif -#ifdef VK_USE_PLATFORM_XCB_KHR bool xcbSurfaceExtensionEnabled = false; -#endif -#ifdef VK_USE_PLATFORM_XLIB_KHR bool xlibSurfaceExtensionEnabled = false; -#endif }; struct layer_data { |
