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
|
|
@ -154,6 +154,7 @@ xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test</Command>
|
|||
<ClCompile Include="glslang\MachineIndependent\glslang_tab.cpp" />
|
||||
<ClCompile Include="glslang\MachineIndependent\InfoSink.cpp" />
|
||||
<ClCompile Include="glslang\MachineIndependent\Initialize.cpp" />
|
||||
<ClCompile Include="glslang\MachineIndependent\Scan.cpp" />
|
||||
<ClCompile Include="glslang\MachineIndependent\Versions.cpp" />
|
||||
<ClCompile Include="OGLCompilersDLL\InitializeDll.cpp" />
|
||||
<ClCompile Include="glslang\MachineIndependent\IntermTraverse.cpp" />
|
||||
|
|
@ -204,6 +205,7 @@ xcopy /y $(IntDir)$(TargetName)$(TargetExt) Test</Command>
|
|||
<ClInclude Include="glslang\Include\Common.h" />
|
||||
<ClInclude Include="glslang\Include\ConstantUnion.h" />
|
||||
<ClInclude Include="glslang\Include\InfoSink.h" />
|
||||
<ClInclude Include="glslang\MachineIndependent\Scan.h" />
|
||||
<ClInclude Include="glslang\MachineIndependent\Versions.h" />
|
||||
<ClInclude Include="OGLCompilersDLL\InitializeDll.h" />
|
||||
<ClInclude Include="glslang\Include\InitializeGlobals.h" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue