Blit images with one render pass per eye

This commit is contained in:
Patrick Nicolas
2024-03-02 16:51:05 +01:00
parent 06811201bd
commit 5cbaa76ad6
11 changed files with 535 additions and 635 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
#include "vk_allocator.h"
#include "vk_mem_alloc.h"
#include <vulkan/vulkan_raii.hpp>
#include <cstdint>
template <typename T>
struct basic_allocation_traits
@@ -177,7 +178,7 @@ public:
mapped = nullptr;
}
template <typename U>
template <typename U = uint8_t>
U * data()
{
return reinterpret_cast<U *>(map());