Skip to content

Fix for vulkan sysgpu backend when only some attachments are cleared#1339

Open
platypro wants to merge 3 commits intohexops:mainfrom
platypro:vulkan-clear-fix
Open

Fix for vulkan sysgpu backend when only some attachments are cleared#1339
platypro wants to merge 3 commits intohexops:mainfrom
platypro:vulkan-clear-fix

Conversation

@platypro
Copy link
Contributor

Fix for issue I ran into when I tried to "load" a color attachment, but "clear" the depth attachment. I got a validation error saying that all buffers must be represented in p_clear_values/clear_value_count so the driver can just jump to find the matching attachment.

  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

Signed-off-by: Aeden McClain <dev@platypro.net>
@emidoots
Copy link
Member

emidoots commented Feb 2, 2025

Thanks for sending this, I need to check if this alters the behavior of any examples we have - not sure the underlying intention of this logic before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants