diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-12-25 22:53:44 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-05-30 10:59:15 +0200 |
| commit | 8a00a9e1497c75b3cff7247bd6e86280ab9c85b5 (patch) | |
| tree | 95372794c06eb97ea3eee36544ff5fa6ccc5a3ea /Source/Core/VideoBackends | |
| parent | eb9969a1e290d968b506921936a0d51bf5501607 (diff) | |
Remove old GCC version checks
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/ShaderCache.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp b/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp index 2fa75f4913..eb03177be9 100644 --- a/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp @@ -532,14 +532,8 @@ struct VK_PIPELINE_CACHE_HEADER u8 uuid[VK_UUID_SIZE]; }; #pragma pack(pop) -// TODO: Remove the #if here when GCC 5 is a minimum build requirement. -#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 5 -static_assert(std::has_trivial_copy_constructor<VK_PIPELINE_CACHE_HEADER>::value, - "VK_PIPELINE_CACHE_HEADER must be trivially copyable"); -#else static_assert(std::is_trivially_copyable<VK_PIPELINE_CACHE_HEADER>::value, "VK_PIPELINE_CACHE_HEADER must be trivially copyable"); -#endif bool ShaderCache::ValidatePipelineCache(const u8* data, size_t data_length) { |
