diff options
author | Jason Ekstrand <[email protected]> | 2016-10-21 23:19:44 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-16 10:32:20 -0800 |
commit | e50bf059b01499a54d2ff7bd4624e39e0fee9098 (patch) | |
tree | e3b35a8901a647c80a85dc2f88b5b14a741626e5 /src/mesa | |
parent | 633677194f1d33f0dfbdfdfb7ac5b4f1b4dffdcb (diff) |
anv/blorp: Handle VK_ATTACHMENT_UNUSED in CmdClearAttachments
From the Vulkan 1.0.29 spec for vkCmdClearAttachments:
"If the subpass’s depth/stencil attachment is VK_ATTACHMENT_UNUSED,
then the clear has no effect."
and
"If colorAttachment is VK_ATTACHMENT_UNUSED then the clear has no
effect."
I have no idea why it's spec'd this way; it seems very anti-Vulkan to me,
but that's what it says and it's really not much work to support.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions