Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/spirv-std/src/arch/atomics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ pub unsafe fn atomic_xor<I: Integer, const SCOPE: u32, const SEMANTICS: u32>(
/// accesses within Scope to the same location:
///
/// 1. Load through `ptr` to get an original value,
/// 2. Get a new value by finding the smallest signed integer of original value
/// 2. Get a new value by finding the smallest float of original value
/// and `value`, and
/// 3. Store the new value back through `ptr`.
///
Expand Down Expand Up @@ -573,7 +573,7 @@ pub unsafe fn atomic_f_min<F: Float, const SCOPE: u32, const SEMANTICS: u32>(
/// accesses within Scope to the same location:
///
/// 1. Load through `ptr` to get an original value,
/// 2. Get a new value by finding the largest signed integer of original value
/// 2. Get a new value by finding the largest float of original value
/// and `value`, and
/// 3. Store the new value back through `ptr`.
///
Expand Down Expand Up @@ -610,7 +610,7 @@ pub unsafe fn atomic_f_max<F: Float, const SCOPE: u32, const SEMANTICS: u32>(
/// accesses within `SCOPE` to the same location:
///
/// 1) load through `ptr` to get an original value,
/// 2) get a new value by integer addition of original value and `value`, and
/// 2) get a new value by float addition of original value and `value`, and
/// 3) store the new value back through `ptr`.
///
/// The result is the Original Value.
Expand Down