Skip to content

Commit 0984617

Browse files
committed
update examples to include tests
1 parent c035063 commit 0984617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/nbl/builtin/hlsl/sampling/quantized_sequence.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct encode_helper
4848
NBL_CONSTEXPR_STATIC_INLINE uint16_t Dim = Q::Dimension;
4949
using sequence_type = Q;
5050
using input_type = vector<F, Dim>;
51-
using uniform_storage_scalar_type = unsigned_integer_of_size_t<sizeof(F)>;
51+
using uniform_storage_scalar_type = unsigned_integer_of_size_t<sizeof(F)>;
5252
using uniform_storage_type = vector<uniform_storage_scalar_type, Dim>; // type that holds uint bit representation of a unorm that can have 1s in MSB (normalized w.r.t whole scalar)
5353
NBL_CONSTEXPR_STATIC_INLINE uint16_t Bits = FullWidth ? (8u * size_of_v<uniform_storage_scalar_type> - 1u) : sequence_type::BitsPerComponent;
5454
NBL_CONSTEXPR_STATIC_INLINE uint32_t UNormMultiplier = (1u << Bits) - 1u;

0 commit comments

Comments
 (0)