Skip to content

Commit e2401c6

Browse files
author
kevyuu
committed
Add template<> to signify specialization
1 parent 3294d04 commit e2401c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/nbl/builtin/hlsl/emulated/int64_t.hlsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,14 @@ constexpr inline emulated_int64_base<Signed> emulated_int64_base<Signed>::operat
370370
return leftShift(*this, bits);
371371
}
372372

373+
template<>
373374
constexpr inline emulated_uint64_t emulated_uint64_t::operator>>(uint32_t bits) const
374375
{
375376
arithmetic_right_shift_operator<emulated_uint64_t> rightShift;
376377
return rightShift(*this, bits);
377378
}
378379

380+
template<>
379381
constexpr inline emulated_int64_t emulated_int64_t::operator>>(uint32_t bits) const
380382
{
381383
arithmetic_right_shift_operator<emulated_int64_t> rightShift;

0 commit comments

Comments
 (0)