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

[spv-in] Atomics support #4489

Open
schell opened this issue Apr 7, 2023 · 1 comment
Open

[spv-in] Atomics support #4489

schell opened this issue Apr 7, 2023 · 1 comment
Labels
area: naga front-end kind: feature New feature or request lang: SPIR-V Vulkan's Shading Language naga Shader Translator

Comments

@schell
Copy link
Contributor

schell commented Apr 7, 2023

Naga's SPIR-V frontend does not currently handle atomic operations. Using an atomic operation (in this case spirv_std::arch::atomic_i_increment in a rust-gpu shader) leads to a parse error:

UnsupportedInstruction(Function, AtomicIIncrement)

I'm treating this as the tracking issue for adding atomics to the spv frontend.

PRs:

@schell
Copy link
Contributor Author

schell commented Nov 24, 2023

I've submitted a proposal to NLNet to fund this issue. If they accept my proposal I'll likely pick this up after the holidays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga front-end kind: feature New feature or request lang: SPIR-V Vulkan's Shading Language naga Shader Translator
Projects
None yet
Development

No branches or pull requests

3 participants