Skip to content

Commit d7bd053

Browse files
author
kevyuu
committed
Remove promote and truncate comment about specialization
1 parent c496916 commit d7bd053

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

include/nbl/builtin/hlsl/cpp_compat/promote.hlsl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ struct Promote<vector <Scalar, 4>, U>
6767

6868
}
6969

70-
// TODO(kevinyu): Should we specialize this for vector and scalar to take argument by value instead of reference?
7170
template<typename T, typename U>
7271
NBL_CONSTEXPR_FUNC T promote(NBL_CONST_REF_ARG(U) v)
7372
{

include/nbl/builtin/hlsl/cpp_compat/truncate.hlsl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ struct Truncate<vector<Scalar, 4>, vector<Scalar, N> NBL_PARTIAL_REQ_BOT(concept
6363

6464
} //namespace impl
6565

66-
// TODO(kevinyu): Should we specialize this for vector and scalar to take argument by value instead of reference?
6766
template<typename T, typename U>
6867
NBL_CONSTEXPR_FUNC T truncate(NBL_CONST_REF_ARG(U) v)
6968
{

0 commit comments

Comments
 (0)