Skip to content

Allow hooking into command buffers on a backend-specific basis #3517

Closed
@JMS55

Description

@JMS55

Is your feature request related to a problem? Please describe.
I'm trying to hook into FidelityFX Super Resolution 2, a Vulkan/DirectX12 library. This library handles all the dispatches, but requires that we pass it a VkCommandBuffer.

Describe the solution you'd like
Add a method to get a backend-specific VkCommandBuffer (for Vulkan, or the equivalent for DirectX12) from a &mut wgpu::CommandEncoder. I believe this is not exactly straightforward, as it seems like wgpu's CommandEncoder wraps many command buffers or something.

The user should also be able to set a debug label that will show up in debuggers like RenderDoc for subsequent commands issued on the command buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apiIssues related to API surfacearea: ecosystemHelp the connected projects grow and prosperhelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions