Skip to content

Suggestion: Remove VK_KHR_dynamic_rendering hard dependency #213

@vertver

Description

@vertver

Some hardware (mostly mobile GPUs) and APIs (Vulkan <1.2) require Render Pass support in one or another form. The base Vulkan's Render Pass requires colour attachment descriptor on frame buffer creation. However, VK_KHR_imageless_framebuffer allows to mitigate this issue by just pushing metadata (format, width, height) instead of full descriptor.

What I'm proposing is Vulkan-style render passes with immediate Begin/End without declarative creation of additional handles. It will be easier to manage, easier to integrate with other APIs (WebGPU works in similar manner), and also the implementation will be significantly simpler.

https://github.com/libsdl-org/SDL/blob/06bf8d1924c982c7cb750dd8eea40e4482a7c0ac/include/SDL3/SDL_gpu.h#L3285
https://github.com/webgpu-native/webgpu-headers/blob/a55c3c6d03a13efd2245f7a66440b73f1a0d8844/webgpu.h#L6108

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin progressIssue is in progressvkVK specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions