Make the default version be 100.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20509 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-02-08 18:56:56 +00:00
parent 46eaf4939e
commit 38c507e75a
7 changed files with 13 additions and 2 deletions

View file

@ -77,7 +77,10 @@ void TParseContext::setVersion(int newVersion)
defaultPrecision[EbtSampler2D] = EpqLow;
defaultPrecision[EbtSamplerCube] = EpqLow;
}
}
} else {
for (int type = 0; type < EbtNumTypes; ++type)
defaultPrecision[type] = EpqNone;
}
}
// Important assumption: SetVersion() is called before SetProfile(), and is always called