diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-08-05 13:23:58 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-05 11:45:32 +0000 |
commit | e0adaaffb6b3d1e19706481ec11b36ceda48ae3a (patch) | |
tree | 2fdf724a23dfc8b1560bbfac3c0dc133e42a18a4 /include/render | |
parent | d180f4d9b3fab72ff1bad881c91b004c905299c3 (diff) |
render/vulkan: constrain blend to output subpass to redrawn region
This commit only applies to the render pass API.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <wlr/render/drm_format_set.h> #include <wlr/render/interface.h> #include <wlr/util/addon.h> +#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; |