Vulkan: Copy Between Textures

This PR adds support for copying between two textures.

Pull Request: https://projects.blender.org/blender/blender/pulls/108413
This commit is contained in:
Jeroen Bakker
2023-05-30 13:50:35 +02:00
parent e0ad6f1fd8
commit 3f89ec2866
8 changed files with 110 additions and 8 deletions

View File

@@ -9,4 +9,13 @@
#define VMA_IMPLEMENTATION
/*
* Disabling internal asserts of VMA.
*
* Blender can destroy logical device before all the resources are freed. This is because static
* resources are freed as a last step during quiting. As long as Vulkan isn't feature complete
* we don't want to change this behavior. So for now we just disable the asserts.
*/
#define VMA_ASSERT(test)
#include "vk_mem_alloc.h"