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

Missing OpCapability Int64Atomics with 64-bit atomics #6308

Open
spencer-lunarg opened this issue Feb 6, 2025 · 0 comments · May be fixed by #6314
Open

Missing OpCapability Int64Atomics with 64-bit atomics #6308

spencer-lunarg opened this issue Feb 6, 2025 · 0 comments · May be fixed by #6314
Assignees
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang

Comments

@spencer-lunarg
Copy link

https://godbolt.org/z/9ehdeovxz

groupshared Atomic<uint64_t> atomicVariable;

[shader("compute")]
[numthreads(1, 1, 1)]
void main(uint3 threadId : SV_DispatchThreadID)
{
    uint64_t value = 4ll;
    atomicVariable.store(value);
}

doesn't generate the OpCapability Int64Atomics required and fails spirv-val

@csyonghe csyonghe self-assigned this Feb 7, 2025
@csyonghe csyonghe added this to the Q1 2025 (Winter) milestone Feb 7, 2025
@csyonghe csyonghe added the goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants