Add rendering engine

This commit is contained in:
Guillaume Meunier
2024-01-28 11:33:32 +01:00
parent 814663beae
commit 95d1020559
45 changed files with 4170 additions and 1863 deletions
+3 -2
View File
@@ -18,8 +18,9 @@
*/
#include "utils/check.h"
#include "vk.h"
#include <system_error>
#include <vulkan/vulkan.hpp>
#include <vulkan/vulkan_to_string.hpp>
namespace
{
@@ -32,7 +33,7 @@ struct : std::error_category
std::string message(int condition) const override
{
return string_VkResult(static_cast<VkResult>(condition));
return vk::to_string(static_cast<vk::Result>(condition));
}
} vulkan_error_category;
} // namespace