Bug 262350
Summary: | [WGSL] Support for atomic functions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
Component: | WebGPU | Assignee: | Tadeu Zagallo <tzagallo> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mike Wyrzykowski
The cornell box sample https://webgpu.github.io/webgpu-samples/samples/cornell uses atomic functions:
83:2: unresolved call target 'atomicAdd'
84:2: unresolved call target 'atomicAdd'
85:2: unresolved call target 'atomicAdd'
121:25: unresolved call target 'atomicLoad'
134:6: unresolved call target 'atomicStore'
135:6: unresolved call target 'atomicStore'
136:6: unresolved call target 'atomicStore'
Atomic add can be found on page 242 of the metal specification (atomic_fetch_add_explicit)
atomic_store_explicit and atomic_load_explicit are around page 239 and 240
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116211761>
Tadeu Zagallo
Pull request: https://github.com/WebKit/WebKit/pull/18570
EWS
Committed 268832@main (ac4a3aa79eaa): <https://commits.webkit.org/268832@main>
Reviewed commits have been landed. Closing PR #18570 and removing active labels.