diff --git a/StandAlone.vcxproj b/StandAlone.vcxproj
index 36eec5e6..2510125c 100644
--- a/StandAlone.vcxproj
+++ b/StandAlone.vcxproj
@@ -22,7 +22,6 @@
Application
- false
MultiByte
@@ -40,17 +39,16 @@
StandAlone\UserM_Debug\
StandAlone\UserM_Debug\
true
- UserM_Release\
- UserM_Release\
+ StandAlone\UserM_Release\
+ StandAlone\UserM_Release\
false
Disabled
glslang;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_CONSOLE;GENERIC_COMPILER;%(PreprocessorDefinitions)
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
EnableFastChecks
- MultiThreadedDebug
@@ -61,16 +59,17 @@
Level3
true
ProgramDatabase
- FastCall
+ Cdecl
+ MultiThreadedDebugDLL
/MACHINE:I386 %(AdditionalOptions)
- odbc32.lib;odbccp32.lib;psapi.lib;UserM_Debug\generic\glslang.lib;%(AdditionalDependencies)
+ odbc32.lib;odbccp32.lib;psapi.lib;glslang\UserM_Debug\glslang.lib;%(AdditionalDependencies)
true
- %(IgnoreSpecificDefaultLibraries)
true
UserM_Debug/StandAlone.pdb
Console
+ $(OutDir)$(TargetName)$(TargetExt)
UserM_Debug/StandAlone.tlb
@@ -97,7 +96,7 @@
WIN32;NDEBUG;_CONSOLE;GENERIC_COMPILER;%(PreprocessorDefinitions)
true
Default
- MultiThreaded
+ MultiThreadedDLL
true
true
@@ -106,18 +105,20 @@
UserM_Release/
UserM_Release/
- UserM_Release/Standalone
+
+
Level3
true
ProgramDatabase
- FastCall
+ Cdecl
/MACHINE:I386 %(AdditionalOptions)
- odbc32.lib;odbccp32.lib;psapi.lib;Standalone\glslang.lib;%(AdditionalDependencies)
- UserM_Release/StandAlone.exe
+ odbc32.lib;odbccp32.lib;psapi.lib;glslang\UserM_Release\glslang.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
true
- %(IgnoreSpecificDefaultLibraries)
+
+
true
UserM_Release/StandAlone.pdb
Console
@@ -129,7 +130,7 @@
move exe
- xcopy /y StandAlone\UserM_Release\StandAlone.exe StandAlone
+ xcopy /y StandAlone\UserM_Release\StandAlone.exe test
NDEBUG;%(PreprocessorDefinitions)
@@ -137,6 +138,8 @@
+
+
diff --git a/StandAlone.vcxproj.filters b/StandAlone.vcxproj.filters
index 0685ca2f..637dd825 100644
--- a/StandAlone.vcxproj.filters
+++ b/StandAlone.vcxproj.filters
@@ -10,5 +10,11 @@
Source Files
+
+ Source Files
+
+
+ Source Files
+
\ No newline at end of file
diff --git a/Todo.txt b/Todo.txt
index 8d003d69..77efe155 100644
--- a/Todo.txt
+++ b/Todo.txt
@@ -8,9 +8,31 @@ Major items to do:
- version
- stage
-* Add semantics for all new grammar (1.2 through 4.3)
+* Add semantics and productions for all new grammar (1.2 through 4.3)
+ 1.2
+ - uniform initializers
+ - non-square matrices
+ - centroids/multisample
+ - gl_PointCoord
+
+ 1.3
+ - integer ops
+ - integer built-in functions
+ - switch
+ - bunch of new built-ins
+ - noperspective
+
+ 1.4
+ - uniform blocks
+ - layout qualifiers
+ - texture buffers
+
+ 1.5
+ - geometry shaders
+
+ 3.3
+ - ...
* Replace the preprocessor with a better one.
* Verify/fix thread safety of the parse context.
-
diff --git a/glslang.vcxproj b/glslang.vcxproj
index 555ddf1e..60d5aa66 100644
--- a/glslang.vcxproj
+++ b/glslang.vcxproj
@@ -16,13 +16,12 @@
- DynamicLibrary
+ StaticLibrary
false
MultiByte
- DynamicLibrary
- false
+ StaticLibrary
MultiByte
@@ -40,18 +39,21 @@
glslang\UserM_Debug\
glslang\UserM_Debug\
false
- UserM_Release\
- UserM_Release\
+ glslang\UserM_Release\
+ glslang\UserM_Release\
false
+ false
+ .lib
+ .lib
+ false
Disabled
glslang;glslang\MachineIndependent;glslang\OSDependent\Windows;OGLCompilersDLL;%(AdditionalIncludeDirectories)
- _DEBUG;WIN32;_CONSOLE;_USRDLL;TEST_EXPORTS;GENERIC_COMPILER;%(PreprocessorDefinitions)
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
false
EnableFastChecks
- MultiThreadedDebugDLL
$(IntDir)
@@ -62,8 +64,10 @@
Level3
true
ProgramDatabase
- FastCall
+ Cdecl
Default
+ MultiThreadedDebugDLL
+ true
/MACHINE:I386 %(AdditionalOptions)
@@ -106,13 +110,14 @@ xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test
UserM_Release/
UserM_Release/
- UserM_Release/glslang
+
+
Level3
true
ProgramDatabase
- FastCall
+ Cdecl
Default
@@ -133,7 +138,8 @@ xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test
copy dll
- xcopy /y UserM_Release\generic\glslang.* StandAlone
+ del Test\$(TargetName)$(TargetExt)
+xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test
NDEBUG;%(PreprocessorDefinitions)
@@ -164,8 +170,6 @@ xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test
-
-
diff --git a/glslang.vcxproj.filters b/glslang.vcxproj.filters
index 00f33d8a..6561d786 100644
--- a/glslang.vcxproj.filters
+++ b/glslang.vcxproj.filters
@@ -17,9 +17,6 @@
{c79e7f4d-1836-4b72-b201-46e72e4e4b6b}
-
- {b56dd525-2a9c-4ae5-a6b4-d024e624c6b4}
-
{d48b8f48-5784-4cb6-bead-7f98647a1c44}
@@ -91,12 +88,6 @@
Machine Independent\CPP
-
- Generic Code Gen
-
-
- Generic Code Gen
-
OSDependent\Windows
diff --git a/glslang/MachineIndependent/SymbolTable.h b/glslang/MachineIndependent/SymbolTable.h
index 719c0c8a..5876a4db 100644
--- a/glslang/MachineIndependent/SymbolTable.h
+++ b/glslang/MachineIndependent/SymbolTable.h
@@ -58,9 +58,9 @@
// are tracked in the intermediate representation, not the symbol table.
//
-#include "Include/Common.h"
-#include "Include/intermediate.h"
-#include "Include/InfoSink.h"
+#include "../Include/Common.h"
+#include "../Include/intermediate.h"
+#include "../Include/InfoSink.h"
//
// Symbol base class. (Can build functions or variables out of these...)
diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h
index c4b69844..46fc90f8 100644
--- a/glslang/Public/ShaderLang.h
+++ b/glslang/Public/ShaderLang.h
@@ -38,11 +38,12 @@
#ifdef _WIN32
#define C_DECL __cdecl
-#ifdef SH_EXPORTING
- #define SH_IMPORT_EXPORT __declspec(dllexport)
-#else
- #define SH_IMPORT_EXPORT __declspec(dllimport)
-#endif
+//#ifdef SH_EXPORTING
+// #define SH_IMPORT_EXPORT __declspec(dllexport)
+//#else
+// #define SH_IMPORT_EXPORT __declspec(dllimport)
+//#endif
+#define SH_IMPORT_EXPORT
#else
#define SH_IMPORT_EXPORT
#define __fastcall