aboutsummaryrefslogtreecommitdiff
path: root/src/layer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/layer.hh')
-rw-r--r--src/layer.hh22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/layer.hh b/src/layer.hh
new file mode 100644
index 0000000..5633c63
--- /dev/null
+++ b/src/layer.hh
@@ -0,0 +1,22 @@
+#ifndef LAYER_HH_
+#define LAYER_HH_
+
+#include <vulkan/vk_platform.h>
+#include <vulkan/vulkan.hpp>
+
+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 \ No newline at end of file