mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
27e057319a
Skip clears with an empty scissor. Fixes the following validation error: 00:00:09.734 [wlr] [render/vulkan/vulkan.c:61] Validation Error: [ VUID-vkCmdClearAttachments-rect-02682 ] Object 0: handle = 0x62600001b100, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xadbd476f | CmdClearAttachments(): pRects[0].rect.extent.width is zero. The Vulkan spec states: The rect member of each element of pRects must have an extent.width greater than 0 (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdClearAttachments-rect-02682) (VUID-vkCmdClearAttachments-rect-02682) |
||
---|---|---|
.. | ||
allocator | ||
gles2 | ||
pixman | ||
vulkan | ||
dmabuf.c | ||
dmabuf_fallback.c | ||
dmabuf_linux.c | ||
drm_format_set.c | ||
egl.c | ||
meson.build | ||
pixel_format.c | ||
swapchain.c | ||
wlr_renderer.c | ||
wlr_texture.c |