mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
render/vulkan: Reference count blending buffer
This will be used to share the blending buffer in a later commit.
This commit is contained in:
parent
827ea06c44
commit
752d9f232c
3 changed files with 144 additions and 83 deletions
|
|
@ -267,7 +267,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
|
|||
.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
|
||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.image = render_buffer->plain.blend_image,
|
||||
.image = render_buffer->plain.blend_buffer->blend_image,
|
||||
.oldLayout = blend_src_layout,
|
||||
.newLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
|
||||
.srcAccessMask = VK_ACCESS_SHADER_READ_BIT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue