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 swapchain binding to compute shaders #1396

Closed
kvark opened this issue May 18, 2021 · 2 comments
Closed

Allow swapchain binding to compute shaders #1396

kvark opened this issue May 18, 2021 · 2 comments
Labels
area: wsi Issues with swapchain management or windowing help required We need community help to make this happen. type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented May 18, 2021

Is your feature request related to a problem? Please describe.
For compute-only workloads, such as piet-gpu it's ideal to just write to the swapchain directly. However, this isn't portable.

Describe the solution you'd like
A native-only feature that exposes this capability.

Describe alternatives you've considered
Forcing a copy for all of these users.

Additional context

@kvark kvark 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: performance How fast things go labels May 18, 2021
@cwfitzgerald
Copy link
Member

This is now allowed, but you can't query the supported usages from the swapchain.

@cwfitzgerald cwfitzgerald added area: wsi Issues with swapchain management or windowing and removed area: api Issues related to API surface area: performance How fast things go labels Jun 6, 2022
@cwfitzgerald
Copy link
Member

This is now queryable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: wsi Issues with swapchain management or windowing help required We need community help to make this happen. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants