Improve ANGLE long identifier mapping: map plain tokens instead of complete uniform/attrib identifiers

NEW
Unassigned

Status

()

Core
Canvas: WebGL
6 years ago
6 years ago

People

(Reporter: bjacob, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: webgl-next)

See:

 http://code.google.com/p/angleproject/issues/detail?id=315#c2

The idea is to redo the long identifier mapping to map plain tokens in the ANGLE parser, instead of mapping complete identifiers. That is, instead of mapping "foo[n].bar[k]" we would map just "foo" and "bar" and let getUniformLocation do the parsing of the string "foo[n].bar[k]" into tokens and map the individual tokens. That would make the long identifier mapping complete (currently it doesn't handle certain corner cases like the above ANGLE bug 315 discusses) and simpler, and use far less memory for large uniform arrays.
You need to log in before you can comment on or make changes to this bug.