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

Support floating-point atomics #1020

Open
kvark opened this issue Nov 12, 2020 · 1 comment · May be fixed by #6234
Open

Support floating-point atomics #1020

kvark opened this issue Nov 12, 2020 · 1 comment · May be fixed by #6234
Labels
area: api Issues related to API surface help required We need community help to make this happen. type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Nov 12, 2020

Is your feature request related to a problem? Please describe.
See gfx-rs/wgpu-rs#564

I believe it is quite a fundamental component required for many compute operations.

Describe the solution you'd like
A native-only Feature corresponding to VK_EXT_shader_atomic_float Vulkan extension.
We also need to be better at validating SPIR-V capabilities.

Describe alternatives you've considered
Enabling this feature everywhere where it's available. This would be unfortunate, since it would harm portability.

Additional context
First, an investigation needs to be done to determine the platform support for this extension on different APIs.
Second, gfx-rs changes need to be done to enable it. Only then we can expose a feature here.

@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 labels Nov 12, 2020
@kvark
Copy link
Member Author

kvark commented Nov 15, 2020

For an example of how other similar feature was added, see #754 and gfx-rs/gfx#3281

AsherJingkongChen added a commit to AsherJingkongChen/wgpu that referenced this issue Sep 7, 2024
* Current supported platforms: Metal
* Platforms to support in the future: Vulkan

Related issues or PRs:

* gfx-rs#1020
AsherJingkongChen added a commit to AsherJingkongChen/wgpu that referenced this issue Sep 7, 2024
* Current supported platforms: Metal
* Platforms to support in the future: Vulkan

Related issues or PRs:

* gfx-rs#1020
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 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.

1 participant