Skip to content

render/vulkan: Fix draw rect clip region invalid in blend none mode

YongXing requested to merge chenyongxing/wlroots:vk-clip into master

wlr_render_pass_add_rect() set clip in vulkan renderer donot working.

render_pass_add_rect in WLR_RENDER_BLEND_MODE_NONE case use vkCmdClearAttachments() not vkCmdDraw(), vkCmdSetScissor() not effect ClearAttachment() rect only use VkClearRect param

Edited by YongXing

Merge request reports

Loading