Skip to content

Commit

Permalink
glslang for vulkan: Use my proper glslang fork instead of the ugly ol…
Browse files Browse the repository at this point in the history
…d SDK-glslang fork
  • Loading branch information
hrydgard committed Dec 19, 2016
1 parent 2cf3f02 commit b46bb1e
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ PPSSPPControls.dat
# Qt Linguist files
*.qm

#Android stuff
.idea
android/.idea

Logs
Memstick
memstick
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
[submodule "ext/armips"]
path = ext/armips
url = https://github.com/Kingcom/armips
[submodule "ext/ppsspp-glslang"]
[submodule "ext/glslang"]
path = ext/glslang
url = https://github.com/hrydgard/ppsspp-glslang.git
url = https://github.com/hrydgard/glslang.git
1 change: 1 addition & 0 deletions ext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ endif()

add_subdirectory(snappy)
add_subdirectory(udis86)
add_subdirectory(glslang)
2 changes: 1 addition & 1 deletion ext/glslang
31 changes: 30 additions & 1 deletion ext/glslang.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,11 @@
<ClCompile Include="glslang\glslang\MachineIndependent\Intermediate.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\intermOut.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\IntermTraverse.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\iomapper.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\limits.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\linkValidate.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\parseConst.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\ParseContextBase.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\ParseHelper.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\PoolAlloc.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\Pp.cpp" />
Expand All @@ -166,18 +168,27 @@
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpScanner.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpSymbols.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpTokens.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\propagateNoContraction.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\reflection.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\RemoveTree.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Scan.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\ShaderLang.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\SymbolTable.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Versions.cpp" />
<ClCompile Include="glslang\glslang\OSDependent\Windows\ossource.cpp" />
<ClCompile Include="glslang\hlsl\hlslAttributes.cpp" />
<ClCompile Include="glslang\hlsl\hlslGrammar.cpp" />
<ClCompile Include="glslang\hlsl\hlslOpMap.cpp" />
<ClCompile Include="glslang\hlsl\hlslParseables.cpp" />
<ClCompile Include="glslang\hlsl\hlslParseHelper.cpp" />
<ClCompile Include="glslang\hlsl\hlslScanContext.cpp" />
<ClCompile Include="glslang\hlsl\hlslTokenStream.cpp" />
<ClCompile Include="glslang\OGLCompilersDLL\InitializeDll.cpp" />
<ClCompile Include="glslang\SPIRV\disassemble.cpp" />
<ClCompile Include="glslang\SPIRV\doc.cpp" />
<ClCompile Include="glslang\SPIRV\GlslangToSpv.cpp" />
<ClCompile Include="glslang\SPIRV\InReadableOrder.cpp" />
<ClCompile Include="glslang\SPIRV\Logger.cpp" />
<ClCompile Include="glslang\SPIRV\SpvBuilder.cpp" />
<ClCompile Include="glslang\SPIRV\SPVRemapper.cpp" />
</ItemGroup>
Expand All @@ -191,27 +202,45 @@
<ClInclude Include="glslang\glslang\Include\intermediate.h" />
<ClInclude Include="glslang\glslang\Include\PoolAlloc.h" />
<ClInclude Include="glslang\glslang\Include\ResourceLimits.h" />
<ClInclude Include="glslang\glslang\Include\revision.h" />
<ClInclude Include="glslang\glslang\Include\ShHandle.h" />
<ClInclude Include="glslang\glslang\Include\Types.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\glslang_tab.cpp.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\gl_types.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\Initialize.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\iomapper.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\LiveTraverser.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\localintermediate.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\ParseHelper.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\parseVersions.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\preprocessor\PpContext.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\preprocessor\PpTokens.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\propagateNoContraction.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\reflection.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\RemoveTree.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\Scan.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\ScanContext.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\SymbolTable.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\Versions.h" />
<ClInclude Include="glslang\glslang\Public\ShaderLang.h" />
<ClInclude Include="glslang\hlsl\hlslAttributes.h" />
<ClInclude Include="glslang\hlsl\hlslGrammar.h" />
<ClInclude Include="glslang\hlsl\hlslOpMap.h" />
<ClInclude Include="glslang\hlsl\hlslParseables.h" />
<ClInclude Include="glslang\hlsl\hlslParseHelper.h" />
<ClInclude Include="glslang\hlsl\hlslScanContext.h" />
<ClInclude Include="glslang\hlsl\hlslTokens.h" />
<ClInclude Include="glslang\hlsl\hlslTokenStream.h" />
<ClInclude Include="glslang\OGLCompilersDLL\InitializeDll.h" />
<ClInclude Include="glslang\SPIRV\bitutils.h" />
<ClInclude Include="glslang\SPIRV\disassemble.h" />
<ClInclude Include="glslang\SPIRV\doc.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.AMD.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.KHR.h" />
<ClInclude Include="glslang\SPIRV\GLSL.std.450.h" />
<ClInclude Include="glslang\SPIRV\GlslangToSpv.h" />
<ClInclude Include="glslang\SPIRV\hex_float.h" />
<ClInclude Include="glslang\SPIRV\Logger.h" />
<ClInclude Include="glslang\SPIRV\spirv.hpp" />
<ClInclude Include="glslang\SPIRV\SpvBuilder.h" />
<ClInclude Include="glslang\SPIRV\spvIR.h" />
Expand All @@ -223,4 +252,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
90 changes: 90 additions & 0 deletions ext/glslang.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<Filter Include="glslang">
<UniqueIdentifier>{b58351f2-24d7-471d-b842-a8bf8f4f7e90}</UniqueIdentifier>
</Filter>
<Filter Include="HLSL">
<UniqueIdentifier>{bebc5043-a1be-442e-b458-6ee3dbd2309b}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="glslang\SPIRV\disassemble.cpp">
Expand Down Expand Up @@ -110,6 +113,39 @@
<ClCompile Include="glslang\glslang\MachineIndependent\glslang_tab.cpp">
<Filter>glslang</Filter>
</ClCompile>
<ClCompile Include="glslang\glslang\MachineIndependent\iomapper.cpp">
<Filter>glslang</Filter>
</ClCompile>
<ClCompile Include="glslang\glslang\MachineIndependent\ParseContextBase.cpp">
<Filter>glslang</Filter>
</ClCompile>
<ClCompile Include="glslang\glslang\MachineIndependent\propagateNoContraction.cpp">
<Filter>glslang</Filter>
</ClCompile>
<ClCompile Include="glslang\SPIRV\Logger.cpp">
<Filter>SPIRV</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslAttributes.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslGrammar.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslOpMap.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslParseables.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslParseHelper.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslScanContext.cpp">
<Filter>HLSL</Filter>
</ClCompile>
<ClCompile Include="glslang\hlsl\hlslTokenStream.cpp">
<Filter>HLSL</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="glslang\SPIRV\disassemble.h">
Expand Down Expand Up @@ -212,6 +248,60 @@
<ClInclude Include="glslang\glslang\MachineIndependent\glslang_tab.cpp.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\glslang\Include\revision.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\glslang\MachineIndependent\iomapper.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\glslang\MachineIndependent\LiveTraverser.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\glslang\MachineIndependent\parseVersions.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\glslang\MachineIndependent\propagateNoContraction.h">
<Filter>glslang</Filter>
</ClInclude>
<ClInclude Include="glslang\SPIRV\bitutils.h">
<Filter>SPIRV</Filter>
</ClInclude>
<ClInclude Include="glslang\SPIRV\GLSL.ext.AMD.h">
<Filter>SPIRV</Filter>
</ClInclude>
<ClInclude Include="glslang\SPIRV\GLSL.ext.KHR.h">
<Filter>SPIRV</Filter>
</ClInclude>
<ClInclude Include="glslang\SPIRV\hex_float.h">
<Filter>SPIRV</Filter>
</ClInclude>
<ClInclude Include="glslang\SPIRV\Logger.h">
<Filter>SPIRV</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslAttributes.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslGrammar.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslOpMap.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslParseables.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslParseHelper.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslScanContext.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslTokens.h">
<Filter>HLSL</Filter>
</ClInclude>
<ClInclude Include="glslang\hlsl\hlslTokenStream.h">
<Filter>HLSL</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="glslang\glslang\MachineIndependent\glslang.y">
Expand Down

0 comments on commit b46bb1e

Please sign in to comment.