KroMignon / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 1 forks source link

Optimize symbol table initialization #926

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Symbol table builtins are currently related to operators after insertion, in a 
loop that checks all entries. We can instead set them during the insertion. 
There's also opportunity to compact the symbol table initialization by using 
symbolic generic types and vector types.

Original issue reported on code.google.com by c...@chromium.org on 20 Feb 2015 at 7:11

GoogleCodeExporter commented 9 years ago
https://chromium-review.googlesource.com/251620
https://chromium-review.googlesource.com/251650
https://chromium-review.googlesource.com/251662

These patches optimize and simplify the symbol table.

Original comment by c...@chromium.org on 20 Feb 2015 at 8:47

GoogleCodeExporter commented 9 years ago
Should follow up with a patch to rename the insertBuiltIn overloads.

Original comment by c...@chromium.org on 25 Feb 2015 at 9:20

GoogleCodeExporter commented 9 years ago
Also, operator names can be deduced from operator enums using 
GetOperatorString(), but will have to use constexpr to avoid increasing 
overhead.

Original comment by c...@chromium.org on 26 Feb 2015 at 4:30

GoogleCodeExporter commented 9 years ago
Also, check whether the "gl_FragData[gl_MaxDrawBuffers]" declaration is of any 
use.

Original comment by c...@chromium.org on 2 Mar 2015 at 2:24