aboutsummaryrefslogtreecommitdiff
path: root/src/layer.hh
blob: 08152f215ca50a8ac9e103bb6462758da0037869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef LAYER_HH_
#define LAYER_HH_

#include <vulkan/vk_platform.h>
#include <vulkan/vulkan.hpp>

// The purpose of this file is to expose a header entry point for our layer.

extern "C" {

VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
LowLatency_GetInstanceProcAddr(VkInstance instance, const char* const pname);

VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
LowLatency_GetDeviceProcAddr(VkDevice device, const char* pName);
}

namespace low_latency {

static constexpr auto LAYER_NAME = "VK_LAYER_NJ3AHXAC_LowLatency";

}

#endif