File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 2121#define NBL_CONSTEXPR_OOL_MEMBER constexpr
2222#define NBL_CONSTEXPR_INLINE_OOL_MEMBER constexpr inline
2323#define NBL_IF_CONSTEXPR (...) if constexpr (__VA_ARGS__)
24- #define NBL_ASSERT (...) assert (__VA_ARGS__)
2524
2625namespace nbl ::hlsl
2726{
@@ -58,7 +57,6 @@ namespace nbl::hlsl
5857#define NBL_CONSTEXPR_OOL_MEMBER const
5958#define NBL_CONSTEXPR_INLINE_OOL_MEMBER const
6059#define NBL_IF_CONSTEXPR (...) if (__VA_ARGS__)
61- #define NBL_ASSERT (...)
6260
6361namespace nbl
6462{
Original file line number Diff line number Diff line change @@ -362,6 +362,7 @@ struct code
362362 {
363363 this_t retVal;
364364 NBL_ASSERT ((impl::verifyAnyBitIntegralVec<I, D, Bits >(cartesian)));
365+ assert ((impl::verifyAnyBitIntegralVec<I, D, Bits >(cartesian)));
365366 using decode_t = typename transcoder_t::decode_t;
366367 retVal.value = transcoder_t::encode (_static_cast<decode_t>(cartesian));
367368 return retVal;
You can’t perform that action at this time.
0 commit comments