Skip to content

Commit 1ae0d58

Browse files
committed
Fix make_unsigned
1 parent 88a2228 commit 1ae0d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/type_traits.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ template<uint32_t sz> struct int_type :
514514
conditional<8==sz, int64_t, typename conditional<4==sz, int32_t, int16_t>::type>{};
515515

516516
template<uint32_t sz> struct uint_type :
517-
type_identity<unsigned typename int_type<sz>::type> {};
517+
conditional<8==sz, uint64_t, typename conditional<4==sz, uint32_t, uint16_t>::type>{};
518518
}
519519

520520
template<class T>

0 commit comments

Comments
 (0)