Have non-ES profiles always use EpqNone (no precision qualifier) rather than using highp. This keeps precision qualifiers out of error messages, IL dumps, etc., and avoids the precision propagation algorithm.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20364 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
e406f1c71c
commit
59ddbafb62
4 changed files with 13 additions and 14 deletions
|
|
@ -55,11 +55,7 @@ TParseContext::TParseContext(TSymbolTable& symt, TIntermediate& interm, EShLangu
|
|||
// Default precisions for version 110, to be overridden for
|
||||
// other versions/profiles/stage combinations
|
||||
for (int type = 0; type < EbtNumTypes; ++type)
|
||||
defaultPrecision[type] = EpqHigh;
|
||||
|
||||
defaultPrecision[EbtVoid] = EpqNone;
|
||||
defaultPrecision[EbtDouble] = EpqNone;
|
||||
defaultPrecision[EbtBool] = EpqNone;
|
||||
defaultPrecision[type] = EpqNone;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue