Skip to content

Commit 67472ba

Browse files
committed
Remove unrelated prefix from add, mul, max and min ops
1 parent cb52f01 commit 67472ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/nbl/builtin/hlsl/binops.hlsl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// For conditions of distribution and use, see copyright notice in nabla.h
44
#ifndef _NBL_BUILTIN_HLSL_BINOPS_INCLUDED_
55
#define _NBL_BUILTIN_HLSL_BINOPS_INCLUDED_
6-
// TODO (PentaKon): Should we move isNPoT from algorithm.hlsl to this file ?
6+
77
namespace nbl
88
{
99
namespace hlsl
@@ -38,7 +38,7 @@ struct bitwise_xor
3838
};
3939

4040
template<typename T>
41-
struct bitwise_add
41+
struct add
4242
{
4343
T operator()(const T lhs, const T rhs)
4444
{
@@ -47,7 +47,7 @@ struct bitwise_add
4747
};
4848

4949
template<typename T>
50-
struct bitwise_mul
50+
struct mul
5151
{
5252
T operator()(const T lhs, const T rhs)
5353
{
@@ -56,7 +56,7 @@ struct bitwise_mul
5656
};
5757

5858
template<typename T, class Comparator>
59-
struct bitwise_min
59+
struct min
6060
{
6161
T operator()(const T lhs, const T rhs, inout Comparator comp)
6262
{
@@ -65,7 +65,7 @@ struct bitwise_min
6565
};
6666

6767
template<typename T>
68-
struct bitwise_min
68+
struct min
6969
{
7070
T operator()(const T lhs, const T rhs)
7171
{
@@ -75,7 +75,7 @@ struct bitwise_min
7575
};
7676

7777
template<typename T, class Comparator>
78-
struct bitwise_max
78+
struct max
7979
{
8080
T operator()(const T lhs, const T rhs, inout Comparator comp)
8181
{
@@ -84,7 +84,7 @@ struct bitwise_max
8484
};
8585

8686
template<typename T>
87-
struct bitwise_max
87+
struct max
8888
{
8989
T operator()(const T lhs, const T rhs)
9090
{

0 commit comments

Comments
 (0)