vulkan: use dynamic rendering

This vulkan 1.3 feature will make the code simpler when dealing
with off screen render targets (i.e. löve canvases)
This commit is contained in:
niki
2022-07-14 18:01:46 +02:00
parent 38f15ae97d
commit 0ae81091d1
8 changed files with 165 additions and 215 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace love {
namespace vulkan {
class Buffer : public love::graphics::Buffer, public Volatile {
public:
Buffer(VmaAllocator allocator, love::graphics::Graphics* gfx, const Settings& settings, const std::vector<DataDeclaration>& format, const void* data, size_t size, size_t arraylength);
Buffer(love::graphics::Graphics* gfx, const Settings& settings, const std::vector<DataDeclaration>& format, const void* data, size_t size, size_t arraylength);
virtual ~Buffer();
virtual bool loadVolatile() override;