From e0adaaffb6b3d1e19706481ec11b36ceda48ae3a Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Sat, 5 Aug 2023 13:23:58 -0400 Subject: render/vulkan: constrain blend to output subpass to redrawn region This commit only applies to the render pass API. --- include/render/vulkan.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/render') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 9f9f7b2a..3e0c395f 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -10,6 +10,7 @@ #include #include #include +#include "util/rect_union.h" struct wlr_vk_descriptor_pool; struct wlr_vk_texture; @@ -334,6 +335,7 @@ struct wlr_vk_render_pass { struct wlr_vk_renderer *renderer; struct wlr_vk_render_buffer *render_buffer; struct wlr_vk_command_buffer *command_buffer; + struct rect_union updated_region; VkPipeline bound_pipeline; float projection[9]; bool failed; -- cgit v1.2.3