mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
c02872e033
vkCmdCopyBufferToImage requires that the buffer offset be a multiple of the texel block size, which for single plane uncompressed formats is the same as the number of bytes per pixel. This commit adds an alignment parameter to vulkan_get_stage_span which ensures that the provided span (and the sequence of image copy operations derived which use it) have this alignment. |
||
---|---|---|
.. | ||
allocator | ||
gles2 | ||
pixman | ||
vulkan | ||
dmabuf.c | ||
drm_format_set.c | ||
egl.c | ||
meson.build | ||
pixel_format.c | ||
swapchain.c | ||
wlr_renderer.c | ||
wlr_texture.c |