vk/video: don't copy the whole buffer

This commit is contained in:
Patrick Nicolas
2026-02-19 13:43:08 +01:00
parent b4349767ce
commit 42c64a6569
2 changed files with 48 additions and 1 deletions
+1
View File
@@ -53,6 +53,7 @@ class video_encoder_vulkan : public video_encoder
vk::raii::ImageView view = nullptr;
buffer_allocation output_buffer;
buffer_allocation host_buffer;
vk::DeviceSize copy_size;
bool idr = false;
};
std::array<slot_item, num_slots> slot_data;