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

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

Closed
JMS55 opened this issue Feb 21, 2023 · 1 comment
Closed

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

JMS55 opened this issue Feb 21, 2023 · 1 comment
Labels
area: api Issues related to API surface area: ecosystem Help the connected projects grow and prosper help required We need community help to make this happen. type: enhancement New feature or request

Comments

@JMS55
Copy link
Collaborator

JMS55 commented Feb 21, 2023

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.

@teoxoy teoxoy added type: enhancement New feature or request help required We need community help to make this happen. area: api Issues related to API surface area: ecosystem Help the connected projects grow and prosper labels Feb 22, 2023
@JMS55 JMS55 mentioned this issue Feb 27, 2023
3 tasks
@JMS55 JMS55 mentioned this issue Jul 23, 2023
3 tasks
@cwfitzgerald
Copy link
Member

This is also obsoleted by #4067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface area: ecosystem Help the connected projects grow and prosper help required We need community help to make this happen. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants