diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-03-16 14:12:47 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-03-17 13:15:34 -0600 |
| commit | b93ac27b56349238eaf8af208ad3b40749c3b292 (patch) | |
| tree | a62b33372aa2a7b4976e990f9683093207239869 /layers/core_validation.cpp | |
| parent | 343b17142bba64e5dbafa8e3319c91058b5fc934 (diff) | |
| download | usermoji-b93ac27b56349238eaf8af208ad3b40749c3b292.tar.xz | |
layers: Remove global wsi_enabled in core_validation
core_validation layer only needs wsi_enabled bool from devExts struct.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index aeba8c8d..ea3fd528 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -108,8 +108,6 @@ struct layer_data { VkLayerInstanceDispatchTable *instance_dispatch_table; #if MTMERGE // MTMERGE - stuff pulled directly from MT - // MTMTODO : Should be able just use device_extensions.wsi_enabled instead - VkBool32 wsi_enabled; uint64_t currentFenceId; VkPhysicalDeviceProperties properties; unordered_map<VkDeviceMemory, vector<MEMORY_RANGE>> bufferRanges, imageRanges; @@ -171,7 +169,7 @@ struct layer_data { layer_data() : report_data(nullptr), device_dispatch_table(nullptr), instance_dispatch_table(nullptr), #if MTMERGE - wsi_enabled(VK_FALSE), currentFenceId(1), + currentFenceId(1), #endif device_extensions(){}; }; |
