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
This commit is contained in:
parent
ebf0825ec4
commit
41cf6b540b
8 changed files with 386 additions and 144 deletions
|
|
@ -109,6 +109,9 @@
|
|||
<ClCompile Include="glslang\MachineIndependent\Constant.cpp">
|
||||
<Filter>Machine Independent</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="glslang\MachineIndependent\Scan.cpp">
|
||||
<Filter>Machine Independent</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="glslang\MachineIndependent\Initialize.h">
|
||||
|
|
@ -216,6 +219,9 @@
|
|||
<ClInclude Include="glslang\MachineIndependent\Versions.h">
|
||||
<Filter>Machine Independent</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="glslang\MachineIndependent\Scan.h">
|
||||
<Filter>Machine Independent</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="glslang\MachineIndependent\glslang.y">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue