Web: Remove unnecessary GLSL numeric types, and some collateral.
This saves another 40K of x86 binary, which is about 13% of the target size.
This commit is contained in:
parent
3e4b6ff76a
commit
39697cdb9d
12 changed files with 1631 additions and 1504 deletions
|
|
@ -1101,7 +1101,9 @@ single_declaration
|
|||
: fully_specified_type {
|
||||
$$.type = $1;
|
||||
$$.intermNode = 0;
|
||||
GLSLANG_WEB_EXCLUDE_ON
|
||||
parseContext.declareTypeDefaults($$.loc, $$.type);
|
||||
GLSLANG_WEB_EXCLUDE_OFF
|
||||
}
|
||||
| fully_specified_type IDENTIFIER {
|
||||
$$.type = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue