godot
godot copied to clipboard
Fix crash on compatibility fallback when vkCreateRenderPass2KHR is unavailable.
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.
No Crash ! on LG Nexus 5X, Adreno 418
Thanks!