render/vulkan: fix blend subpass matrix

renderer->render_{width,height} are unused with the render pass
API.
This commit is contained in:
Simon Ser 2023-06-07 21:30:35 +02:00
parent fd9e4b860f
commit 150a88bd03
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
vkCmdNextSubpass(render_cb->vk, VK_SUBPASS_CONTENTS_INLINE);
float final_matrix[9] = {
renderer->render_width, 0, -1,
0, renderer->render_height, -1,
pass->render_buffer->wlr_buffer->width, 0, -1,
0, pass->render_buffer->wlr_buffer->height, -1,
0, 0, 0,
};
struct wlr_vk_vert_pcr_data vert_pcr_data = {