@@ -11,7 +11,7 @@ namespace hlsl
11
11
namespace binops
12
12
{
13
13
template<typename T>
14
- struct and
14
+ struct bitwise_and
15
15
{
16
16
T operator ()(const T lhs, const T rhs)
17
17
{
@@ -20,7 +20,7 @@ struct and
20
20
};
21
21
22
22
template<typename T>
23
- struct or
23
+ struct bitwise_or
24
24
{
25
25
T operator ()(const T lhs, const T rhs)
26
26
{
@@ -29,7 +29,7 @@ struct or
29
29
};
30
30
31
31
template<typename T>
32
- struct xor
32
+ struct bitwise_xor
33
33
{
34
34
T operator ()(const T lhs, const T rhs)
35
35
{
@@ -38,7 +38,7 @@ struct xor
38
38
};
39
39
40
40
template<typename T>
41
- struct mul
41
+ struct bitwise_mul
42
42
{
43
43
T operator ()(const T lhs, const T rhs)
44
44
{
@@ -47,7 +47,7 @@ struct mul
47
47
};
48
48
49
49
template<typename T, class Comparator>
50
- struct min
50
+ struct bitwise_min
51
51
{
52
52
T operator ()(const T lhs, const T rhs, inout Comparator comp)
53
53
{
@@ -56,7 +56,7 @@ struct min
56
56
};
57
57
58
58
template<typename T>
59
- struct min
59
+ struct bitwise_min
60
60
{
61
61
T operator ()(const T lhs, const T rhs)
62
62
{
@@ -66,7 +66,7 @@ struct min
66
66
};
67
67
68
68
template<typename T, class Comparator>
69
- struct max
69
+ struct bitwise_max
70
70
{
71
71
T operator ()(const T lhs, const T rhs, in Comparator comp)
72
72
{
@@ -75,7 +75,7 @@ struct max
75
75
};
76
76
77
77
template<typename T>
78
- struct max
78
+ struct bitwise_max
79
79
{
80
80
T operator ()(const T lhs, const T rhs)
81
81
{
0 commit comments