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 9a44ce8 commit 5eb02f2Copy full SHA for 5eb02f2
include/nbl/builtin/hlsl/concepts/core.hlsl
@@ -66,13 +66,13 @@ namespace impl
66
template<typename T>
67
struct IsEmulatingFloatingPointType
68
{
69
- static const bool value = false;
+ static const bool value = nbl::hlsl::is_floating_point_v<T>;
70
};
71
}
72
73
//! Floating point types are native floating point types or types that imitate native floating point types (for example emulated_float64_t)
74
75
-NBL_BOOL_CONCEPT FloatingPointLikeScalar = (nbl::hlsl::is_floating_point_v<T> && nbl::hlsl::is_scalar_v<T>) || impl::IsEmulatingFloatingPointType<T>::value;
+NBL_BOOL_CONCEPT FloatingPointLikeScalar = impl::IsEmulatingFloatingPointType<T>::value;
76
77
78
0 commit comments