mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-28 12:29:48 +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. |
||
---|---|---|
.. | ||
shaders | ||
meson.build | ||
pixel_format.c | ||
renderer.c | ||
texture.c | ||
util.c | ||
vulkan.c |