DescriptionLong name mapping needs to be consistent between vertex/fragment shaders.
For example: varying variables, uniforms.
This CL makes MapLongVariableNames a ref-counted singleton and therefore, the map is shared by all shaders.
Also, function/variable names changes from Varying to Global because uniforms also need to be consistent, not just varying variables.
ANGLEBUG=279
TEST=webgl conformance tests, especially invalid-passed-params.html and glsl-long-variable-names.html
Committed: http://code.google.com/p/angleproject/source/detail?r=942
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
MessagesTotal messages: 10
|