Have memory counters normally turned off, to avoid cross-windows-platform linking problems.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28078 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#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>
|
||||
@@ -711,6 +712,7 @@ int C_DECL main(int argc, char* argv[])
|
||||
//
|
||||
if (Options & EOptionLinkProgram) {
|
||||
glslang::InitializeProcess();
|
||||
GLSL_STD_450::Initialize();
|
||||
CompileAndLinkShaders();
|
||||
glslang::FinalizeProcess();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user