diff options
| author | Yong He <yonghe@outlook.com> | 2024-10-17 20:14:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-17 20:14:22 -0700 |
| commit | a618b8c5e249b0f20e6c0c95f9da1b5cbfdbf08b (patch) | |
| tree | d583c373d574a265fefe7f288a96c4b382e259b8 /tests/bugs | |
| parent | 11e1ecafa09396a3559fe245d729b40ce4f25d52 (diff) | |
Cleanup atomic intrinsics. (#5324)
* Cleanup atomic intrinsics.
* Fix.
* Fix glsl.
* Remove hacky intrinsic expansion logic for glsl image atomics.
* Fix all tests.
* Fix.
* Add `InterlockedAddF16Emulated`.
* Fix glsl intrinsic.
* Fix.
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-3997.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/gh-3997.slang b/tests/bugs/gh-3997.slang index 8c75da426..d42e65e39 100644 --- a/tests/bugs/gh-3997.slang +++ b/tests/bugs/gh-3997.slang @@ -10,7 +10,7 @@ float atomicAdd(__ref float value, float amount) __requirePrelude("#include <atomic>"); __intrinsic_asm "std::atomic_ref(*$0).fetch_add($1)"; case spirv: - return __atomicAdd(value, amount); + return __atomic_add(value, amount); } } |
