[Vulkan] Add Vulkan-Headers and VMA submodules
This commit is contained in:
@@ -13,6 +13,7 @@ project("xenia-gpu-null")
|
||||
"xenia-ui-vulkan",
|
||||
"xxhash",
|
||||
})
|
||||
defines({
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
local_platform_files()
|
||||
|
||||
@@ -15,7 +15,8 @@ project("xenia-gpu-vulkan")
|
||||
"xenia-ui-vulkan",
|
||||
"xxhash",
|
||||
})
|
||||
defines({
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
local_platform_files()
|
||||
files({
|
||||
@@ -58,7 +59,8 @@ project("xenia-gpu-vulkan-trace-viewer")
|
||||
"spirv-tools",
|
||||
"xxhash",
|
||||
})
|
||||
defines({
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
files({
|
||||
"vulkan_trace_viewer_main.cc",
|
||||
@@ -124,7 +126,8 @@ project("xenia-gpu-vulkan-trace-dump")
|
||||
"spirv-tools",
|
||||
"xxhash",
|
||||
})
|
||||
defines({
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
files({
|
||||
"vulkan_trace_dump_main.cc",
|
||||
|
||||
@@ -30,6 +30,9 @@ project("xenia-hid-demo")
|
||||
"xenia-ui",
|
||||
"xenia-ui-vulkan",
|
||||
})
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
files({
|
||||
"hid_demo.cc",
|
||||
"../ui/windowed_app_main_"..platform_suffix..".cc",
|
||||
|
||||
@@ -12,10 +12,8 @@ project("xenia-ui-vulkan")
|
||||
"xenia-ui",
|
||||
"xenia-ui-spirv",
|
||||
})
|
||||
defines({
|
||||
})
|
||||
includedirs({
|
||||
project_root.."/third_party/vulkan/",
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
local_platform_files()
|
||||
local_platform_files("functions")
|
||||
@@ -37,10 +35,8 @@ project("xenia-ui-window-vulkan-demo")
|
||||
"xenia-ui-spirv",
|
||||
"xenia-ui-vulkan",
|
||||
})
|
||||
defines({
|
||||
})
|
||||
includedirs({
|
||||
project_root.."/third_party/vulkan/",
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
files({
|
||||
"../window_demo.cc",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef VMA_NOT_NULL
|
||||
#define VMA_NOT_NULL
|
||||
#endif
|
||||
#include "third_party/vulkan/vk_mem_alloc.h"
|
||||
#include "third_party/VulkanMemoryAllocator/include/vk_mem_alloc.h"
|
||||
|
||||
namespace xe {
|
||||
namespace ui {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
#define VK_NO_PROTOTYPES 1
|
||||
#endif
|
||||
#include "third_party/vulkan/vulkan.h"
|
||||
#include "third_party/Vulkan-Headers/include/vulkan/vulkan.h"
|
||||
|
||||
#define XELOGVK XELOGI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user