1) Don't propagate precision of built-in function arguments to return type when return type is bool (e.g., isnan).
2) Check an additional path for missing default precision qualification, except allow built-in declarations to pass the check. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22241 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
6c0928d924
commit
1fde51d3fb
6 changed files with 17 additions and 9 deletions
|
|
@ -1483,6 +1483,8 @@ fully_specified_type
|
|||
if (parseContext.profile == EEsProfile)
|
||||
parseContext.arraySizeRequiredCheck($1.line, $1.arraySizes->front());
|
||||
}
|
||||
|
||||
parseContext.precisionQualifierCheck($$.line, $$);
|
||||
}
|
||||
| type_qualifier type_specifier {
|
||||
parseContext.globalQualifierFix($1.line, $1.qualifier, $2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue