Skip to content

Vulkan: multiple render targets broken #821

@luboslenco

Description

@luboslenco

Describe the bug
Rendering to multiple render targets in Vulkan is 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

To Reproduce
Build and run https://github.com/Kode/Kinc-Samples/tree/main/07_multiple_render_targets.

Additional context
#820

Last working commit - before 17e5fe9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions