wlroots/render
Simon Ser 3b36b960c2 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)

(cherry picked from commit 27e057319a)
2023-01-27 13:53:19 -05:00
..
allocator render/allocator/drm_dumb: drop finish_buffer() 2022-10-01 19:45:29 +00:00
gles2 render/gles2: de-duplicate vertex shaders 2022-10-28 13:49:03 +02:00
pixman Revert "render/pixman: apply source image cropping" 2022-11-08 18:24:44 +03:00
vulkan render/vulkan: fix vkCmdClearAttachments validation error 2023-01-27 13:53:19 -05:00
dmabuf.c dmabuf: Don't leak file descriptors on error path 2022-06-06 00:50:41 -04:00
drm_format_set.c render/drm-format-set: add wlr_drm_format_set_intersect 2021-12-03 14:42:41 +00:00
egl.c render/egl: fix uninitialized pointers in init_dmabuf_formats 2022-11-16 18:06:01 +01:00
meson.build render: use internal_features to indicate EGL support 2022-06-24 07:20:42 +02:00
pixel_format.c pixel_format: RGBA4444 and RGBA5551 have alpha components 2022-09-06 18:48:41 -04:00
swapchain.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
wlr_renderer.c render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
wlr_texture.c render: replace wlr_texture_write_pixels with update_from_buffer 2022-08-12 08:41:32 +00:00