3rdparty: Add glslang

This commit is contained in:
Connor McLaughlin 2021-10-21 18:44:26 +10:00 committed by refractionpcsx2
parent 874e3d976f
commit 5ff67d4b2d
8 changed files with 405 additions and 0 deletions

3
.gitmodules vendored
View File

@ -24,3 +24,6 @@
[submodule "3rdparty/imgui/imgui"]
path = 3rdparty/imgui/imgui
url = https://github.com/ocornut/imgui.git
[submodule "3rdparty/glslang/glslang"]
path = 3rdparty/glslang/glslang
url = https://github.com/KhronosGroup/glslang.git

58
3rdparty/glslang/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,58 @@
add_library(glslang
glslang/glslang/CInterface/glslang_c_interface.cpp
glslang/glslang/GenericCodeGen/CodeGen.cpp
glslang/glslang/GenericCodeGen/Link.cpp
glslang/glslang/MachineIndependent/attribute.cpp
glslang/glslang/MachineIndependent/Constant.cpp
glslang/glslang/MachineIndependent/glslang_tab.cpp
glslang/glslang/MachineIndependent/InfoSink.cpp
glslang/glslang/MachineIndependent/Initialize.cpp
glslang/glslang/MachineIndependent/Intermediate.cpp
glslang/glslang/MachineIndependent/intermOut.cpp
glslang/glslang/MachineIndependent/IntermTraverse.cpp
glslang/glslang/MachineIndependent/iomapper.cpp
glslang/glslang/MachineIndependent/limits.cpp
glslang/glslang/MachineIndependent/linkValidate.cpp
glslang/glslang/MachineIndependent/parseConst.cpp
glslang/glslang/MachineIndependent/ParseContextBase.cpp
glslang/glslang/MachineIndependent/ParseHelper.cpp
glslang/glslang/MachineIndependent/PoolAlloc.cpp
glslang/glslang/MachineIndependent/preprocessor/Pp.cpp
glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp
glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp
glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp
glslang/glslang/MachineIndependent/propagateNoContraction.cpp
glslang/glslang/MachineIndependent/reflection.cpp
glslang/glslang/MachineIndependent/RemoveTree.cpp
glslang/glslang/MachineIndependent/Scan.cpp
glslang/glslang/MachineIndependent/ShaderLang.cpp
glslang/glslang/MachineIndependent/SpirvIntrinsics.cpp
glslang/glslang/MachineIndependent/SymbolTable.cpp
glslang/glslang/MachineIndependent/Versions.cpp
glslang/OGLCompilersDLL/InitializeDll.cpp
glslang/SPIRV/disassemble.cpp
glslang/SPIRV/doc.cpp
glslang/SPIRV/GlslangToSpv.cpp
glslang/SPIRV/InReadableOrder.cpp
glslang/SPIRV/Logger.cpp
glslang/SPIRV/SpvBuilder.cpp
glslang/SPIRV/SpvPostProcess.cpp
glslang/SPIRV/SPVRemapper.cpp
glslang/SPIRV/SpvTools.cpp
glslang/StandAlone/ResourceLimits.cpp
glslang/StandAlone/resource_limits_c.cpp
)
if(WIN32)
target_sources(glslang PRIVATE glslang/glslang/OSDependent/Windows/ossource.cpp)
else()
target_sources(glslang PRIVATE glslang/glslang/OSDependent/Unix/ossource.cpp)
endif()
target_include_directories(glslang PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/glslang" "${CMAKE_CURRENT_SOURCE_DIR}/include")
# Needed for macOS compile.
set_property(TARGET glslang PROPERTY CXX_STANDARD 11)
set_property(TARGET glslang PROPERTY CXX_STANDARD_REQUIRED ON)

1
3rdparty/glslang/glslang vendored Submodule

@ -0,0 +1 @@
Subproject commit c9706bdda0ac22b9856f1aa8261e5b9e15cd20c5

146
3rdparty/glslang/glslang.vcxproj vendored Normal file
View File

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(SolutionDir)common\vsprops\BaseProjectConfig.props" />
<Import Project="$(SolutionDir)common\vsprops\WinSDK.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>{EF6834A9-11F3-4331-BC34-21B325ABB180}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization Condition="$(Configuration.Contains(Release))">true</WholeProgramOptimization>
<UseDebugLibraries Condition="$(Configuration.Contains(Debug))">true</UseDebugLibraries>
<UseDebugLibraries Condition="!$(Configuration.Contains(Debug))">false</UseDebugLibraries>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="PropertySheets">
<Import Project="..\DefaultProjectRootDir.props" />
<Import Project="..\3rdparty.props" />
<Import Condition="$(Configuration.Contains(Debug))" Project="..\..\common\vsprops\CodeGen_Debug.props" />
<Import Condition="$(Configuration.Contains(Devel))" Project="..\..\common\vsprops\CodeGen_Devel.props" />
<Import Condition="$(Configuration.Contains(Release))" Project="..\..\common\vsprops\CodeGen_Release.props" />
<Import Condition="!$(Configuration.Contains(Release))" Project="..\..\common\vsprops\IncrementalLinking.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(ProjectDir)glslang;$(ProjectDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp14</LanguageStandard>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="glslang\glslang\CInterface\glslang_c_interface.cpp" />
<ClCompile Include="glslang\glslang\GenericCodeGen\CodeGen.cpp" />
<ClCompile Include="glslang\glslang\GenericCodeGen\Link.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\attribute.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Constant.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\glslang_tab.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\InfoSink.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Initialize.cpp" />
<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" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpAtom.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpContext.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpScanner.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\SpirvIntrinsics.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\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\SpvPostProcess.cpp" />
<ClCompile Include="glslang\SPIRV\SPVRemapper.cpp" />
<ClCompile Include="glslang\SPIRV\SpvTools.cpp" />
<ClCompile Include="glslang\StandAlone\ResourceLimits.cpp" />
<ClCompile Include="glslang\StandAlone\resource_limits_c.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="glslang\glslang\Include\arrays.h" />
<ClInclude Include="glslang\glslang\Include\BaseTypes.h" />
<ClInclude Include="glslang\glslang\Include\Common.h" />
<ClInclude Include="glslang\glslang\Include\ConstantUnion.h" />
<ClInclude Include="glslang\glslang\Include\glslang_c_interface.h" />
<ClInclude Include="glslang\glslang\Include\glslang_c_shader_types.h" />
<ClInclude Include="glslang\glslang\Include\InfoSink.h" />
<ClInclude Include="glslang\glslang\Include\InitializeGlobals.h" />
<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\attribute.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\OSDependent\osinclude.h" />
<ClInclude Include="glslang\glslang\Public\ShaderLang.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.EXT.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.KHR.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.NV.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\NonSemanticDebugPrintf.h" />
<ClInclude Include="glslang\SPIRV\spirv.hpp" />
<ClInclude Include="glslang\SPIRV\SpvBuilder.h" />
<ClInclude Include="glslang\SPIRV\spvIR.h" />
<ClInclude Include="glslang\SPIRV\SPVRemapper.h" />
<ClInclude Include="glslang\SPIRV\SpvTools.h" />
<ClInclude Include="glslang\StandAlone\DirStackFileIncluder.h" />
<ClInclude Include="glslang\StandAlone\ResourceLimits.h" />
<ClInclude Include="glslang\StandAlone\resource_limits_c.h" />
<ClInclude Include="glslang\StandAlone\Worklist.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

107
3rdparty/glslang/glslang.vcxproj.filters vendored Normal file
View File

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="glslang\glslang\CInterface\glslang_c_interface.cpp" />
<ClCompile Include="glslang\glslang\GenericCodeGen\Link.cpp" />
<ClCompile Include="glslang\glslang\GenericCodeGen\CodeGen.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\ParseHelper.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\PoolAlloc.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\MachineIndependent\attribute.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Constant.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\glslang_tab.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\InfoSink.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\Initialize.cpp" />
<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\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\preprocessor\PpTokens.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\Pp.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpAtom.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpContext.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\preprocessor\PpScanner.cpp" />
<ClCompile Include="glslang\glslang\OSDependent\Windows\ossource.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\SpvPostProcess.cpp" />
<ClCompile Include="glslang\SPIRV\SPVRemapper.cpp" />
<ClCompile Include="glslang\SPIRV\disassemble.cpp" />
<ClCompile Include="glslang\SPIRV\doc.cpp" />
<ClCompile Include="glslang\StandAlone\ResourceLimits.cpp" />
<ClCompile Include="glslang\StandAlone\resource_limits_c.cpp" />
<ClCompile Include="glslang\SPIRV\SpvTools.cpp" />
<ClCompile Include="glslang\OGLCompilersDLL\InitializeDll.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\SpirvIntrinsics.cpp" />
<ClCompile Include="glslang\glslang\MachineIndependent\iomapper.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="glslang\glslang\Include\glslang_c_interface.h" />
<ClInclude Include="glslang\glslang\Include\glslang_c_shader_types.h" />
<ClInclude Include="glslang\glslang\Include\InfoSink.h" />
<ClInclude Include="glslang\glslang\Include\InitializeGlobals.h" />
<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\Include\arrays.h" />
<ClInclude Include="glslang\glslang\Include\BaseTypes.h" />
<ClInclude Include="glslang\glslang\Include\Common.h" />
<ClInclude Include="glslang\glslang\Include\ConstantUnion.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\ParseHelper.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\parseVersions.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\MachineIndependent\attribute.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\gl_types.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\glslang_tab.cpp.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\preprocessor\PpTokens.h" />
<ClInclude Include="glslang\glslang\MachineIndependent\preprocessor\PpContext.h" />
<ClInclude Include="glslang\glslang\OSDependent\osinclude.h" />
<ClInclude Include="glslang\glslang\Public\ShaderLang.h" />
<ClInclude Include="glslang\SPIRV\GlslangToSpv.h" />
<ClInclude Include="glslang\SPIRV\hex_float.h" />
<ClInclude Include="glslang\SPIRV\Logger.h" />
<ClInclude Include="glslang\SPIRV\NonSemanticDebugPrintf.h" />
<ClInclude Include="glslang\SPIRV\spirv.hpp" />
<ClInclude Include="glslang\SPIRV\SpvBuilder.h" />
<ClInclude Include="glslang\SPIRV\spvIR.h" />
<ClInclude Include="glslang\SPIRV\SPVRemapper.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.EXT.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.KHR.h" />
<ClInclude Include="glslang\SPIRV\GLSL.ext.NV.h" />
<ClInclude Include="glslang\SPIRV\GLSL.std.450.h" />
<ClInclude Include="glslang\StandAlone\ResourceLimits.h" />
<ClInclude Include="glslang\StandAlone\Worklist.h" />
<ClInclude Include="glslang\StandAlone\DirStackFileIncluder.h" />
<ClInclude Include="glslang\StandAlone\resource_limits_c.h" />
<ClInclude Include="glslang\SPIRV\SpvTools.h" />
<ClInclude Include="glslang\OGLCompilersDLL\InitializeDll.h" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,62 @@
// Copyright (C) 2020 The Khronos Group Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// with the distribution.
//
// Neither the name of The Khronos Group Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
#ifndef GLSLANG_BUILD_INFO
#define GLSLANG_BUILD_INFO
#define GLSLANG_VERSION_MAJOR 11
#define GLSLANG_VERSION_MINOR 7
#define GLSLANG_VERSION_PATCH 1
#define GLSLANG_VERSION_FLAVOR ""
#define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \
(((major) > GLSLANG_VERSION_MAJOR) || ((major) == GLSLANG_VERSION_MAJOR && \
(((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
((patch) > GLSLANG_VERSION_PATCH)))))
#define GLSLANG_VERSION_GREATER_OR_EQUAL_TO(major, minor, patch) \
(((major) > GLSLANG_VERSION_MAJOR) || ((major) == GLSLANG_VERSION_MAJOR && \
(((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
((patch) >= GLSLANG_VERSION_PATCH)))))
#define GLSLANG_VERSION_LESS_THAN(major, minor, patch) \
(((major) < GLSLANG_VERSION_MAJOR) || ((major) == GLSLANG_VERSION_MAJOR && \
(((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
((patch) < GLSLANG_VERSION_PATCH)))))
#define GLSLANG_VERSION_LESS_OR_EQUAL_TO(major, minor, patch) \
(((major) < GLSLANG_VERSION_MAJOR) || ((major) == GLSLANG_VERSION_MAJOR && \
(((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
((patch) <= GLSLANG_VERSION_PATCH)))))
#endif // GLSLANG_BUILD_INFO

View File

@ -60,6 +60,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simpleini", "3rdparty\simpl
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "imgui", "3rdparty\imgui\imgui.vcxproj", "{88FB34EC-845E-4F21-A552-F1573B9ED167}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glslang", "3rdparty\glslang\glslang.vcxproj", "{EF6834A9-11F3-4331-BC34-21B325ABB180}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug AVX2|Win32 = Debug AVX2|Win32
@ -628,6 +630,30 @@ Global
{88FB34EC-845E-4F21-A552-F1573B9ED167}.Release|Win32.Build.0 = Release|Win32
{88FB34EC-845E-4F21-A552-F1573B9ED167}.Release|x64.ActiveCfg = Release|x64
{88FB34EC-845E-4F21-A552-F1573B9ED167}.Release|x64.Build.0 = Release|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug AVX2|Win32.ActiveCfg = Debug|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug AVX2|Win32.Build.0 = Debug|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug AVX2|x64.ActiveCfg = Debug|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug AVX2|x64.Build.0 = Debug|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug|Win32.ActiveCfg = Debug|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug|Win32.Build.0 = Debug|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug|x64.ActiveCfg = Debug|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Debug|x64.Build.0 = Debug|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel AVX2|Win32.ActiveCfg = Devel|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel AVX2|Win32.Build.0 = Devel|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel AVX2|x64.ActiveCfg = Devel|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel AVX2|x64.Build.0 = Devel|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel|Win32.ActiveCfg = Devel|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel|Win32.Build.0 = Devel|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel|x64.ActiveCfg = Devel|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Devel|x64.Build.0 = Devel|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release AVX2|Win32.ActiveCfg = Release|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release AVX2|Win32.Build.0 = Release|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release AVX2|x64.ActiveCfg = Release|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release AVX2|x64.Build.0 = Release|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release|Win32.ActiveCfg = Release|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release|Win32.Build.0 = Release|Win32
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release|x64.ActiveCfg = Release|x64
{EF6834A9-11F3-4331-BC34-21B325ABB180}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -654,6 +680,7 @@ Global
{BF74C473-DC04-44B3-92E8-4145F4E77342} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
{1EC8B3C0-8FB3-46DE-A2E0-A9121203F266} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
{88FB34EC-845E-4F21-A552-F1573B9ED167} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
{EF6834A9-11F3-4331-BC34-21B325ABB180} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0BC474EA-3628-45D3-9DBC-E22D0B7E0F77}

View File

@ -244,6 +244,7 @@ else()
endif()
add_subdirectory(3rdparty/glad EXCLUDE_FROM_ALL)
add_subdirectory(3rdparty/glslang EXCLUDE_FROM_ALL)
add_subdirectory(3rdparty/simpleini EXCLUDE_FROM_ALL)
add_subdirectory(3rdparty/imgui EXCLUDE_FROM_ALL)