Temporary vertex data is now uploaded synchronously in the presentation thread with the graphics command buffer.

This commit is contained in:
2022-07-25 00:43:11 -07:00
parent 6551e6d8a6
commit d19f340d32
3 changed files with 19 additions and 2 deletions

View File

@@ -80,6 +80,7 @@ public:
void streamUpload(void* data, size_t size, Vector2i dimensions, VkImage destination);
void streamEnd();
void graphicsUpload(KRDataBlock& data, VkBuffer destination);
void graphicsUpload(void* data, size_t size, VkBuffer destination);
VkPhysicalDevice m_device;