File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
include/nbl/builtin/hlsl/bda Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -90,22 +90,6 @@ struct DoubleBdaAccessor
90
90
return target.template deref ().store (value);
91
91
}
92
92
93
- template<typename S = T>
94
- enable_if_t<is_same_v<S,T> && is_integral<T>::value && (sizeof (T) == 4 || sizeof (T) == 8 ), T>
95
- atomicAdd (const uint64_t index, const T value)
96
- {
97
- bda::__ptr<T> target = outputPtr + index;
98
- return glsl::atomicAdd (target.template deref ().get_ptr (), value);
99
- }
100
-
101
- template<typename S = T>
102
- enable_if_t<is_same_v<S,T> && is_integral<T>::value && (sizeof (T) == 4 || sizeof (T) == 8 ), T>
103
- atomicSub (const uint64_t index, const T value)
104
- {
105
- bda::__ptr<T> target = outputPtr + index;
106
- return glsl::atomicSub (target.template deref ().get_ptr (), value);
107
- }
108
-
109
93
bda::__ptr<T> inputPtr, outputPtr;
110
94
};
111
95
You can’t perform that action at this time.
0 commit comments