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
66
66
atomicAdd (const uint64_t index, const T value)
67
67
{
68
68
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);
70
70
}
71
71
72
72
template<typename S = T>
73
73
enable_if_t<is_same_v<S,T> && is_integral<T>::value && (sizeof (T) == 4 || sizeof (T) == 8 ), T>
74
74
atomicSub (const uint64_t index, const T value)
75
75
{
76
76
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);
78
78
}
79
79
80
80
bda::__ptr<T> ptr;
You can’t perform that action at this time.
0 commit comments