wlroots-hyprland/render
Simon Ser 27e057319a render/vulkan: fix vkCmdClearAttachments validation error
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)
2022-12-03 09:30:30 +01:00
..
allocator allocator/drm_dumb: use libdrm dumb buffer helpers 2022-11-17 08:05:55 +00:00
gles2 wlr_texture: Expose owning renderer 2022-12-01 04:41:43 -05:00
pixman wlr_texture: Expose owning renderer 2022-12-01 04:41:43 -05:00
vulkan render/vulkan: fix vkCmdClearAttachments validation error 2022-12-03 09:30:30 +01:00
dmabuf.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
dmabuf_fallback.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
dmabuf_linux.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
drm_format_set.c render/drm_format_set: fill dst in wlr_drm_format_set_copy 2022-12-02 11:47:47 -05:00
egl.c render/egl: enable EGL_LOSE_CONTEXT_ON_RESET 2022-11-15 15:50:19 +00:00
meson.build render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
pixel_format.c render/pixel-format: drop unnecessary fields in the table 2022-12-02 10:28:52 +01:00
swapchain.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
wlr_renderer.c wlr_texture: Expose owning renderer 2022-12-01 04:41:43 -05:00
wlr_texture.c wlr_texture: Expose owning renderer 2022-12-01 04:41:43 -05:00