Merge branch 'vk-read-pixels-stage-buf' into 'master'

Draft: render/vulkan: use stage buffers for read_pixels

Closes #3525

See merge request wlroots/wlroots!3880
This commit is contained in:
Simon Ser 2023-11-29 23:44:06 +00:00
commit 6add6a5106
2 changed files with 37 additions and 90 deletions

View file

@ -273,14 +273,6 @@ struct wlr_vk_renderer {
uint64_t last_timeline_point;
struct wl_list buffers; // wlr_vk_shared_buffer.link
} stage;
struct {
bool initialized;
uint32_t drm_format;
uint32_t width, height;
VkImage dst_image;
VkDeviceMemory dst_img_memory;
} read_pixels_cache;
};
// vertex shader push constant range data