diff options
author | DeeJayLSP <djlsplays@gmail.com> | 2023-06-06 02:19:51 -0300 |
---|---|---|
committer | DeeJayLSP <djlsplays@gmail.com> | 2023-06-06 12:40:04 -0300 |
commit | 1b642d283c8daf27a4d5141ed212b6568b9ad21b (patch) | |
tree | 401c5ba01a1a0e57fae548a4da5d9d44de9c8825 /thirdparty/glslang/SPIRV/SPVRemapper.h | |
parent | e7d2e49688bdaec65e326e7b2bfcc0642b4f2a8d (diff) | |
download | redot-engine-1b642d283c8daf27a4d5141ed212b6568b9ad21b.tar.gz |
Update Vulkan and related libraries to 1.3.250.0
Diffstat (limited to 'thirdparty/glslang/SPIRV/SPVRemapper.h')
-rw-r--r-- | thirdparty/glslang/SPIRV/SPVRemapper.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/thirdparty/glslang/SPIRV/SPVRemapper.h b/thirdparty/glslang/SPIRV/SPVRemapper.h index d21694635a..42b01686ee 100644 --- a/thirdparty/glslang/SPIRV/SPVRemapper.h +++ b/thirdparty/glslang/SPIRV/SPVRemapper.h @@ -43,12 +43,6 @@ namespace spv { -// MSVC defines __cplusplus as an older value, even when it supports almost all of 11. -// We handle that here by making our own symbol. -#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700) -# define use_cpp11 1 -#endif - class spirvbin_base_t { public: @@ -74,27 +68,6 @@ public: } // namespace SPV -#if !defined (use_cpp11) -#include <cstdio> -#include <cstdint> - -namespace spv { -class spirvbin_t : public spirvbin_base_t -{ -public: - spirvbin_t(int /*verbose = 0*/) { } - - void remap(std::vector<std::uint32_t>& /*spv*/, unsigned int /*opts = 0*/) - { - printf("Tool not compiled for C++11, which is required for SPIR-V remapping.\n"); - exit(5); - } -}; - -} // namespace SPV - -#else // defined (use_cpp11) - #include <functional> #include <cstdint> #include <unordered_map> @@ -308,5 +281,4 @@ private: } // namespace SPV -#endif // defined (use_cpp11) #endif // SPIRVREMAPPER_H |