GLSL: replace general missing functionality with specific messages.
This commit is contained in:
parent
21369c825a
commit
e00e8f45a6
195 changed files with 80 additions and 415 deletions
|
|
@ -1260,25 +1260,25 @@ storage_qualifier
|
|||
| SUBROUTINE {
|
||||
parseContext.spvRemoved($1.loc, "subroutine");
|
||||
parseContext.globalCheck($1.loc, "subroutine");
|
||||
parseContext.unimplemented($1.loc, "subroutine");
|
||||
$$.init($1.loc);
|
||||
$$.qualifier.storage = EvqUniform;
|
||||
}
|
||||
| SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN {
|
||||
parseContext.spvRemoved($1.loc, "subroutine");
|
||||
parseContext.globalCheck($1.loc, "subroutine");
|
||||
parseContext.unimplemented($1.loc, "subroutine");
|
||||
$$.init($1.loc);
|
||||
$$.qualifier.storage = EvqUniform;
|
||||
// TODO: 4.0 semantics: subroutines
|
||||
// 1) make sure each identifier is a type declared earlier with SUBROUTINE
|
||||
// 2) save all of the identifiers for future comparison with the declared function
|
||||
}
|
||||
;
|
||||
|
||||
type_name_list
|
||||
: TYPE_NAME {
|
||||
// TODO: 4.0 functionality: subroutine type to list
|
||||
: IDENTIFIER {
|
||||
// TODO
|
||||
}
|
||||
| type_name_list COMMA TYPE_NAME {
|
||||
| type_name_list COMMA IDENTIFIER {
|
||||
// TODO: 4.0 semantics: subroutines
|
||||
// 1) make sure each identifier is a type declared earlier with SUBROUTINE
|
||||
// 2) save all of the identifiers for future comparison with the declared function
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue