Skip to content

Commit 51e35cf

Browse files
author
kevyuu
committed
equal to _equal
1 parent ec1d674 commit 51e35cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/nbl/builtin/hlsl/morton.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ struct Equal<Signed, Bits, D, storage_t, true>
215215
NBL_CONSTEXPR_STATIC vector<bool, D> __call(NBL_CONST_REF_ARG(storage_t) value, NBL_CONST_REF_ARG(portable_vector_t<I, D>) rhs)
216216
{
217217
const portable_vector_t<storage_t, D> InterleaveMasks = NBL_MORTON_INTERLEAVE_MASKS(storage_t, D, Bits, );
218-
const portable_vector_t<storage_t, D> zeros = promote<portable_vector_t<storage_t, D>>(_static_cast<storage_t>(0));
218+
const portable_vector_t<storage_t, D> zeros = promote<portable_vector_t<storage_t, D> >(_static_cast<storage_t>(0));
219219

220220
const portable_vector_t<storage_t, D> rhsCasted = _static_cast<portable_vector_t<storage_t, D> >(rhs);
221221
const portable_vector_t<storage_t, D> xored = rhsCasted ^ (InterleaveMasks & value);
222-
equal_to<portable_vector_t<storage_t, D> > equal;
223-
return equal(xored, zeros);
222+
equal_to<portable_vector_t<storage_t, D> > _equal;
223+
return _equal(xored, zeros);
224224
}
225225
};
226226

0 commit comments

Comments
 (0)