From c7363b6165a7795d10a8989c241dcdec84d0c7d7 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Thu, 15 Jan 2026 18:58:37 +1100 Subject: Add implementation of renderdoc's vulkan layer tutorial --- src/layer.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/layer.hh (limited to 'src/layer.hh') 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 +#include + +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 -- cgit v1.2.3