Vulkan: Add initial VkPixelBuffer. #105741

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:vulkan-pixel-buffer into main 2023-03-13 19:25:30 +01:00

2 Commits

Author SHA1 Message Date
Jeroen Bakker ebae6659ad Improve assert message. 2023-03-13 19:21:34 +01:00
Jeroen Bakker 261557e936 Vulkan: Add initial VkPixelBuffer.
VK Pixel buffer is used by external render engines to allocate
buffers using the same GPU backend that Blender runs in.

In a later stage we should test what exact binding flags are
needed. I expect that it should be able to use as a transfer
buffer to copy the pixels over to a texture using transfer
commands.
2023-03-13 19:16:51 +01:00