diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-01-15 18:58:37 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-01-15 18:58:37 +1100 |
| commit | c7363b6165a7795d10a8989c241dcdec84d0c7d7 (patch) | |
| tree | eedb971780a18d4f98c7fceec52e4877d4065037 /src/layer.hh | |
| parent | f6ff028f1ed0f838e2e3b767683c620160a37f49 (diff) | |
Add implementation of renderdoc's vulkan layer tutorial
Diffstat (limited to 'src/layer.hh')
| -rw-r--r-- | src/layer.hh | 22 |
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 |
