Skip to content

Commit 30c9d71

Browse files
committed
change 'in' comparator argument to 'inout'
1 parent 90eac3d commit 30c9d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/binops.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct mul
4949
template<typename T, class Comparator>
5050
struct min
5151
{
52-
T operator()(const T lhs, const T rhs, in Comparator comp)
52+
T operator()(const T lhs, const T rhs, inout Comparator comp)
5353
{
5454
return comp(lhs, rhs) ? lhs : rhs;
5555
}

0 commit comments

Comments
 (0)