Finality Engine
Loading...
Searching...
No Matches
VKCore.h
Go to the documentation of this file.
1
6#pragma once
7#include <Core/Log.h>
8#include <Vulkan/vulkan.h>
9
10#include <backends/imgui_impl_vulkan.h>
11
12#include <stdio.h>
13
14#define CHECK_VK_RESULT(res, msg) \
15 if (res != VK_SUCCESS) { \
16 FI_CORE_ERROR("On {}:{} - {}, {}", __FILE__, __LINE__, msg, static_cast<int>(res)); \
17 std::exit(EXIT_FAILURE); \
18 }