commit | 41cf6b540ba23450ee95d5b963db3104b20ab63d | [log] [tgz] |
---|---|---|
author | John Kessenich <cepheus@frii.com> | Tue Jun 25 18:10:05 2013 +0000 |
committer | John Kessenich <cepheus@frii.com> | Tue Jun 25 18:10:05 2013 +0000 |
tree | b4db1ec5a0cc95481fdcffca4314d006d39e7e18 | |
parent | ebf0825ec4cd51c03e15e869843dccabeac7fb20 [diff] |
Add scanner that can find '#version' across an array of non-null terminated, length-based, strings. Handle the ES error where #version is not the first thing found, while still supporting desktop behavior, and more generally support length-based multiple strings for a single shader. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22165 e7fa87d3-cd2b-0410-9028-fcbf551c1848