render/vulkan: constrain blend to output subpass to redrawn region

This commit only applies to the render pass API.
This commit is contained in:
Manuel Stoeckl 2023-08-05 13:23:58 -04:00 committed by Simon Ser
parent d180f4d9b3
commit e0adaaffb6
2 changed files with 57 additions and 4 deletions

View file

@ -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;