File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/nbl/builtin/hlsl/bda Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ struct BdaAccessor : impl::BdaAccessorBase
6666 atomicAdd (const uint64_t index, const T value)
6767 {
6868 bda::__ptr<T> target = ptr + index;
69- return glsl::atomicAdd (target.template deref ().get_ptr () , value);
69+ return glsl::atomicAdd (target.template deref ().ptr.value , value);
7070 }
7171
7272 template<typename S = T>
7373 enable_if_t<is_same_v<S,T> && is_integral<T>::value && (sizeof (T) == 4 || sizeof (T) == 8 ), T>
7474 atomicSub (const uint64_t index, const T value)
7575 {
7676 bda::__ptr<T> target = ptr + index;
77- return glsl::atomicSub (target.template deref ().get_ptr () , value);
77+ return glsl::atomicSub (target.template deref ().ptr.value , value);
7878 }
7979
8080 bda::__ptr<T> ptr;
You can’t perform that action at this time.
0 commit comments