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

Implement atomicCompareExchangeWeak #4364

Open
kvark opened this issue Sep 21, 2021 · 2 comments
Open

Implement atomicCompareExchangeWeak #4364

kvark opened this issue Sep 21, 2021 · 2 comments
Labels
area: naga back-end Outputs of naga shader conversion lang: GLSL OpenGL Shading Language lang: HLSL D3D Shading Language naga Shader Translator type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Sep 21, 2021

See gpuweb/gpuweb#2113

@kvark kvark added kind: feature area: naga back-end Outputs of naga shader conversion labels Sep 21, 2021
jimblandy referenced this issue in jimblandy/naga Sep 25, 2023
We haven't finished implementing WGSL's `atomicCompareExchangeWeak` on
all platforms (#1413). It's valuable to have some configuration of
validation that guarantees backends will succeed, and adding a
`Capabilities` bit that is included by default but can be turned off
accomplishes that.
@teoxoy
Copy link
Member

teoxoy commented Sep 25, 2023

SPIR-V support was added in gfx-rs/naga#2165.

(edited: fix PR number - jimb)

@teoxoy teoxoy added lang: Metal Metal Shading Language lang: GLSL OpenGL Shading Language lang: HLSL D3D Shading Language labels Sep 25, 2023
jimblandy referenced this issue in jimblandy/naga Sep 25, 2023
We haven't finished implementing WGSL's `atomicCompareExchangeWeak` on
all platforms (#1413). It's valuable to have some configuration of
validation that guarantees backends will succeed, and adding a
`Capabilities` bit that is included by default but can be turned off
accomplishes that.
@cwfitzgerald cwfitzgerald added the naga Shader Translator label Oct 25, 2023
@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/naga Oct 25, 2023
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Nov 3, 2023
@PWhiddy
Copy link
Contributor

PWhiddy commented Apr 1, 2024

I am very interested in this feature! Might be able to help out depending on how much work is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga back-end Outputs of naga shader conversion lang: GLSL OpenGL Shading Language lang: HLSL D3D Shading Language naga Shader Translator type: enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

4 participants