Skip to content

Fix crash on compatibility fallback when vkCreateRenderPass2KHR is unavailable.#91169

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
DarioSamo:render_pass_2_fallback_fix
Apr 26, 2024
Merged

Fix crash on compatibility fallback when vkCreateRenderPass2KHR is unavailable.#91169
akien-mga merged 1 commit into
godotengine:masterfrom
DarioSamo:render_pass_2_fallback_fix

Conversation

@DarioSamo

Copy link
Copy Markdown
Contributor

Originally reported here.

Resolve attachments don't get their own count attribute, but they must be ignored completely if the pointer is null. The count must match exactly color attachment count only when the pointer is not null.

@clayjohn clayjohn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

This is an easy thing to validate so I trust that it works.

@Alex2782

Copy link
Copy Markdown
Member

No Crash ! on LG Nexus 5X, Adreno 418

@akien-mga akien-mga merged commit 490e636 into godotengine:master Apr 26, 2024
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

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

Projects

Development

Successfully merging this pull request may close these issues.

4 participants