From 9123a0141c0e6d910f3bd33f163418fed2c2c4c9 Mon Sep 17 00:00:00 2001 From: BeastLe9enD Date: Wed, 1 Jun 2022 19:32:32 +0200 Subject: [PATCH] Remove ext suffix from float atomic functions --- crates/spirv-std/src/arch/atomic.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/spirv-std/src/arch/atomic.rs b/crates/spirv-std/src/arch/atomic.rs index 03eafafb0a..4d5bdf18a6 100644 --- a/crates/spirv-std/src/arch/atomic.rs +++ b/crates/spirv-std/src/arch/atomic.rs @@ -409,7 +409,7 @@ pub unsafe fn atomic_xor( #[spirv_std_macros::gpu_only] #[doc(alias = "OpAtomicFMinEXT")] #[inline] -pub unsafe fn atomic_f_min_ext( +pub unsafe fn atomic_f_min( ptr: &mut F, value: F, ) -> F { @@ -436,7 +436,7 @@ pub unsafe fn atomic_f_min_ext #[spirv_std_macros::gpu_only] #[doc(alias = "OpAtomicFMaxEXT")] #[inline] -pub unsafe fn atomic_f_max_ext( +pub unsafe fn atomic_f_max( ptr: &mut F, value: F, ) -> F { @@ -463,7 +463,7 @@ pub unsafe fn atomic_f_max_ext #[spirv_std_macros::gpu_only] #[doc(alias = "OpAtomicFAddEXT")] #[inline] -pub unsafe fn atomic_f_add_ext( +pub unsafe fn atomic_f_add( ptr: &mut F, value: F, ) -> F {