diff --git a/OGLCompilersDLL/InitializeDll.cpp b/OGLCompilersDLL/InitializeDll.cpp index cc2b742e..e4798815 100644 --- a/OGLCompilersDLL/InitializeDll.cpp +++ b/OGLCompilersDLL/InitializeDll.cpp @@ -34,7 +34,7 @@ #define SH_EXPORTING -#include +#include #include "InitializeDll.h" #include "../glslang/Include/InitializeGlobals.h" diff --git a/SPIRV/SPVRemapper.h b/SPIRV/SPVRemapper.h index e5e8e1bd..c2dc5291 100755 --- a/SPIRV/SPVRemapper.h +++ b/SPIRV/SPVRemapper.h @@ -38,7 +38,7 @@ #include #include -#include +#include namespace spv { @@ -74,7 +74,7 @@ public: } // namespace SPV #if !defined (use_cpp11) -#include +#include namespace spv { class spirvbin_t : public spirvbin_base_t diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 1411d163..f2af3b59 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -38,8 +38,8 @@ // SpvBuilder.h. // -#include -#include +#include +#include #include #include diff --git a/SPIRV/disassemble.cpp b/SPIRV/disassemble.cpp index b60b3ba2..a7838a1b 100644 --- a/SPIRV/disassemble.cpp +++ b/SPIRV/disassemble.cpp @@ -36,9 +36,9 @@ // Disassembler for SPIR-V. // -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/SPIRV/doc.cpp b/SPIRV/doc.cpp index 9b58b59d..a25f7c00 100755 --- a/SPIRV/doc.cpp +++ b/SPIRV/doc.cpp @@ -33,7 +33,7 @@ //POSSIBILITY OF SUCH DAMAGE. // -// 1) Programatically fill in instruction/operand information. +// 1) Programmatically fill in instruction/operand information. // This can be used for disassembly, printing documentation, etc. // // 2) Print documentation from this parameterization. @@ -41,8 +41,8 @@ #include "doc.h" -#include -#include +#include +#include #include #ifdef AMD_EXTENSIONS diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index c014be20..c0fdeb99 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -46,9 +46,9 @@ #include "../SPIRV/GLSL.std.450.h" #include "../SPIRV/doc.h" #include "../SPIRV/disassemble.h" -#include -#include -#include +#include +#include +#include #include "../glslang/OSDependent/osinclude.h" diff --git a/glslang/Include/Common.h b/glslang/Include/Common.h index bc09cdc4..636645e7 100644 --- a/glslang/Include/Common.h +++ b/glslang/Include/Common.h @@ -89,8 +89,8 @@ inline long long int atoll (const char* str) #include #include #include -#include -#include +#include +#include #include "PoolAlloc.h" diff --git a/glslang/Include/InfoSink.h b/glslang/Include/InfoSink.h index 5862e5d8..aa02f914 100644 --- a/glslang/Include/InfoSink.h +++ b/glslang/Include/InfoSink.h @@ -36,7 +36,7 @@ #define _INFOSINK_INCLUDED_ #include "../Include/Common.h" -#include +#include namespace glslang { diff --git a/glslang/Include/PoolAlloc.h b/glslang/Include/PoolAlloc.h index 13af7712..635be79e 100644 --- a/glslang/Include/PoolAlloc.h +++ b/glslang/Include/PoolAlloc.h @@ -61,13 +61,13 @@ // class as the allocator (second) template argument. // -#include -#include +#include +#include #include namespace glslang { -// If we are using guard blocks, we must track each indivual +// If we are using guard blocks, we must track each individual // allocation. If we aren't using guard blocks, these // never get instantiated, so won't have any impact. // diff --git a/glslang/Include/revision.h b/glslang/Include/revision.h index b0cb64c7..5bc8c9de 100644 --- a/glslang/Include/revision.h +++ b/glslang/Include/revision.h @@ -2,5 +2,5 @@ // For the version, it uses the latest git tag followed by the number of commits. // For the date, it uses the current date (when then script is run). -#define GLSLANG_REVISION "SPIRV99.1396" -#define GLSLANG_DATE "09-Aug-2016" +#define GLSLANG_REVISION "SPIRV99.1401" +#define GLSLANG_DATE "11-Aug-2016" diff --git a/glslang/MachineIndependent/InfoSink.cpp b/glslang/MachineIndependent/InfoSink.cpp index 2e888827..aa0fe89a 100644 --- a/glslang/MachineIndependent/InfoSink.cpp +++ b/glslang/MachineIndependent/InfoSink.cpp @@ -34,7 +34,7 @@ #include "../Include/InfoSink.h" -#include +#include namespace glslang { diff --git a/glslang/MachineIndependent/Intermediate.cpp b/glslang/MachineIndependent/Intermediate.cpp index 439534e3..bfa2deaa 100644 --- a/glslang/MachineIndependent/Intermediate.cpp +++ b/glslang/MachineIndependent/Intermediate.cpp @@ -44,7 +44,7 @@ #include "SymbolTable.h" #include "propagateNoContraction.h" -#include +#include namespace glslang { diff --git a/glslang/MachineIndependent/ParseHelper.cpp b/glslang/MachineIndependent/ParseHelper.cpp index d01804e1..7211d4b0 100644 --- a/glslang/MachineIndependent/ParseHelper.cpp +++ b/glslang/MachineIndependent/ParseHelper.cpp @@ -39,7 +39,7 @@ #include "Scan.h" #include "../OSDependent/osinclude.h" -#include +#include #include #include "preprocessor/PpContext.h" diff --git a/glslang/MachineIndependent/Scan.cpp b/glslang/MachineIndependent/Scan.cpp index e297e344..ee0dbb40 100644 --- a/glslang/MachineIndependent/Scan.cpp +++ b/glslang/MachineIndependent/Scan.cpp @@ -38,7 +38,7 @@ // GLSL scanning, leveraging the scanning done by the preprocessor. // -#include +#include #include #include diff --git a/glslang/MachineIndependent/ShaderLang.cpp b/glslang/MachineIndependent/ShaderLang.cpp index c7aa6a2d..97c3940b 100644 --- a/glslang/MachineIndependent/ShaderLang.cpp +++ b/glslang/MachineIndependent/ShaderLang.cpp @@ -41,7 +41,7 @@ // This is the platform independent interface between an OGL driver // and the shading language compiler/linker. // -#include +#include #include #include #include diff --git a/glslang/MachineIndependent/intermOut.cpp b/glslang/MachineIndependent/intermOut.cpp index 893f42b4..0ef37c47 100644 --- a/glslang/MachineIndependent/intermOut.cpp +++ b/glslang/MachineIndependent/intermOut.cpp @@ -38,11 +38,9 @@ #include "../Include/InfoSink.h" #ifdef _MSC_VER -#include -#elif defined __ANDROID__ || defined __linux__ || __MINGW32__ || __MINGW64__ -#include +#include #else -#include +#include #endif namespace { @@ -50,10 +48,8 @@ namespace { bool is_positive_infinity(double x) { #ifdef _MSC_VER return _fpclass(x) == _FPCLASS_PINF; -#elif defined __ANDROID__ || defined __linux__ || __MINGW32__ || __MINGW64__ - return std::isinf(x) && (x >= 0); #else - return isinf(x) && (x >= 0); + return std::isinf(x) && (x >= 0); #endif } diff --git a/glslang/MachineIndependent/preprocessor/Pp.cpp b/glslang/MachineIndependent/preprocessor/Pp.cpp index d7710100..d28e7beb 100644 --- a/glslang/MachineIndependent/preprocessor/Pp.cpp +++ b/glslang/MachineIndependent/preprocessor/Pp.cpp @@ -81,12 +81,10 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define _CRT_SECURE_NO_WARNINGS -#include -#include #include -#include -#include -#include +#include +#include +#include #include "PpContext.h" #include "PpTokens.h" diff --git a/glslang/MachineIndependent/preprocessor/PpAtom.cpp b/glslang/MachineIndependent/preprocessor/PpAtom.cpp index 7a59d48d..2b211931 100644 --- a/glslang/MachineIndependent/preprocessor/PpAtom.cpp +++ b/glslang/MachineIndependent/preprocessor/PpAtom.cpp @@ -82,10 +82,9 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define _CRT_SECURE_NO_WARNINGS -#include -#include -#include -#include +#include +#include +#include #include "PpContext.h" #include "PpTokens.h" diff --git a/glslang/MachineIndependent/preprocessor/PpContext.cpp b/glslang/MachineIndependent/preprocessor/PpContext.cpp index 6f0b8a9a..6791fef5 100644 --- a/glslang/MachineIndependent/preprocessor/PpContext.cpp +++ b/glslang/MachineIndependent/preprocessor/PpContext.cpp @@ -76,8 +76,7 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \****************************************************************************/ -#include -#include +#include #include "PpContext.h" diff --git a/glslang/MachineIndependent/preprocessor/PpMemory.cpp b/glslang/MachineIndependent/preprocessor/PpMemory.cpp index 57a49fb8..6158a387 100644 --- a/glslang/MachineIndependent/preprocessor/PpMemory.cpp +++ b/glslang/MachineIndependent/preprocessor/PpMemory.cpp @@ -76,10 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \****************************************************************************/ -#include -#include -#include -#include +#include +#include +#include #include "PpContext.h" diff --git a/glslang/MachineIndependent/preprocessor/PpScanner.cpp b/glslang/MachineIndependent/preprocessor/PpScanner.cpp index 5ce5a03e..fc1c3019 100644 --- a/glslang/MachineIndependent/preprocessor/PpScanner.cpp +++ b/glslang/MachineIndependent/preprocessor/PpScanner.cpp @@ -81,10 +81,8 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define _CRT_SECURE_NO_WARNINGS -#include -#include -#include -#include +#include +#include #include "PpContext.h" #include "PpTokens.h" diff --git a/glslang/MachineIndependent/preprocessor/PpSymbols.cpp b/glslang/MachineIndependent/preprocessor/PpSymbols.cpp index c2ab7c0a..b7f1df55 100644 --- a/glslang/MachineIndependent/preprocessor/PpSymbols.cpp +++ b/glslang/MachineIndependent/preprocessor/PpSymbols.cpp @@ -79,10 +79,9 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // symbols.c // -#include -#include -#include -#include +#include +#include +#include #include "PpContext.h" diff --git a/glslang/MachineIndependent/preprocessor/PpTokens.cpp b/glslang/MachineIndependent/preprocessor/PpTokens.cpp index 61883c96..1e1b0a2f 100644 --- a/glslang/MachineIndependent/preprocessor/PpTokens.cpp +++ b/glslang/MachineIndependent/preprocessor/PpTokens.cpp @@ -85,11 +85,10 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define snprintf sprintf_s #endif -#include -#include -#include -#include -#include +#include +#include +#include +#include #include "PpContext.h" #include "PpTokens.h" diff --git a/glslang/OSDependent/Windows/ossource.cpp b/glslang/OSDependent/Windows/ossource.cpp index 5df8eff3..f71fac9c 100644 --- a/glslang/OSDependent/Windows/ossource.cpp +++ b/glslang/OSDependent/Windows/ossource.cpp @@ -37,14 +37,14 @@ #define STRICT #define VC_EXTRALEAN 1 #include -#include +#include #include #include -#include -#include +#include +#include // -// This file contains contains the Window-OS-specific functions +// This file contains the Window-OS-specific functions // #if !(defined(_WIN32) || defined(_WIN64)) diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h index 4b4d0fc6..d1121595 100644 --- a/glslang/Public/ShaderLang.h +++ b/glslang/Public/ShaderLang.h @@ -37,7 +37,7 @@ #include "../Include/ResourceLimits.h" #include "../MachineIndependent/Versions.h" -#include +#include #ifdef _WIN32 #define C_DECL __cdecl diff --git a/gtests/TestFixture.h b/gtests/TestFixture.h index d196babe..4f916e7e 100644 --- a/gtests/TestFixture.h +++ b/gtests/TestFixture.h @@ -35,7 +35,7 @@ #ifndef GLSLANG_GTESTS_TEST_FIXTURE_H #define GLSLANG_GTESTS_TEST_FIXTURE_H -#include +#include #include #include #include diff --git a/hlsl/hlslParseHelper.cpp b/hlsl/hlslParseHelper.cpp index 01a668bd..2a793759 100755 --- a/hlsl/hlslParseHelper.cpp +++ b/hlsl/hlslParseHelper.cpp @@ -43,7 +43,7 @@ #include "../glslang/OSDependent/osinclude.h" -#include +#include #include namespace glslang { diff --git a/hlsl/hlslScanContext.cpp b/hlsl/hlslScanContext.cpp index da393211..36dea5cb 100755 --- a/hlsl/hlslScanContext.cpp +++ b/hlsl/hlslScanContext.cpp @@ -38,7 +38,7 @@ // HLSL scanning, leveraging the scanning done by the preprocessor. // -#include +#include #include #include