Change include paths from <vulkan/...> to just <...>

* This is inconsistent between windows and linux - on linux it's vulkan/
  but on windows the files are just in the Include folder.
* For final ship, we may well in-line the header in our own source tree
  as we do with GL, since it might even be custom-built.
This commit is contained in:
baldurk
2015-10-09 20:45:31 +02:00
parent a214e9bdec
commit 304367b028
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ MACROS=-DLINUX \
-DRENDERDOC_PLATFORM=linux \
-DRENDERDOC_EXPORTS \
-DGIT_COMMIT_HASH="\"$(COMMIT)\""
CFLAGS=-c -Wall -Werror -Wno-unused -Wno-unknown-pragmas -fPIC $(MACROS) -I../../ -I../../3rdparty/ -I$(VK_SDK_PATH)/include
CFLAGS=-c -Wall -Werror -Wno-unused -Wno-unknown-pragmas -fPIC $(MACROS) -I../../ -I../../3rdparty/ -I$(VK_SDK_PATH)/include/vulkan
CPPFLAGS=-std=c++11 -g -Wno-reorder -fvisibility=hidden -fvisibility-inlines-hidden
OBJDIR=.obj
OBJECTS=vk_dispatchtables.o \
@@ -116,8 +116,8 @@
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
<IncludePath>$(VULKAN_SDK)\Include;$(IncludePath)</IncludePath>
<LibraryPath>$(VULKAN_SDK)\Source\lib;$(LibraryPath)</LibraryPath>
<IncludePath>$(VK_SDK_PATH)\Include;$(IncludePath)</IncludePath>
<LibraryPath>$(LibraryPath)</LibraryPath>
<ExcludePath>$(ExcludePath)</ExcludePath>
<TargetName>driver_$(ProjectName)</TargetName>
</PropertyGroup>
+5 -5
View File
@@ -54,11 +54,11 @@
#include <xcb/xcb.h>
#endif
#include <vulkan/vulkan.h>
#include <vulkan/vk_debug_marker_lunarg.h>
#include <vulkan/vk_debug_report_lunarg.h>
#include <vulkan/vk_ext_khr_swapchain.h>
#include <vulkan/vk_ext_khr_device_swapchain.h>
#include <vulkan.h>
#include <vk_debug_marker_lunarg.h>
#include <vk_debug_report_lunarg.h>
#include <vk_ext_khr_swapchain.h>
#include <vk_ext_khr_device_swapchain.h>
#include "api/replay/renderdoc_replay.h"
+1 -1
View File
@@ -32,7 +32,7 @@
#undef CreateSemaphore
#endif
#include <vulkan/vk_layer.h>
#include <vk_layer.h>
void InitReplayTables();
void InitDeviceReplayTables(VkDevice device);
+1 -1
View File
@@ -35,7 +35,7 @@
#undef CreateSemaphore
#endif
#include <vulkan/vk_layer.h>
#include <vk_layer.h>
#if defined(WIN32)
+1 -1
View File
@@ -24,7 +24,7 @@
#include <string.h>
#include <stdlib.h>
#include <vulkan/vk_layer.h>
#include <vk_layer.h>
// RenderDoc Includes