Now have a blue screen.
This commit is contained in:
parent
7298568818
commit
8a7ef61c78
11 changed files with 527 additions and 55 deletions
29
vk_types.h
29
vk_types.h
|
|
@ -1,8 +1,31 @@
|
|||
// vulkan_guide.h : Include file for standard system include files,
|
||||
// or project specific include files.
|
||||
// or project specific include files.
|
||||
//we will add our main reusable types here
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <span>
|
||||
#include <array>
|
||||
#include <functional>
|
||||
#include <deque>
|
||||
|
||||
//we will add our main reusable types here
|
||||
#include <vulkan/vulkan.h>
|
||||
// #include <vulkan/vk_enum_string_helper.h>
|
||||
#include <vk_mem_alloc.h>
|
||||
|
||||
#include <print>
|
||||
|
||||
#include <glm/mat4x4.hpp>
|
||||
#include <glm/vec4.hpp>
|
||||
|
||||
#define VK_CHECK(x)\
|
||||
do {\
|
||||
VkResult err = x;\
|
||||
if (err) {\
|
||||
std::println("Detected Vulkan error: {}", int(err));\
|
||||
}\
|
||||
} while (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue