WIP: Vulkan: Initial Immediate Mode Support. #106954

Closed
Jeroen Bakker wants to merge 27 commits from Jeroen-Bakker:vulkan-immediate into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 25873c4963 - Show all commits

View File

@ -21,7 +21,6 @@ namespace blender::gpu {
VKCommandBuffer::~VKCommandBuffer()
{
validate_framebuffer_not_exists();
if (vk_device_ != VK_NULL_HANDLE) {
VK_ALLOCATION_CALLBACKS;
vkDestroyFence(vk_device_, vk_fence_, vk_allocation_callbacks);
@ -45,7 +44,6 @@ void VKCommandBuffer::init(const VkDevice vk_device,
fenceInfo.flags = VK_FENCE_CREATE_SIGNALED_BIT;
vkCreateFence(vk_device_, &fenceInfo, vk_allocation_callbacks, &vk_fence_);
}
validate_framebuffer_not_exists();
}
void VKCommandBuffer::begin_recording()