\r
#include "BilDoc.h"\r
\r
-#if ! defined(INCLUDE_BIL_DOC)\r
-\r
namespace glbil {\r
\r
- void PrintDoc()\r
- {\r
- }\r
+#if ! defined(INCLUDE_BIL_DOC)\r
\r
-}; // end glbil namespace\r
+void Parameterize()\r
+{\r
+}\r
\r
-#else\r
+void PrintDoc()\r
+{\r
+}\r
\r
-namespace glbil {\r
+#else\r
\r
void PrintDoc()\r
{\r
}\r
\r
-}; // end glbil namespace\r
-\r
#endif\r
+\r
+}; // end glbil namespace\r
\r
namespace glbil {\r
\r
+ void Parameterize();\r
void PrintDoc();\r
\r
}; // end glbil namespace\r
--- /dev/null
+namespace GLSL_STD_450 {\r
+\r
+enum Entrypoints {\r
+ Round,\r
+ Count\r
+};\r
+\r
+extern const char* Names[Count];\r
+\r
+inline void Initialize()\r
+{\r
+}\r
+\r
+}; // end namespace GLSL_STD_450\r
#include "../BIL/GlslangToBil.h"
#include "../BIL/BilDisassemble.h"
#include "../BIL/BilDoc.h"
+#include "../BIL/GLSL450Lib.h"
#include <string.h>
#include <stdlib.h>
#include <math.h>
//
if (Options & EOptionLinkProgram) {
glslang::InitializeProcess();
+ GLSL_STD_450::Initialize();
CompileAndLinkShaders();
glslang::FinalizeProcess();
} else {
void OS_DumpMemoryCounters()
{
+#ifdef DUMP_COUNTERS
PROCESS_MEMORY_COUNTERS counters;
GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters));
printf("Working set size: %d\n", counters.WorkingSetSize);
+#else
+ printf("Recompile with DUMP_COUNTERS defined to see counters.\n");
+#endif
}
} // namespace glslang