The Loader/Validation-Layers repository allow the user to choose where
header files are installed. On my system I choose /usr/include
thinking it was the obvious "base" location, but it turns out the
headers end up being installed right there rather in a vulkan
subdirectory. On Debian/Ubuntu the selected installation path is
/usr/include/vulkan, so just go with that.
Hopefully other distro don't choose another path.
Note that the validation layer doesn't provide a .pc file so we have
no way of querying where the headers are installed.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109739
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
#include <stdlib.h>
#include <assert.h>
#include <stdlib.h>
#include <assert.h>
-#include <vk_loader_platform.h>
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.h>
-#include <vk_dispatch_table_helper.h>
+#include <vulkan/vk_dispatch_table_helper.h>
#include <vulkan/vk_layer.h>
#include <vulkan/vk_layer.h>
-#include "vk_layer_data.h"
+#include <vulkan/vk_layer_data.h>
+#include <vulkan/vk_layer_extension_utils.h>
+#include <vulkan/vk_loader_platform.h>
#include "vk_layer_table.h"
#include "vk_layer_table.h"
-#include "vk_layer_extension_utils.h"
*/
#include <assert.h>
#include <unordered_map>
*/
#include <assert.h>
#include <unordered_map>
-#include "vk_dispatch_table_helper.h"
-#include "vulkan/vk_layer.h"
+#include <vulkan/vk_dispatch_table_helper.h>
+#include <vulkan/vk_layer.h>
#include "vk_layer_table.h"
static device_table_map tableMap;
static instance_table_map tableInstanceMap;
#include "vk_layer_table.h"
static device_table_map tableMap;
static instance_table_map tableInstanceMap;
-#include "vulkan/vk_layer.h"
-#include "vulkan/vulkan.h"
+#include <vulkan/vk_layer.h>
+#include <vulkan/vulkan.h>
#include <unordered_map>
typedef std::unordered_map<void *, VkLayerDispatchTable *> device_table_map;
#include <unordered_map>
typedef std::unordered_map<void *, VkLayerDispatchTable *> device_table_map;