We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c365240 commit ec1d674Copy full SHA for ec1d674
include/nbl/builtin/hlsl/cpp_compat/promote.hlsl
@@ -12,7 +12,7 @@ namespace impl
12
{
13
14
// partial specialize this for `T=matrix<scalar_t,,>|vector<scalar_t,>` and `U=matrix<scalar_t,,>|vector<scalar_t,>|scalar_t`
15
-template<typename T, typename U>
+template<typename T, typename U NBL_STRUCT_CONSTRAINABLE>
16
struct Promote
17
18
NBL_CONSTEXPR_FUNC T operator()(NBL_CONST_REF_ARG(U) v)
0 commit comments