WIP: Vulkan: Workbench #107886

Closed
Jeroen Bakker wants to merge 88 commits from Jeroen-Bakker:vulkan-draw-manager-workbench into main

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

View File

@ -402,6 +402,7 @@ void VKFrameBuffer::render_pass_create()
/* Ensure texture is allocated to ensure the image view. */
VKTexture &texture = *static_cast<VKTexture *>(unwrap(attachment.tex));
texture.ensure_allocated();
/* TODO: use image_view for attachment.mip */
image_views[attachment_location] = texture.vk_image_view_handle();
VkAttachmentDescription &attachment_description =

View File

@ -200,10 +200,6 @@ void *VKTexture::read(int mip, eGPUDataFormat format)
void VKTexture::update_sub(
int mip, int offset[3], int extent_[3], eGPUDataFormat format, const void *data)
{
if (mip != 0) {
NOT_YET_IMPLEMENTED;
return;
}
if (!is_allocated()) {
allocate();
}