aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-03 09:30:30 +0100
committerSimon Ser <contact@emersion.fr>2022-12-03 09:30:30 +0100
commit27e057319a7a0c0adc68f02d5f3b707a88cab3ad (patch)
tree0250824c7d616dd7cd090f19d245b2009c9ad582 /include/wlr/render
parentd6ff20268b707feca4d8d6ce2f6dd4ac3a6582a4 (diff)
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)
Diffstat (limited to 'include/wlr/render')
0 files changed, 0 insertions, 0 deletions