mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-02 05:54:18 +01:00
Remove vulkan-headers submodule
This commit is contained in:
parent
3767257220
commit
56d4f2d364
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -10,6 +10,3 @@
|
|||||||
path = dependencies/vcpkg
|
path = dependencies/vcpkg
|
||||||
url = https://github.com/microsoft/vcpkg
|
url = https://github.com/microsoft/vcpkg
|
||||||
shallow = true
|
shallow = true
|
||||||
[submodule "dependencies/Vulkan-Headers"]
|
|
||||||
path = dependencies/Vulkan-Headers
|
|
||||||
url = https://github.com/KhronosGroup/Vulkan-Headers
|
|
||||||
|
@ -105,7 +105,7 @@ if (UNIX AND NOT APPLE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_VULKAN)
|
if (ENABLE_VULKAN)
|
||||||
include_directories("dependencies/Vulkan-Headers/include")
|
find_package(VulkanHeaders REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_OPENGL)
|
if (ENABLE_OPENGL)
|
||||||
|
1
dependencies/Vulkan-Headers
vendored
1
dependencies/Vulkan-Headers
vendored
@ -1 +0,0 @@
|
|||||||
Subproject commit 715673702f5b18ffb8e5832e67cf731468d32ac6
|
|
@ -1,18 +1,8 @@
|
|||||||
#include "Cafe/HW/Latte/Renderer/Vulkan/RendererShaderVk.h"
|
#include "Cafe/HW/Latte/Renderer/Vulkan/RendererShaderVk.h"
|
||||||
|
|
||||||
#if __has_include(<glslang/build_info.h>)
|
|
||||||
#include <glslang/build_info.h>
|
|
||||||
#else
|
|
||||||
#define GLSLANG_VERSION_LESS_OR_EQUAL_TO (false)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glslang/Public/ShaderLang.h>
|
#include <glslang/Public/ShaderLang.h>
|
||||||
#if GLSLANG_VERSION_LESS_OR_EQUAL_TO(11, 0, 0)
|
|
||||||
#include <glslang/SPIRV/GlslangToSpv.h>
|
#include <glslang/SPIRV/GlslangToSpv.h>
|
||||||
#else
|
#include <glslang/SPIRV/GlslangToSpv.h>
|
||||||
#include <SPIRV/Logger.h>
|
|
||||||
#include <SPIRV/GlslangToSpv.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include "Cafe/HW/Latte/Renderer/Vulkan/VulkanAPI.h"
|
#include "Cafe/HW/Latte/Renderer/Vulkan/VulkanAPI.h"
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"fmt",
|
"fmt",
|
||||||
"glm",
|
"glm",
|
||||||
"glslang",
|
"glslang",
|
||||||
|
"vulkan-headers",
|
||||||
"zstd",
|
"zstd",
|
||||||
{
|
{
|
||||||
"name": "wxwidgets",
|
"name": "wxwidgets",
|
||||||
|
Loading…
Reference in New Issue
Block a user