Add mechanism for specifying names for source strings.
authorLei Zhang <antiagainst@google.com>
Tue, 21 Jul 2015 14:23:43 +0000 (10:23 -0400)
committerLei Zhang <antiagainst@google.com>
Wed, 29 Jul 2015 13:59:04 +0000 (09:59 -0400)
commit1719fb207ac11df4ac02b379dabe811596828bed
tree1bb08154e0501872794c023b3892e4f35564762b
parentb9e5424792e2224b435a2878cd6fb95ac0eb7fc4
Add mechanism for specifying names for source strings.

Expose a new method setStringsWithLengthsAndNames() in the interface
which allows the caller to set descriptive names for source strings.
These names can be used in error messages.
glslang/MachineIndependent/Scan.h
glslang/MachineIndependent/ShaderLang.cpp
glslang/Public/ShaderLang.h