@@ -10,26 +10,11 @@ namespace hlsl
10
10
namespace workgroup2
11
11
{
12
12
13
- template<typename T, typename V, typename I>
13
+ template<typename T, typename V, typename I=uint32_t >
14
14
NBL_BOOL_CONCEPT ArithmeticSharedMemoryAccessor = concepts::accessors::GenericSharedMemoryAccessor<T,V,I>;
15
15
16
- #define NBL_CONCEPT_NAME ArithmeticReadOnlyDataAccessor
17
- #define NBL_CONCEPT_TPLT_PRM_KINDS (typename)(typename)
18
- #define NBL_CONCEPT_TPLT_PRM_NAMES (T)(V)
19
- #define NBL_CONCEPT_PARAM_0 (accessor, T)
20
- #define NBL_CONCEPT_PARAM_1 (index, uint32_t)
21
- #define NBL_CONCEPT_PARAM_2 (val, V)
22
- NBL_CONCEPT_BEGIN (3 )
23
- #define accessor NBL_CONCEPT_PARAM_T NBL_CONCEPT_PARAM_0
24
- #define index NBL_CONCEPT_PARAM_T NBL_CONCEPT_PARAM_1
25
- #define val NBL_CONCEPT_PARAM_T NBL_CONCEPT_PARAM_2
26
- NBL_CONCEPT_END (
27
- ((NBL_CONCEPT_REQ_EXPR_RET_TYPE)((accessor.template get<V>(index, val)), is_same_v, void ))
28
- );
29
- #undef val
30
- #undef index
31
- #undef accessor
32
- #include <nbl/builtin/hlsl/concepts/__end.hlsl>
16
+ template<typename T, typename V, typename I=uint32_t>
17
+ NBL_BOOL_CONCEPT ArithmeticReadOnlyDataAccessor = concepts::accessors::GenericReadAccessor<T,V,I>;
33
18
34
19
template<typename T, typename V, typename I=uint32_t>
35
20
NBL_BOOL_CONCEPT ArithmeticDataAccessor = concepts::accessors::GenericDataAccessor<T,V,I>;
0 commit comments