Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vulkan] Fix handling of render target depth #820

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

luboslenco
Copy link
Contributor

This restores the functionality of using render targets with depth buffers in Vulkan.

Using multiple render targets is still broken, because the shared render pass is set to only 1 color attachment (and only VK_FORMAT_B8G8R8A8_UNORM format) .

https://github.com/Kode/Kinc/blob/main/Backends/Graphics5/Vulkan/Sources/kinc/backend/graphics5/vulkan.h#L54

Should more render pass combinations be created in advance or on demand?

@RobDangerous
Copy link
Member

Think I'll have to extend the API a bit, also for Metal. But please create a GitHub issue about it.

@RobDangerous RobDangerous merged commit e1340b4 into Kode:main Oct 24, 2023
19 of 20 checks passed
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